[csswg-drafts] [css3-conditional] Should CSS.supports() accept properties which are only valid in certain rules? (#5929)

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

== [css3-conditional] Should CSS.supports() accept properties which are only valid in certain rules? ==
The exact case I'm looking at is `page-size` ( https://drafts.csswg.org/css-page-3/#page-size-prop ), which I'm currently implementing in Firefox, and which is only specified to be valid in `@page` rules.

It appears that `size` is also valid in style declarations in WebKit in Chrome with the same syntax, which is hit in some web-platform tests, for instance https://github.com/web-platform-tests/wpt/blob/master/css/css-conditional/js/CSS-supports-CSSStyleDeclaration.html

If a property like `size` is supported only in a specific at-rule, should it accepted by CSS.supports?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 5 February 2021 23:28:03 UTC