This is just a tracking issue for what needs doing before this is published publically:
Most of this will be about compat with google/mw repos as they're the primary users of dom5 these days. There are other consumers (incl myself) but i'd argue we shouldn't try maintain the old interfaces as there will be many unused functions google only ever made use of.
Possible gaps in parse5
I've had to create these internal functions:
isDocument
isDocumentFragment
isTemplateNode
isParentNode
isChildNode
I feel like most of these should really be part of the tree adapter interface, since thats where the others currently live (e.g. isTextNode, isElementNode, etc).
cc @fb55
also @fb55 i can't see the settings of this repo now that i moved it into parse5 org (to be able to make it public eventually). do you know if im just missing a permission? i also want to rename it to just tools i think
also would be nice to cc some people into here before it gets published (e.g. some of lit/mw teams) so maybe we need to make it public but just not publish it yet
This is just a tracking issue for what needs doing before this is published publically:
is*functions should be migrated into parse5 core (or exported if they already exist)Most of this will be about compat with google/mw repos as they're the primary users of dom5 these days. There are other consumers (incl myself) but i'd argue we shouldn't try maintain the old interfaces as there will be many unused functions google only ever made use of.
Possible gaps in parse5
I've had to create these internal functions:
isDocumentisDocumentFragmentisTemplateNodeisParentNodeisChildNodeI feel like most of these should really be part of the tree adapter interface, since thats where the others currently live (e.g.
isTextNode,isElementNode, etc).cc @fb55
also @fb55 i can't see the settings of this repo now that i moved it into parse5 org (to be able to make it public eventually). do you know if im just missing a permission? i also want to rename it to just
toolsi thinkalso would be nice to cc some people into here before it gets published (e.g. some of lit/mw teams) so maybe we need to make it public but just not publish it yet