- From: <bugzilla@jessica.w3.org>
- Date: Wed, 17 Apr 2013 03:44:10 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21693 --- Comment #2 from Takashi Sakamoto <tasak@google.com> --- Sure. I will explain what I want. So currently Blink does: (1) all style elements are sorted in document order by using compareDocumentPosition. (2) rules are picked up in (1)'s order and inserted into StyleResolver. And I'm planning to implement a scoped style tree. So if I can always rely on the above (1) and (2) (including style elements in shadow dom trees), when creating a new node and inserting the node into a scoped style tree, I can also assume that all parent nodes have been inserted into the tree. This assumption would make code simpler. So is it ok to use DOCUMENT_POSITION_FOLLOWINGS | DOCUMENT_POSITION_DISCONNECTED for a.compareDocumentPosition(c)? -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 17 April 2013 03:44:11 UTC