[html5] r7960 - [giow] (1) make srcdoc docs always be in standards mode Fixing https://www.w3.or [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Jun 12 10:53:34 PDT 2013


Author: ianh
Date: 2013-06-12 10:53:33 -0700 (Wed, 12 Jun 2013)
New Revision: 7960

Modified:
   complete.html
   index
   source
Log:
[giow] (1) make srcdoc docs always be in standards mode
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=21998
Affected topics: HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2013-06-12 04:52:35 UTC (rev 7959)
+++ complete.html	2013-06-12 17:53:33 UTC (rev 7960)
@@ -88493,9 +88493,10 @@
     value of the <code title="">doctype</code> attribute of the
     <code><a href=#document>Document</a></code> object.</p>
 
-    <p id=quirks-mode-doctypes>Then, if the DOCTYPE token matches
-    one of the conditions in the following list, then set the
-    <code><a href=#document>Document</a></code> to <a href=#quirks-mode>quirks mode</a>:</p>
+    <p id=quirks-mode-doctypes>Then, if the document is <em>not</em> <a href=#an-iframe-srcdoc-document>an <code>iframe</code>
+    <code title=attr-iframe-srcdoc>srcdoc</code> document</a>, and the DOCTYPE token matches
+    one of the conditions in the following list, then set the <code><a href=#document>Document</a></code> to <a href=#quirks-mode>quirks
+    mode</a>:</p>
 
     <ul class=brief><li> The <i>force-quirks flag</i> is set to <i>on</i>. </li>
      <li> The name is set to anything other than "<code title="">html</code>" (compared <a href=#case-sensitive title=case-sensitive>case-sensitively</a>). </li>
@@ -88574,9 +88575,9 @@
      <li> The system identifier is set to: "<code title="">http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd</code>" </li>
      <li> The system identifier is missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Frameset//<!--EN--></code>" </li>
      <li> The system identifier is missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Transitional//<!--EN--></code>" </li>
-    </ul><p>Otherwise, if the DOCTYPE token matches one of the conditions
-    in the following list, then set the <code><a href=#document>Document</a></code> to
-    <a href=#limited-quirks-mode>limited-quirks mode</a>:</p>
+    </ul><p>Otherwise, if the document is <em>not</em> <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>, and the DOCTYPE token matches one of
+    the conditions in the following list, then set the <code><a href=#document>Document</a></code> to <a href=#limited-quirks-mode>limited-quirks
+    mode</a>:</p>
 
     <ul class=brief><li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Frameset//<!--EN--></code>" </li>
      <li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Transitional//<!--EN--></code>" </li>

Modified: index
===================================================================
--- index	2013-06-12 04:52:35 UTC (rev 7959)
+++ index	2013-06-12 17:53:33 UTC (rev 7960)
@@ -88493,9 +88493,10 @@
     value of the <code title="">doctype</code> attribute of the
     <code><a href=#document>Document</a></code> object.</p>
 
-    <p id=quirks-mode-doctypes>Then, if the DOCTYPE token matches
-    one of the conditions in the following list, then set the
-    <code><a href=#document>Document</a></code> to <a href=#quirks-mode>quirks mode</a>:</p>
+    <p id=quirks-mode-doctypes>Then, if the document is <em>not</em> <a href=#an-iframe-srcdoc-document>an <code>iframe</code>
+    <code title=attr-iframe-srcdoc>srcdoc</code> document</a>, and the DOCTYPE token matches
+    one of the conditions in the following list, then set the <code><a href=#document>Document</a></code> to <a href=#quirks-mode>quirks
+    mode</a>:</p>
 
     <ul class=brief><li> The <i>force-quirks flag</i> is set to <i>on</i>. </li>
      <li> The name is set to anything other than "<code title="">html</code>" (compared <a href=#case-sensitive title=case-sensitive>case-sensitively</a>). </li>
@@ -88574,9 +88575,9 @@
      <li> The system identifier is set to: "<code title="">http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd</code>" </li>
      <li> The system identifier is missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Frameset//<!--EN--></code>" </li>
      <li> The system identifier is missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Transitional//<!--EN--></code>" </li>
-    </ul><p>Otherwise, if the DOCTYPE token matches one of the conditions
-    in the following list, then set the <code><a href=#document>Document</a></code> to
-    <a href=#limited-quirks-mode>limited-quirks mode</a>:</p>
+    </ul><p>Otherwise, if the document is <em>not</em> <a href=#an-iframe-srcdoc-document>an <code>iframe</code> <code title=attr-iframe-srcdoc>srcdoc</code> document</a>, and the DOCTYPE token matches one of
+    the conditions in the following list, then set the <code><a href=#document>Document</a></code> to <a href=#limited-quirks-mode>limited-quirks
+    mode</a>:</p>
 
     <ul class=brief><li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Frameset//<!--EN--></code>" </li>
      <li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Transitional//<!--EN--></code>" </li>

Modified: source
===================================================================
--- source	2013-06-12 04:52:35 UTC (rev 7959)
+++ source	2013-06-12 17:53:33 UTC (rev 7960)
@@ -98870,9 +98870,10 @@
     value of the <code title="">doctype</code> attribute of the
     <code>Document</code> object.</p>
 
-    <p id="quirks-mode-doctypes">Then, if the DOCTYPE token matches
-    one of the conditions in the following list, then set the
-    <code>Document</code> to <span>quirks mode</span>:</p>
+    <p id="quirks-mode-doctypes">Then, if the document is <em>not</em> <span>an <code>iframe</code>
+    <code title="attr-iframe-srcdoc">srcdoc</code> document</span>, and the DOCTYPE token matches
+    one of the conditions in the following list, then set the <code>Document</code> to <span>quirks
+    mode</span>:</p>
 
     <ul class="brief">
      <li> The <i>force-quirks flag</i> is set to <i>on</i>. </li>
@@ -98954,9 +98955,10 @@
      <li> The system identifier is missing and the public identifier starts with: "<code title="">-//W3C//DTD HTML 4.01 Transitional//<!--EN--></code>" </li>
     </ul>
 
-    <p>Otherwise, if the DOCTYPE token matches one of the conditions
-    in the following list, then set the <code>Document</code> to
-    <span>limited-quirks mode</span>:</p>
+    <p>Otherwise, if the document is <em>not</em> <span>an <code>iframe</code> <code
+    title="attr-iframe-srcdoc">srcdoc</code> document</span>, and the DOCTYPE token matches one of
+    the conditions in the following list, then set the <code>Document</code> to <span>limited-quirks
+    mode</span>:</p>
 
     <ul class="brief">
      <li> The public identifier starts with: "<code title="">-//W3C//DTD XHTML 1.0 Frameset//<!--EN--></code>" </li>




More information about the Commit-Watchers mailing list