We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4f3a5f commit 76a155cCopy full SHA for 76a155c
css-conditional-3/Overview.bs
@@ -660,6 +660,10 @@ partial namespace CSS {
660
Note: No CSS escape or whitespace processing is performed on the property name,
661
so <code>CSS.supports(" width", "5px")</code> will return <code>false</code>,
662
as " width" isn't the name of any property due to the leading space.
663
+
664
+ Note: ''!important'' flags are not part of property grammars,
665
+ and will cause |value| to parse as invalid,
666
+ just as they would in the value argument to ''element.style.setProperty()''.
667
</div>
668
669
<dt><code>supports(CSSOMString conditionText)</code>, returns <code>boolean</code>
0 commit comments