-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-display] "root element" is undefined #7786
Labels
Comments
The root of the DOM tree is the document node. The root of the 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). |
fantasai
added a commit
to fantasai/csswg-drafts
that referenced
this issue
Nov 17, 2022
fantasai
added a commit
that referenced
this issue
Dec 7, 2022
Fixed, thanks for the report! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://drafts.csswg.org/css-display/#transformations
https://drafts.csswg.org/css-display/#initial-containing-block
The term "root element" is neither hyperlinked nor explicitly defined. My skimming of the DOM spec is that, while it defines tree, root, and element, the root of a normal DOM tree would instead be the
Document
node. Nor does DOM appear to define how its definition of "root" would/could be modified by the adjective "element".Searching further, it appears to me that document element would be the correct term to use in these cases.
The text was updated successfully, but these errors were encountered: