W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

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

From: Anne van Kesteren via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Feb 2018 08:36:23 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-293810847-1517560582-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC