- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 07 Feb 2012 15:50:23 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-hierarchies In directory hutz:/tmp/cvs-serv16347 Modified Files: Overview.html Overview.src.html Log Message: Add the 'expandedSelectorText' property to the CSSStyleRule interface. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-hierarchies/Overview.html,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- Overview.html 7 Feb 2012 13:32:26 -0000 1.13 +++ Overview.html 7 Feb 2012 15:50:21 -0000 1.14 @@ -405,6 +405,7 @@ <pre class=idl> interface CSSStyleRule : CSSRule { attribute DOMString selectorText; + <ins>readonly attribute expandedSelectorText;</ins> <ins>readonly attribute CSSRuleList cssRules;</ins> readonly attribute CSSStyleDeclaration style; };</pre> @@ -413,6 +414,15 @@ <code>CSSRuleList</code> object for the list of CSS rules specified within the style rule. + <p>The <code>expandedSelectorText</code> attribute must return a + <code>DOMString</code> object containing the result of replacing the + ‘<code class=css>&</code>’ selector in the + <code>selectorText</code> attribute with the + <code>expandedSelectorText</code> attribute from the parent rule. If the + rule has no parent rule, the <code>expandedSelectorText</code> attribute + must return a <code>DOMString</code> object containing the same text as + the <code>selectorText</code> attribute. + <h2 id=conformance><span class=secno>5. </span> Conformance</h2> <h3 id=conventions><span class=secno>5.1. </span> Document Conventions</h3> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-hierarchies/Overview.src.html,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- Overview.src.html 7 Feb 2012 13:32:26 -0000 1.14 +++ Overview.src.html 7 Feb 2012 15:50:21 -0000 1.15 @@ -278,12 +278,15 @@ <pre class='idl'> interface CSSStyleRule : CSSRule { attribute DOMString selectorText; + <ins>readonly attribute expandedSelectorText;</ins> <ins>readonly attribute CSSRuleList cssRules;</ins> readonly attribute CSSStyleDeclaration style; };</pre> <p>The <code>cssRules</code> attribute must return a <code>CSSRuleList</code> object for the list of CSS rules specified within the style rule.</p> + <p>The <code>expandedSelectorText</code> attribute must return a <code>DOMString</code> object containing the result of replacing the ''&'' selector in the <code>selectorText</code> attribute with the <code>expandedSelectorText</code> attribute from the parent rule. If the rule has no parent rule, the <code>expandedSelectorText</code> attribute must return a <code>DOMString</code> object containing the same text as the <code>selectorText</code> attribute.</p> + <h2 id="conformance"> Conformance</h2>
Received on Tuesday, 7 February 2012 15:52:19 UTC