[html5] r7550 - [giow] (2) Band-aid for .sheet when removing elements from the doc. See bug 1470 [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Nov 28 16:51:33 PST 2012


Author: ianh
Date: 2012-11-28 16:51:32 -0800 (Wed, 28 Nov 2012)
New Revision: 7550

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Band-aid for .sheet when removing elements from the doc. See bug 14703 for the coming real fix.
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-11-29 00:42:58 UTC (rev 7549)
+++ complete.html	2012-11-29 00:51:32 UTC (rev 7550)
@@ -15844,8 +15844,11 @@
   <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute return
   null.</p>
 
-  <p>Otherwise, the <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute must return a
-  <code><a href=#stylesheet>StyleSheet</a></code> object with the following properties: <a href=#refsCSSOM>[CSSOM]</a></p>
+  <p>Otherwise, the <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute must return null if the corresponding element
+  is not <a href=#in-a-document>in a <code>Document</code></a>,
+  <!-- link: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1934 -->
+  <!-- style: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1935 -->
+  and otherwise must return a <code><a href=#stylesheet>StyleSheet</a></code> object with the following properties: <a href=#refsCSSOM>[CSSOM]</a></p>
 
   <dl><dt>The style sheet type</dt>
 

Modified: index
===================================================================
--- index	2012-11-29 00:42:58 UTC (rev 7549)
+++ index	2012-11-29 00:51:32 UTC (rev 7550)
@@ -15844,8 +15844,11 @@
   <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute return
   null.</p>
 
-  <p>Otherwise, the <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute must return a
-  <code><a href=#stylesheet>StyleSheet</a></code> object with the following properties: <a href=#refsCSSOM>[CSSOM]</a></p>
+  <p>Otherwise, the <code><a href=#linkstyle>LinkStyle</a></code> interface's <code title=dom-LinkStyle-sheet><a href=#dom-linkstyle-sheet>sheet</a></code> attribute must return null if the corresponding element
+  is not <a href=#in-a-document>in a <code>Document</code></a>,
+  <!-- link: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1934 -->
+  <!-- style: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1935 -->
+  and otherwise must return a <code><a href=#stylesheet>StyleSheet</a></code> object with the following properties: <a href=#refsCSSOM>[CSSOM]</a></p>
 
   <dl><dt>The style sheet type</dt>
 

Modified: source
===================================================================
--- source	2012-11-29 00:42:58 UTC (rev 7549)
+++ source	2012-11-29 00:51:32 UTC (rev 7550)
@@ -16659,8 +16659,11 @@
   null.</p>
 
   <p>Otherwise, the <code>LinkStyle</code> interface's <code
-  title="dom-LinkStyle-sheet">sheet</code> attribute must return a
-  <code>StyleSheet</code> object with the following properties: <a
+  title="dom-LinkStyle-sheet">sheet</code> attribute must return null if the corresponding element
+  is not <span>in a <code>Document</code></span>,
+  <!-- link: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1934 -->
+  <!-- style: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1935 -->
+  and otherwise must return a <code>StyleSheet</code> object with the following properties: <a
   href="#refsCSSOM">[CSSOM]</a></p>
 
   <dl>




More information about the Commit-Watchers mailing list