- From: Anne van Kesteren via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 02 Jul 2011 10:59:05 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/cssom In directory hutz:/tmp/cvs-serv18977 Modified Files: Overview.html Overview.src.html cssom-source Log Message: remove Supplemental in favor of partial; xref more Index: Overview.html =================================================================== RCS file: /sources/public/csswg/cssom/Overview.html,v retrieving revision 1.145 retrieving revision 1.146 diff -u -d -r1.145 -r1.146 --- Overview.html 2 Jul 2011 10:52:02 -0000 1.145 +++ Overview.html 2 Jul 2011 10:59:02 -0000 1.146 @@ -969,14 +969,15 @@ <h3 id="style-sheet-collections"><span class="secno">5.2 </span>Style Sheet Collections</h3> <p>Below various new concepts are defined that are associated with each - <code>Document</code> object.</p> + <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> object.</p> - <p>Each <code>Document</code> has an associated list of zero or more + <p>Each <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> has an associated list of zero or more <a href="#style-sheet" title="style sheet">style sheets</a>, named the <dfn id="document-style-sheets">document style sheets</dfn>. This is an ordered list that contains all <a href="#style-sheet" title="style sheet">style sheets</a> associated with the - <code>Document</code>, in <span>tree order</span>, with + <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code>, in + <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#tree-order">tree order</a>, with <a href="#style-sheet" title="style sheet">style sheets</a> created from HTTP <code title="http-link">Link</code> headers first, if any, in header order.</p> @@ -1149,7 +1150,7 @@ objects currently in the list.</p> <p>The - <dfn id="stylesheetlist-item" title="stylesheetlist-item"><code>item(<var title="">index</var>)</code></dfn> + <dfn title="stylesheetlist-item"><code>item(<var title="">index</var>)</code></dfn> method, when invoked, must return the <code>StyleSheet</code> object in the list given by <var title="">index</var>, or null, if <var title="">index</var> is greater than or equal to the @@ -1160,7 +1161,7 @@ <h4 id="extensions-to-the-document-interface"><span class="secno">5.2.3 </span>Extensions to the <code title="">Document</code> Interface</h4> <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=200930 (FIXED) --> - <pre class="idl">[Supplemental] interface <span>Document</span> { + <pre class="idl">partial interface <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a> { readonly attribute <a href="#stylesheetlist">StyleSheetList</a> <a href="#dom-document-stylesheets" title="dom-Document-styleSheets">styleSheets</a>; attribute DOMString? <a href="#dom-document-selectedStyleSheetSet" title="dom-Document-selectedStyleSheetSet">selectedStyleSheetSet</a>; readonly attribute DOMString? <a href="#dom-document-lastStyleSheetSet" title="dom-Document-lastStyleSheetSet">lastStyleSheetSet</a>; @@ -3061,9 +3062,9 @@ <h3 id="extensions-to-the-window-interface"><span class="secno">6.2 </span>Extensions to the <code title="">Window</code> Interface</h3> - <pre class="idl">[Supplemental] interface <span>Window</span> { - <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-window-getcomputedstyle" title="dom-Window-getComputedStyle">getComputedStyle</a>(Element <var title="">elt</var>); - <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-window-getcomputedstyle" title="dom-Window-getComputedStyle">getComputedStyle</a>(Element <var title="">elt</var>, DOMString <var title="">pseudoElt</var>); + <pre class="idl">partial interface <a class="external" href="http://www.whatwg.org/html/#window">Window</a> { + <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-window-getcomputedstyle" title="dom-Window-getComputedStyle">getComputedStyle</a>(<a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element">Element</a> <var title="">elt</var>); + <a href="#cssstyledeclaration">CSSStyleDeclaration</a> <a href="#dom-window-getcomputedstyle" title="dom-Window-getComputedStyle">getComputedStyle</a>(<a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#element">Element</a> <var title="">elt</var>, DOMString <var title="">pseudoElt</var>); };</pre> <p>The @@ -3071,9 +3072,10 @@ method must run these steps:</p> <ol> - <li><p>Let <var title="">doc</var> be the <code>Document</code> - associated with the <code>Window</code> object on which the method was - invoked.</li> + <li><p>Let <var title="">doc</var> be the + <code class="external"><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#document">Document</a></code> + associated with the <code class="external"><a href="http://www.whatwg.org/html/#window">Window</a></code> object on + which the method was invoked.</li> <li><p>Let <var title="">obj</var> be <var title="">elt</var>.</li> Index: cssom-source =================================================================== RCS file: /sources/public/csswg/cssom/cssom-source,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- cssom-source 2 Jul 2011 10:52:03 -0000 1.1 +++ cssom-source 2 Jul 2011 10:59:03 -0000 1.2 @@ -396,7 +396,7 @@ };</pre> <p>The - <dfn id="dom-medialist-mediatext" title="dom-MediaList-mediaText"><code>mediaText</code></dfn> + <dfn title="dom-MediaList-mediaText"><code>mediaText</code></dfn> attribute, on getting, must return a <span title="serialize a media query list">serialization</span> of the <span>collection of media queries</span>.</p> @@ -416,12 +416,12 @@ </ol> <p>The - <dfn id="dom-medialist-length" title="dom-MediaList-length"><code>length</code></dfn> + <dfn title="dom-MediaList-length"><code>length</code></dfn> attribute must return the number of media queries in the <span>collection of media queries</span>.</p> <p>The - <dfn id="dom-medialist-item" title="dom-MediaList-item"><code>item(<var title="">index</var>)</code></dfn> + <dfn title="dom-MediaList-item"><code>item(<var title="">index</var>)</code></dfn> method must return the media query in the <span>collection of media queries</span> given by <var title="">index</var>, or null, if <var title="">index</var> is @@ -430,7 +430,7 @@ <!-- XXX need consistency here WebIDL? list of media queries? --> <p>The - <dfn id="dom-medialist-appendmedium" title="dom-MediaList-appendmedium"><code>appendMedium(<var title="">medium</var>)</code></dfn> + <dfn title="dom-MediaList-appendmedium"><code>appendMedium(<var title="">medium</var>)</code></dfn> method must run these steps:</p> <ol> @@ -450,7 +450,7 @@ </ol> <p>The - <dfn id="dom-medialist-deletemedium" title="dom-MediaList-deletemedium"><code>deleteMedium(<var title="">medium</var>)</code></dfn> + <dfn title="dom-MediaList-deletemedium"><code>deleteMedium(<var title="">medium</var>)</code></dfn> method must run these steps:</p> <ol> @@ -806,37 +806,37 @@ };</pre> <p>The - <dfn id="dom-stylesheet-type" title="dom-StyleSheet-type"><code>type</code></dfn> + <dfn title="dom-StyleSheet-type"><code>type</code></dfn> attribute must return the <span>style sheet type</span>.</p> <p>The - <dfn id="dom-stylesheet-href" title="dom-StyleSheet-href"><code>href</code></dfn> + <dfn title="dom-StyleSheet-href"><code>href</code></dfn> attribute must return the <span>style sheet location</span>.</p> <p>The - <dfn id="dom-stylesheet-ownernode" title="dom-StyleSheet-ownerNode"><code>ownerNode</code></dfn> + <dfn title="dom-StyleSheet-ownerNode"><code>ownerNode</code></dfn> attribute must return the <span>style sheet owner node</span>.</p> <p>The - <dfn id="dom-stylesheet-parentstylesheet" title="dom-StyleSheet-parentStyleSheet"><code>parentStyleSheet</code></dfn> + <dfn title="dom-StyleSheet-parentStyleSheet"><code>parentStyleSheet</code></dfn> attribute must return the <span>style sheet parent</span>.</p> <p>The - <dfn id="dom-stylesheet-title" title="dom-StyleSheet-title"><code>title</code></dfn> + <dfn title="dom-StyleSheet-title"><code>title</code></dfn> attribute must return the <span>style sheet title</span>.</p> <p>The - <dfn id="dom-stylesheet-media" title="dom-StyleSheet-media"><code>media</code></dfn> + <dfn title="dom-StyleSheet-media"><code>media</code></dfn> attribute must return the <span>style sheet media</span>.</p> <p>The - <dfn id="dom-stylesheet-disabled" title="dom-StyleSheet-disabled"><code>disabled</code></dfn> + <dfn title="dom-StyleSheet-disabled"><code>disabled</code></dfn> attribute must, on getting, return the <span>style sheet disabled flag</span>. On setting, it must set the <span>style sheet disabled flag</span> to @@ -862,12 +862,12 @@ };</pre> <p>The - <dfn id="dom-cssstylesheet-ownerrule" title="dom-CSSStyleSheet-ownerRule"><code>ownerRule</code></dfn> + <dfn title="dom-CSSStyleSheet-ownerRule"><code>ownerRule</code></dfn> attribute must return the <span>style sheet owner CSS rule</span>.</p> <p>The - <dfn id="dom-cssstylesheet-cssrules" title="dom-CSSStyleSheet-cssRules"><code>cssRules</code></dfn> + <dfn title="dom-CSSStyleSheet-cssRules"><code>cssRules</code></dfn> attribute must return a <code>CSSRuleList</code> object representing the <span>style sheet CSS rules</span>.</p> @@ -875,14 +875,14 @@ found using APIs described by this specification.</p> <p>The - <dfn id="dom-cssstylesheet-insertrule" title="dom-CSSStyleSheet-insertRule"><code>insertRule(<var title="">rule</var>, <var title="">index</var>)</code></dfn> + <dfn title="dom-CSSStyleSheet-insertRule"><code>insertRule(<var title="">rule</var>, <var title="">index</var>)</code></dfn> method must <span>insert a CSS rule</span> <var title="">rule</var> the in CSS rule list returned by <code title="dom-CSSStyleSheet-cssRules">cssRules</code> at <var title="">index</var>.</p> <p>The - <dfn id="dom-cssstylesheet-deleterule" title="dom-CSSStyleSheet-deleteRule"><code>deleteRule(<var title="">index</var>)</code></dfn> + <dfn title="dom-CSSStyleSheet-deleteRule"><code>deleteRule(<var title="">index</var>)</code></dfn> method must <span>remove a CSS rule</span> from the CSS rule list returned by <code title="dom-CSSStyleSheet-cssRules">cssRules</code> at @@ -893,14 +893,15 @@ <h3>Style Sheet Collections</h3> <p>Below various new concepts are defined that are associated with each - <code>Document</code> object.</p> + <code data-anolis-spec=domcore>Document</code> object.</p> - <p>Each <code>Document</code> has an associated list of zero or more + <p>Each <code data-anolis-spec=domcore>Document</code> has an associated list of zero or more <span title="style sheet">style sheets</span>, named the <dfn id="document-style-sheets">document style sheets</dfn>. This is an ordered list that contains all <span title="style sheet">style sheets</span> associated with the - <code>Document</code>, in <span>tree order</span>, with + <code data-anolis-spec=domcore>Document</code>, in + <span data-anolis-spec=domcore>tree order</span>, with <span title="style sheet">style sheets</span> created from HTTP <code title="http-link">Link</code> headers first, if any, in header order.</p> @@ -1073,7 +1074,7 @@ objects currently in the list.</p> <p>The - <dfn id="stylesheetlist-item" title="stylesheetlist-item"><code>item(<var title="">index</var>)</code></dfn> + <dfn title="stylesheetlist-item"><code>item(<var title="">index</var>)</code></dfn> method, when invoked, must return the <code>StyleSheet</code> object in the list given by <var title="">index</var>, or null, if <var title="">index</var> is greater than or equal to the @@ -1084,7 +1085,7 @@ <h4>Extensions to the <code title="">Document</code> Interface</h4> <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=200930 (FIXED) --> - <pre class="idl">[Supplemental] interface <span>Document</span> { + <pre class="idl">partial interface <span data-anolis-spec=domcore>Document</span> { readonly attribute <span>StyleSheetList</span> <span title="dom-Document-styleSheets">styleSheets</span>; attribute DOMString? <span title="dom-Document-selectedStyleSheetSet">selectedStyleSheetSet</span>; readonly attribute DOMString? <span title="dom-Document-lastStyleSheetSet">lastStyleSheetSet</span>; @@ -2499,9 +2500,9 @@ <h3>Extensions to the <code title="">Window</code> Interface</h3> - <pre class="idl">[Supplemental] interface <span>Window</span> { - <span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(Element <var title="">elt</var>); - <span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(Element <var title="">elt</var>, DOMString <var title="">pseudoElt</var>); + <pre class="idl">partial interface <span data-anolis-spec=html>Window</span> { + <span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(<span data-anolis-spec=domcore>Element</span> <var title="">elt</var>); + <span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(<span data-anolis-spec=domcore>Element</span> <var title="">elt</var>, DOMString <var title="">pseudoElt</var>); };</pre> <p>The @@ -2509,9 +2510,10 @@ method must run these steps:</p> <ol> - <li><p>Let <var title="">doc</var> be the <code>Document</code> - associated with the <code>Window</code> object on which the method was - invoked.</p></li> + <li><p>Let <var title="">doc</var> be the + <code data-anolis-spec=domcore>Document</code> + associated with the <code data-anolis-spec=html>Window</code> object on + which the method was invoked.</p></li> <li><p>Let <var title="">obj</var> be <var title="">elt</var>.</p></li> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/cssom/Overview.src.html,v retrieving revision 1.148 retrieving revision 1.149 diff -u -d -r1.148 -r1.149 --- Overview.src.html 2 Jul 2011 10:52:03 -0000 1.148 +++ Overview.src.html 2 Jul 2011 10:59:03 -0000 1.149 @@ -396,7 +396,7 @@ };</pre> <p>The - <dfn id="dom-medialist-mediatext" title="dom-MediaList-mediaText"><code>mediaText</code></dfn> + <dfn title="dom-MediaList-mediaText"><code>mediaText</code></dfn> attribute, on getting, must return a <span title="serialize a media query list">serialization</span> of the <span>collection of media queries</span>.</p> @@ -416,12 +416,12 @@ </ol> <p>The - <dfn id="dom-medialist-length" title="dom-MediaList-length"><code>length</code></dfn> + <dfn title="dom-MediaList-length"><code>length</code></dfn> attribute must return the number of media queries in the <span>collection of media queries</span>.</p> <p>The - <dfn id="dom-medialist-item" title="dom-MediaList-item"><code>item(<var title="">index</var>)</code></dfn> + <dfn title="dom-MediaList-item"><code>item(<var title="">index</var>)</code></dfn> method must return the media query in the <span>collection of media queries</span> given by <var title="">index</var>, or null, if <var title="">index</var> is @@ -430,7 +430,7 @@ <!-- XXX need consistency here WebIDL? list of media queries? --> <p>The - <dfn id="dom-medialist-appendmedium" title="dom-MediaList-appendmedium"><code>appendMedium(<var title="">medium</var>)</code></dfn> + <dfn title="dom-MediaList-appendmedium"><code>appendMedium(<var title="">medium</var>)</code></dfn> method must run these steps:</p> <ol> @@ -450,7 +450,7 @@ </ol> <p>The - <dfn id="dom-medialist-deletemedium" title="dom-MediaList-deletemedium"><code>deleteMedium(<var title="">medium</var>)</code></dfn> + <dfn title="dom-MediaList-deletemedium"><code>deleteMedium(<var title="">medium</var>)</code></dfn> method must run these steps:</p> <ol> @@ -806,37 +806,37 @@ };</pre> <p>The - <dfn id="dom-stylesheet-type" title="dom-StyleSheet-type"><code>type</code></dfn> + <dfn title="dom-StyleSheet-type"><code>type</code></dfn> attribute must return the <span>style sheet type</span>.</p> <p>The - <dfn id="dom-stylesheet-href" title="dom-StyleSheet-href"><code>href</code></dfn> + <dfn title="dom-StyleSheet-href"><code>href</code></dfn> attribute must return the <span>style sheet location</span>.</p> <p>The - <dfn id="dom-stylesheet-ownernode" title="dom-StyleSheet-ownerNode"><code>ownerNode</code></dfn> + <dfn title="dom-StyleSheet-ownerNode"><code>ownerNode</code></dfn> attribute must return the <span>style sheet owner node</span>.</p> <p>The - <dfn id="dom-stylesheet-parentstylesheet" title="dom-StyleSheet-parentStyleSheet"><code>parentStyleSheet</code></dfn> + <dfn title="dom-StyleSheet-parentStyleSheet"><code>parentStyleSheet</code></dfn> attribute must return the <span>style sheet parent</span>.</p> <p>The - <dfn id="dom-stylesheet-title" title="dom-StyleSheet-title"><code>title</code></dfn> + <dfn title="dom-StyleSheet-title"><code>title</code></dfn> attribute must return the <span>style sheet title</span>.</p> <p>The - <dfn id="dom-stylesheet-media" title="dom-StyleSheet-media"><code>media</code></dfn> + <dfn title="dom-StyleSheet-media"><code>media</code></dfn> attribute must return the <span>style sheet media</span>.</p> <p>The - <dfn id="dom-stylesheet-disabled" title="dom-StyleSheet-disabled"><code>disabled</code></dfn> + <dfn title="dom-StyleSheet-disabled"><code>disabled</code></dfn> attribute must, on getting, return the <span>style sheet disabled flag</span>. On setting, it must set the <span>style sheet disabled flag</span> to @@ -862,12 +862,12 @@ };</pre> <p>The - <dfn id="dom-cssstylesheet-ownerrule" title="dom-CSSStyleSheet-ownerRule"><code>ownerRule</code></dfn> + <dfn title="dom-CSSStyleSheet-ownerRule"><code>ownerRule</code></dfn> attribute must return the <span>style sheet owner CSS rule</span>.</p> <p>The - <dfn id="dom-cssstylesheet-cssrules" title="dom-CSSStyleSheet-cssRules"><code>cssRules</code></dfn> + <dfn title="dom-CSSStyleSheet-cssRules"><code>cssRules</code></dfn> attribute must return a <code>CSSRuleList</code> object representing the <span>style sheet CSS rules</span>.</p> @@ -875,14 +875,14 @@ found using APIs described by this specification.</p> <p>The - <dfn id="dom-cssstylesheet-insertrule" title="dom-CSSStyleSheet-insertRule"><code>insertRule(<var title="">rule</var>, <var title="">index</var>)</code></dfn> + <dfn title="dom-CSSStyleSheet-insertRule"><code>insertRule(<var title="">rule</var>, <var title="">index</var>)</code></dfn> method must <span>insert a CSS rule</span> <var title="">rule</var> the in CSS rule list returned by <code title="dom-CSSStyleSheet-cssRules">cssRules</code> at <var title="">index</var>.</p> <p>The - <dfn id="dom-cssstylesheet-deleterule" title="dom-CSSStyleSheet-deleteRule"><code>deleteRule(<var title="">index</var>)</code></dfn> + <dfn title="dom-CSSStyleSheet-deleteRule"><code>deleteRule(<var title="">index</var>)</code></dfn> method must <span>remove a CSS rule</span> from the CSS rule list returned by <code title="dom-CSSStyleSheet-cssRules">cssRules</code> at @@ -893,14 +893,15 @@ <h3>Style Sheet Collections</h3> <p>Below various new concepts are defined that are associated with each - <code>Document</code> object.</p> + <code data-anolis-spec=domcore>Document</code> object.</p> - <p>Each <code>Document</code> has an associated list of zero or more + <p>Each <code data-anolis-spec=domcore>Document</code> has an associated list of zero or more <span title="style sheet">style sheets</span>, named the <dfn id="document-style-sheets">document style sheets</dfn>. This is an ordered list that contains all <span title="style sheet">style sheets</span> associated with the - <code>Document</code>, in <span>tree order</span>, with + <code data-anolis-spec=domcore>Document</code>, in + <span data-anolis-spec=domcore>tree order</span>, with <span title="style sheet">style sheets</span> created from HTTP <code title="http-link">Link</code> headers first, if any, in header order.</p> @@ -1073,7 +1074,7 @@ objects currently in the list.</p> <p>The - <dfn id="stylesheetlist-item" title="stylesheetlist-item"><code>item(<var title="">index</var>)</code></dfn> + <dfn title="stylesheetlist-item"><code>item(<var title="">index</var>)</code></dfn> method, when invoked, must return the <code>StyleSheet</code> object in the list given by <var title="">index</var>, or null, if <var title="">index</var> is greater than or equal to the @@ -1084,7 +1085,7 @@ <h4>Extensions to the <code title="">Document</code> Interface</h4> <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=200930 (FIXED) --> - <pre class="idl">[Supplemental] interface <span>Document</span> { + <pre class="idl">partial interface <span data-anolis-spec=domcore>Document</span> { readonly attribute <span>StyleSheetList</span> <span title="dom-Document-styleSheets">styleSheets</span>; attribute DOMString? <span title="dom-Document-selectedStyleSheetSet">selectedStyleSheetSet</span>; readonly attribute DOMString? <span title="dom-Document-lastStyleSheetSet">lastStyleSheetSet</span>; @@ -2985,9 +2986,9 @@ <h3>Extensions to the <code title="">Window</code> Interface</h3> - <pre class="idl">[Supplemental] interface <span>Window</span> { - <span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(Element <var title="">elt</var>); - <span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(Element <var title="">elt</var>, DOMString <var title="">pseudoElt</var>); + <pre class="idl">partial interface <span data-anolis-spec=html>Window</span> { + <span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(<span data-anolis-spec=domcore>Element</span> <var title="">elt</var>); + <span>CSSStyleDeclaration</span> <span title="dom-Window-getComputedStyle">getComputedStyle</span>(<span data-anolis-spec=domcore>Element</span> <var title="">elt</var>, DOMString <var title="">pseudoElt</var>); };</pre> <p>The @@ -2995,9 +2996,10 @@ method must run these steps:</p> <ol> - <li><p>Let <var title="">doc</var> be the <code>Document</code> - associated with the <code>Window</code> object on which the method was - invoked.</p></li> + <li><p>Let <var title="">doc</var> be the + <code data-anolis-spec=domcore>Document</code> + associated with the <code data-anolis-spec=html>Window</code> object on + which the method was invoked.</p></li> <li><p>Let <var title="">obj</var> be <var title="">elt</var>.</p></li>
Received on Saturday, 2 July 2011 10:59:06 UTC