csswg/css3-hierarchies Overview.html,1.5,1.6 Overview.src.html,1.5,1.6

Update of /sources/public/csswg/css3-hierarchies
In directory hutz:/tmp/cvs-serv25504

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Add the CSSOM interface.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-hierarchies/Overview.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Overview.html	19 Oct 2011 00:29:00 -0000	1.5
+++ Overview.html	19 Oct 2011 00:38:24 -0000	1.6
@@ -28,6 +28,11 @@
 		}
 	</style>
 
+  <style>
+	pre.idl { border:solid thin; background:#eee; color:#000; padding:0.5em }
+	pre.idl :link, pre.idl :visited { color:inherit; background:transparent }
+	</style>
+
  <body>
   <div class=head> <!--begin-logo-->
    <p><a href="http://www.w3.org/"><img alt=W3C height=48
@@ -177,24 +182,27 @@
       Selectors 4 Lexical Scanner</a>
     </ul>
 
-   <li><a href="#conformance"><span class=secno>4. </span> Conformance</a>
+   <li><a href="#cssom"><span class=secno>4. </span> CSS Object Model
+    Modifications</a>
+
+   <li><a href="#conformance"><span class=secno>5. </span> Conformance</a>
     <ul class=toc>
-     <li><a href="#conventions"><span class=secno>4.1. </span> Document
+     <li><a href="#conventions"><span class=secno>5.1. </span> Document
       Conventions</a>
 
-     <li><a href="#conformance-classes"><span class=secno>4.2. </span>
+     <li><a href="#conformance-classes"><span class=secno>5.2. </span>
       Conformance Classes</a>
 
-     <li><a href="#partial"><span class=secno>4.3. </span> Partial
+     <li><a href="#partial"><span class=secno>5.3. </span> Partial
       Implementations</a>
 
-     <li><a href="#experimental"><span class=secno>4.4. </span> Experimental
+     <li><a href="#experimental"><span class=secno>5.4. </span> Experimental
       Implementations</a>
 
-     <li><a href="#testing"><span class=secno>4.5. </span>Non-Experimental
+     <li><a href="#testing"><span class=secno>5.5. </span>Non-Experimental
       Implementations</a>
 
-     <li><a href="#cr-exit-criteria"><span class=secno>4.6. </span> CR Exit
+     <li><a href="#cr-exit-criteria"><span class=secno>5.6. </span> CR Exit
       Criteria</a>
     </ul>
 
@@ -404,9 +412,26 @@
 
   <pre>"&"              return NEST;</pre>
 
-  <h2 id=conformance><span class=secno>4. </span> Conformance</h2>
+  <h2 id=cssom><span class=secno>4. </span> CSS Object Model Modifications</h2>
 
-  <h3 id=conventions><span class=secno>4.1. </span> Document Conventions</h3>
+  <p>The following attribute is required to be added to the CSSStyleRule
+   object defined in Section 6.4.3 of <a href="#CSSOM"
+   rel=biblioentry>[CSSOM]<!--{{!CSSOM}}--></a>:
+
+  <pre class=idl>
+interface CSSStyleRule : CSSRule {
+           attribute DOMString selectorText;
+  <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.
+
+  <h2 id=conformance><span class=secno>5. </span> Conformance</h2>
+
+  <h3 id=conventions><span class=secno>5.1. </span> Document Conventions</h3>
 
   <p>Conformance requirements are expressed with a combination of descriptive
    assertions and RFC 2119 terminology. The key words “MUST”, “MUST
@@ -433,7 +458,7 @@
 
   <p class=note>Note, this is an informative note.
 
-  <h3 id=conformance-classes><span class=secno>4.2. </span> Conformance
+  <h3 id=conformance-classes><span class=secno>5.2. </span> Conformance
    Classes</h3>
 
   <p>Conformance to <var class=replaceme>CSS TEMPLATE Module</var> is defined
@@ -479,7 +504,7 @@
    feature in this module, and meet all other conformance requirements of
    style sheets as described in this module.
 
-  <h3 id=partial><span class=secno>4.3. </span> Partial Implementations</h3>
+  <h3 id=partial><span class=secno>5.3. </span> Partial Implementations</h3>
 
   <p>So that authors can exploit the forward-compatible parsing rules to
    assign fallback values, CSS renderers <strong>must</strong> treat as
@@ -493,7 +518,7 @@
    unsupported values must be), CSS requires that the entire declaration be
    ignored.
 
-  <h3 id=experimental><span class=secno>4.4. </span> Experimental
+  <h3 id=experimental><span class=secno>5.4. </span> Experimental
    Implementations</h3>
 
   <p>To avoid clashes with future CSS features, the CSS2.1 specification
@@ -507,7 +532,7 @@
    vendor-prefixed syntax for such features, including those in W3C Working
    Drafts. This avoids incompatibilities with future changes in the draft.
 
-  <h3 id=testing><span class=secno>4.5. </span>Non-Experimental
+  <h3 id=testing><span class=secno>5.5. </span>Non-Experimental
    Implementations</h3>
 
   <p>Once a specification reaches the Candidate Recommendation stage,
@@ -529,7 +554,7 @@
    href="http://lists.w3.org/Archives/Public/public-css-testsuite">public-css-testsuite@w3.org</a>
    mailing list.
 
-  <h3 id=cr-exit-criteria><span class=secno>4.6. </span> CR Exit Criteria</h3>
+  <h3 id=cr-exit-criteria><span class=secno>5.6. </span> CR Exit Criteria</h3>
 
   <p class=issue>[Change or remove the following CR exit criteria if the spec
    is not a module, but, e.g., a Note or a profile. This text was <a
@@ -606,6 +631,15 @@
     </dd>
    <!---->
 
+   <dt id=CSSOM>[CSSOM]
+
+   <dd>Anne van Kesteren. <a
+    href="http://www.w3.org/TR/2011/WD-cssom-20110712/"><cite>CSSOM.</cite></a>
+    12 July 2011. W3C Working Draft. (Work in progress.) URL: <a
+    href="http://www.w3.org/TR/2011/WD-cssom-20110712/">http://www.w3.org/TR/2011/WD-cssom-20110712/</a>
+    </dd>
+   <!---->
+
    <dt id=RFC2119>[RFC2119]
 
    <dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key
@@ -651,15 +685,15 @@
 
   <ul class=indexlist>
    <li>authoring tool, <a href="#authoring-tool"
-    title="authoring tool"><strong>4.2.</strong></a>
+    title="authoring tool"><strong>5.2.</strong></a>
 
-   <li>renderer, <a href="#renderer" title=renderer><strong>4.2.</strong></a>
+   <li>renderer, <a href="#renderer" title=renderer><strong>5.2.</strong></a>
     
 
    <li>style sheet
     <ul>
      <li>as conformance class, <a href="#style-sheet"
-      title="style sheet, as conformance class"><strong>4.2.</strong></a>
+      title="style sheet, as conformance class"><strong>5.2.</strong></a>
     </ul>
   </ul>
   <!--end-index-->

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-hierarchies/Overview.src.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Overview.src.html	19 Oct 2011 00:29:00 -0000	1.5
+++ Overview.src.html	19 Oct 2011 00:38:24 -0000	1.6
@@ -23,6 +23,10 @@
 			 color: black;
 		}
 	</style>
+	<style>
+	pre.idl { border:solid thin; background:#eee; color:#000; padding:0.5em }
+	pre.idl :link, pre.idl :visited { color:inherit; background:transparent }
+	</style>
 </head>
 
 <body><div class="head">
@@ -258,6 +262,20 @@
 
 	<pre>"&"              return NEST;</pre>
 
+<h2 id="cssom">
+CSS Object Model Modifications</h2>
+
+	<p>The following attribute is required to be added to the CSSStyleRule object defined in Section 6.4.3 of [[!CSSOM]]:</p>
+
+	<pre class='idl'>
+interface CSSStyleRule : CSSRule {
+           attribute DOMString selectorText;
+  <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>
+
 <h2 id="conformance">
 Conformance</h2>
 

Received on Wednesday, 19 October 2011 00:38:28 UTC