W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

[csswg-drafts] [css-cssom] Should there be an interface for @supports rules?

From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
Date: Sat, 31 Dec 2016 04:56:35 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-198218201-1483160194-sysbot+gh@w3.org>
bzbarsky has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-cssom] Should there be an interface for @supports rules? ==
https://drafts.csswg.org/cssom/#cssgroupingrule has no concept of 
`@supports` rules.  Maybe it should.

The way this works in Gecko is that there is a `CSSConditionRule` 
interface which inherits from `CSSGroupingRule` and has 
`.conditionText` on it.  Inheriting from this are `CSSMediaRule` and 
`CSSSupportsRule`; the latter is an empty interface for now.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/844 using your GitHub 
account
Received on Saturday, 31 December 2016 04:56:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC