[csswg-drafts] [selectors-4] Data Model is incomplete

annevk has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors-4] Data Model is incomplete ==
I cannot map the DOM to the data model and then have selectors match on that new tree as asked in https://github.com/whatwg/dom/issues/542 as it would end up being incompatible with implementations.

It would be much more straightforward to just define selector matching against the DOM (also for #2259) and allow implementations to use other equivalent tree models if desired. Alternatively, you could define a more complete data model that includes allowance for shadow trees, text nodes, comment nodes, etc. so we can actually make it work properly.

cc @gsnedders

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2260 using your GitHub account

Received on Friday, 2 February 2018 08:36:25 UTC