Re: [csswg-drafts] [css-display] "root element" is undefined (#7786)

The root of the DOM tree is the document node. The root of the [element tree](https://drafts.csswg.org/css-display/#element-tree) used by CSS is the document element if the element tree is produced from a DOM, but the specs try not to assume that. See #4888 for assuming a DOM (or something isomorphic to a DOM).

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 24 September 2022 21:45:47 UTC