# HG changeset patch # User L. David Baron # Date 1360276144 28800 # Node ID 7dace721dff3f80ecf05cd9f8d81b2d7a531cb27 # Parent 4bce5575a4845b716378a3322115d7d91c7c5cfa [css3-conditional] Describe requirements for conditionText getter on CSSSupportsRule. This implements the resolution in http://lists.w3.org/Archives/Public/www-style/2012Aug/0749.html to address the second point in http://lists.w3.org/Archives/Public/www-style/2013Feb/0228.html which is Issue 8 in the Last Call Disposition of Comments. It also adds a parenthetical to clarify the issue rejected in http://lists.w3.org/Archives/Public/www-style/2012Dec/0102.html diff -r 4bce5575a484 -r 7dace721dff3 css3-conditional/Overview.html --- a/css3-conditional/Overview.html Thu Feb 07 14:03:18 2013 -0800 +++ b/css3-conditional/Overview.html Thu Feb 07 14:29:04 2013 -0800 @@ -1214,6 +1214,7 @@ with the ‘@media’ rule.
conditionText of type DOMString + (CSSMediaRule-specific definition for attribute on CSSConditionRule)
The conditionText attribute (defined on the CSSConditionRule parent rule), @@ -1231,6 +1232,24 @@
interface CSSSupportsRule : CSSConditionRule {
 }
+ +
+
conditionText of type DOMString + (CSSSupportsRule-specific definition for attribute on CSSConditionRule) + +
The conditionText attribute (defined on the CSSConditionRule parent rule), + on getting, must return the condition that was specified, without any + logical simplifications, so that the returned condition will evaluate to + the same result as the specified condition in any conformant + implementation of this specification (including implementations that + implement future extensions allowed by the general_enclosed exensibility + mechanism in this specification). In other words, token stream + simplifications are allowed (such as reducing whitespace to a single + space or omitting it in cases where it is known to be optional), but + logical simplifications are not allowed. +