[html5] r8667 - [cgiowt] (3) PARSER: when inlining the fake tags, I missed that <select>.innerHT [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jun 9 23:33:25 PDT 2014
Author: ianh
Date: 2014-06-09 23:33:22 -0700 (Mon, 09 Jun 2014)
New Revision: 8667
Modified:
complete.html
index
source
Log:
[cgiowt] (3) PARSER: when inlining the fake tags, I missed that <select>.innerHTML = '<select>' would crash if we did not check for a <select> in scope first
Affected topics: HTML Syntax and Parsing
Modified: complete.html
===================================================================
--- complete.html 2014-06-09 18:00:31 UTC (rev 8666)
+++ complete.html 2014-06-10 06:33:22 UTC (rev 8667)
@@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 9 June 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 10 June 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -94050,6 +94050,10 @@
<p><a href=#parse-error>Parse error</a>.</p>
<!-- fake </select> -->
+ <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-select-scope title="has an element in select
+ scope">have a <code>select</code> element in select scope</a>, ignore the token.
+ (<a href=#fragment-case>fragment case</a>)</p>
+
<p>Pop elements from the <a href=#stack-of-open-elements>stack of open elements</a> until a <code><a href=#the-select-element>select</a></code> element
has been popped from the stack.</p>
Modified: index
===================================================================
--- index 2014-06-09 18:00:31 UTC (rev 8666)
+++ index 2014-06-10 06:33:22 UTC (rev 8667)
@@ -290,7 +290,7 @@
</script><body onload=init()>
<header class="head with-buttons" id=head><p><a href=//www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 9 June 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 10 June 2014</h2>
</hgroup><div>
<div>
<a href=//whatwg.org/html><span><strong>Multipage Version</strong> <code>whatwg.org/html</code></span></a>
@@ -94050,6 +94050,10 @@
<p><a href=#parse-error>Parse error</a>.</p>
<!-- fake </select> -->
+ <p>If the <a href=#stack-of-open-elements>stack of open elements</a> does not <a href=#has-an-element-in-select-scope title="has an element in select
+ scope">have a <code>select</code> element in select scope</a>, ignore the token.
+ (<a href=#fragment-case>fragment case</a>)</p>
+
<p>Pop elements from the <a href=#stack-of-open-elements>stack of open elements</a> until a <code><a href=#the-select-element>select</a></code> element
has been popped from the stack.</p>
Modified: source
===================================================================
--- source 2014-06-09 18:00:31 UTC (rev 8666)
+++ source 2014-06-10 06:33:22 UTC (rev 8667)
@@ -103727,6 +103727,10 @@
<p><span>Parse error</span>.</p>
<!-- fake </select> -->
+ <p>If the <span>stack of open elements</span> does not <span data-x="has an element in select
+ scope">have a <code>select</code> element in select scope</span>, ignore the token.
+ (<span>fragment case</span>)</p>
+
<p>Pop elements from the <span>stack of open elements</span> until a <code>select</code> element
has been popped from the stack.</p>
More information about the Commit-Watchers
mailing list