You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when using document.createElement("div") it creates instance of Element class where tag name equals "div".
However Linkedom has all these https://github.com/WebReflection/linkedom/tree/main/esm/html derived types defined in the library but they are not actually used when creating instances of html nodes through JS API.
The text was updated successfully, but these errors were encountered:
Havunen
changed the title
[Feature] document.createElement() API should create matching derived type of html element
[BUG] document.createElement() API should create matching derived type of html element
Nov 1, 2023
Currently when using
document.createElement("div")
it creates instance ofElement
class where tag name equals "div".However Linkedom has all these https://github.com/WebReflection/linkedom/tree/main/esm/html derived types defined in the library but they are not actually used when creating instances of html nodes through JS API.
This feature should make following code pass
The text was updated successfully, but these errors were encountered: