Re: [csswg-drafts] [css-display-3] Can't understanding element and text nodes (#4663)

The DOM spec defines [DOM elements](https://dom.spec.whatwg.org/#concept-element) and [DOM text nodes](https://dom.spec.whatwg.org/#interface-text).

The element tree then contains elements (DOM elements + tree-abiding pseudo-elements) and text nodes (DOM text nodes).

So I think this will be clear once the spec defines how the element tree is created (#1810).

> Is `Some text` a text node here?

It's a text node, but note it also includes the surrounding spaces and newlines.

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

Received on Friday, 10 January 2020 10:58:32 UTC