aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CSSRule.webidl
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2017-01-03 11:10:12 -0800
committerManish Goregaokar <manishsmail@gmail.com>2017-01-07 23:17:52 -0800
commitb4a83b6cec77a0e27362f85542e4b588301fc0a2 (patch)
treebda97de0102baab4181a6e084ee9dcb9a8a44f36 /components/script/dom/webidls/CSSRule.webidl
parent1b0842e228d2b67d972d32e76b0d694c2888c394 (diff)
downloadservo-b4a83b6cec77a0e27362f85542e4b588301fc0a2.tar.gz
servo-b4a83b6cec77a0e27362f85542e4b588301fc0a2.zip
CSSOM bits for @supports: CSSConditionRule and CSSSupportsRule, with conditionText attribute
Diffstat (limited to 'components/script/dom/webidls/CSSRule.webidl')
-rw-r--r--components/script/dom/webidls/CSSRule.webidl4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CSSRule.webidl b/components/script/dom/webidls/CSSRule.webidl
index cda06ab1254..d36111b0cc0 100644
--- a/components/script/dom/webidls/CSSRule.webidl
+++ b/components/script/dom/webidls/CSSRule.webidl
@@ -31,3 +31,7 @@ partial interface CSSRule {
const unsigned short VIEWPORT_RULE = 15;
};
+// https://drafts.csswg.org/css-conditional-3/#extentions-to-cssrule-interface
+partial interface CSSRule {
+ const unsigned short SUPPORTS_RULE = 12;
+};