[csswg-drafts] [css-conditional] Make CSSSupportsRule expose whether its condition is met (#4240)

SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-conditional] Make CSSSupportsRule expose whether its condition is met ==
You currently can't tell directly from a CSSSupportsRule whether the condition is actually fulfilled or not. To do that you have to use `CSS.supports(cssSupportsRule.conditionText)`.

Therefore I suggest to add a getter to CSSSupportsRule (or rather to CSSConditionRule which is overwritten by the derived interfaces) that returns whether the condition is met or not, e.g `supported` or `fulfilled`.

Sebastian

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4240 using your GitHub account

Received on Friday, 23 August 2019 22:15:01 UTC