- From: Tab Atkins Jr. <notifications@github.com>
- Date: Fri, 14 Dec 2018 10:37:41 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 14 December 2018 18:38:03 UTC
CSS's tree needs are: 1. "tree of trees" - a DOM tree, with shadow hosts included and the shadows accessible. This is used for Selectors, as they only apply to a single tree context at a time, but need to be aware of ::slot() pseudos on shadow hosts, and the qualities of the host element and its ancestors for :host() and :host-context(). For CSS purposes, pseudo-elements are attached at this point. 2. "flat tree" - the above fully flattened, with shadows replacing light and slots filled in. This is also the "element tree" [mentioned in Display](https://drafts.csswg.org/css-display/#intro). The conversion from DOM to flat tree [is defined in Scoping](https://drafts.csswg.org/css-scoping/#flattening). 3. box tree, and fragment tree, and some other trees that are all very CSS-specific Where does this "composed tree" you mention fit in? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/725#issuecomment-447415091
Received on Friday, 14 December 2018 18:38:03 UTC