Re: [csswg-drafts] [css-display] Integrate shadow trees

Can we list all the tree definitions and the precise algorithms to generate them in a single place?

My understanding is that at least there are

 - The DOM tree
 - The flat tree, obtained from the DOM tree by taking shadow DOM into account
 - The element tree, which is like the flat tree but removing all non-text and non-element nodes, and adding tree-abiding pseudo-elements
 - The box tree, obtained from the element tree according to the kind of nodes and their display types.
 - And then boxes can be broken into fragments, so not sure if there is a fragment tree or if it's a dag or something like this.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2365#issuecomment-369986266 using your GitHub account

Received on Friday, 2 March 2018 17:10:45 UTC