- From: Chris Rebert via GitHub <sysbot+gh@w3.org>
- Date: Sat, 24 Sep 2022 04:42:30 +0000
- To: public-css-archive@w3.org
cvrebert has just created a new issue for https://github.com/w3c/csswg-drafts: == [selectors] Refer to DOM "document element" in :root's definition == https://drafts.csswg.org/selectors/#the-root-pseudo > The :root pseudo-class represents an element that is the root of the document. > > For example, in a DOM document, the `:root` pseudo-class matches the root element of the [`Document`](https://dom.spec.whatwg.org/#document) object. In HTML, this would be the [`<html>`](https://html.spec.whatwg.org/multipage/semantics.html#the-html-element) element (unless scripting has been used to modify the document). ---- Perhaps in the main definition, but at least in the DOM-specific paragraph, consider referencing DOM's [**document element**](https://dom.spec.whatwg.org/#document-element) term directly. By my reading, it's the precise term for what's colloquially referred to as the "root element". E.g. > The `:root` pseudo-class represents the document's [document element](https://dom.spec.whatwg.org/#document-element). Or > For example, in a DOM document, the `:root` pseudo-class matches the [document element](https://dom.spec.whatwg.org/#document-element). Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7787 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 04:42:33 UTC