(
/** @type {string} */ tagName,
/** @type {HtmlAttribute[]} */ attributes,
/** @type {TagPos | null} */ pos
)
| 4856 | }; |
| 4857 | |
| 4858 | const insertHtmlElement = ( |
| 4859 | /** @type {string} */ tagName, |
| 4860 | /** @type {HtmlAttribute[]} */ attributes, |
| 4861 | /** @type {TagPos | null} */ pos |
| 4862 | ) => { |
| 4863 | const el = mkEl(tagName, NS_HTML, attributes, pos); |
| 4864 | const place = appropriatePlace(); |
| 4865 | insertAtPlace(place, el); |
| 4866 | open.push(el); |
| 4867 | return el; |
| 4868 | }; |
| 4869 | |
| 4870 | const insertForeignElement = ( |
| 4871 | /** @type {string} */ tagName, |
no test coverage detected