[html5] r8299 - [c] (2) Remove the parts of the script content model that could lead to unbalanc [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Nov 19 13:35:45 PST 2013


Author: ianh
Date: 2013-11-19 13:35:44 -0800 (Tue, 19 Nov 2013)
New Revision: 8299

Modified:
   complete.html
   index
   source
Log:
[c] (2) Remove the parts of the script content model that could lead to unbalanced crazy
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23590
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2013-11-19 21:15:37 UTC (rev 8298)
+++ complete.html	2013-11-19 21:35:44 UTC (rev 8299)
@@ -52162,8 +52162,7 @@
   <p>The <code><a href=#textcontent>textContent</a></code> of a <code><a href=#the-script-element>script</a></code> element must match the <code title="">script</code> production in the following ABNF, the character set for which is Unicode.
   <a href=#refsABNF>[ABNF]</a></p>
 
-  <pre>script        = data1 *( escape [ script-start data3 ] "-->" data1 ) [ escape ]
-escape        = "<!--" data2 *( script-start data3 script-end data2 )
+  <pre>script        = data1 *( "<!--" data2 *( script-start data3 script-end data2 ) "-->" data1 )
 
 data1         = < any string that doesn't contain a substring that matches not-data1 >
 not-data1     = <!-- script-end / -->"<!--"             <!-- the script-end is redundant here since it would close the element -->

Modified: index
===================================================================
--- index	2013-11-19 21:15:37 UTC (rev 8298)
+++ index	2013-11-19 21:35:44 UTC (rev 8299)
@@ -52162,8 +52162,7 @@
   <p>The <code><a href=#textcontent>textContent</a></code> of a <code><a href=#the-script-element>script</a></code> element must match the <code title="">script</code> production in the following ABNF, the character set for which is Unicode.
   <a href=#refsABNF>[ABNF]</a></p>
 
-  <pre>script        = data1 *( escape [ script-start data3 ] "-->" data1 ) [ escape ]
-escape        = "<!--" data2 *( script-start data3 script-end data2 )
+  <pre>script        = data1 *( "<!--" data2 *( script-start data3 script-end data2 ) "-->" data1 )
 
 data1         = < any string that doesn't contain a substring that matches not-data1 >
 not-data1     = <!-- script-end / -->"<!--"             <!-- the script-end is redundant here since it would close the element -->

Modified: source
===================================================================
--- source	2013-11-19 21:15:37 UTC (rev 8298)
+++ source	2013-11-19 21:35:44 UTC (rev 8299)
@@ -57629,8 +57629,7 @@
   data-x="">script</code> production in the following ABNF, the character set for which is Unicode.
   <a href="#refsABNF">[ABNF]</a></p>
 
-  <pre>script        = data1 *( escape [ script-start data3 ] "-->" data1 ) [ escape ]
-escape        = "<!--" data2 *( script-start data3 script-end data2 )
+  <pre>script        = data1 *( "<!--" data2 *( script-start data3 script-end data2 ) "-->" data1 )
 
 data1         = < any string that doesn't contain a substring that matches not-data1 >
 not-data1     = <!-- script-end / -->"<!--"             <!-- the script-end is redundant here since it would close the element -->




More information about the Commit-Watchers mailing list