- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Thu, 19 Sep 2024 09:26:47 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts: == [cssom-1][css-conditional-3] Should non-constructed stylesheet be attached to a document? == [`CSSMediaRule.matches`](https://drafts.csswg.org/css-conditional-3/#dom-cssmediarule-matches) must return *"true if the rule is in an stylesheet attached to a document [...]"* but non-constructed stylesheets are not attached to a document. > - [constructor document](https://drafts.csswg.org/cssom-1/#concept-css-style-sheet-constructor-document) > > Specified when created. The Document a constructed stylesheet is associated with. Null by default. Only non-null for stylesheets that have constructed flag set. What is the reason (if any) to expect `false` for `CSSMediaRule.matches` when accessed via `document.styleSheets`? Reading #4240, it seems unintentional. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10921 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 19 September 2024 09:26:48 UTC