[html5] r1592 - /
whatwg at whatwg.org
whatwg at whatwg.org
Mon May 12 02:50:35 PDT 2008
Author: ianh
Date: 2008-05-12 02:50:35 -0700 (Mon, 12 May 2008)
New Revision: 1592
Modified:
index
source
Log:
[] (0) Make " not be escaped in non-attribute contexts in innerHTML.
Modified: index
===================================================================
--- index 2008-05-12 09:43:31 UTC (rev 1591)
+++ index 2008-05-12 09:50:35 UTC (rev 1592)
@@ -47246,8 +47246,8 @@
EQUALS SIGN (<code title="">=</code>) character, a U+0022 QUOTATION
MARK (<code title="">"</code>) character, the attribute's
value, <a href="#escapingString" title="escaping a string">escaped
- as described below</a>, and a second U+0022 QUOTATION MARK (<code
- title="">"</code>) character.</p>
+ as described below</a> in <i>attribute mode</i>, and a second U+0022
+ QUOTATION MARK (<code title="">"</code>) character.</p>
<p>While the exact order of attributes is UA-defined, and may depend
on factors such as the order that the attributes were given in the
@@ -47363,10 +47363,11 @@
title=""><</code>" character by the string "<code
title=""><</code>", any occurrences of the "<code
title="">></code>" character by the string "<code
- title="">></code>", any occurrences of the "<code
- title="">"</code>" character by the string "<code
- title="">"</code>", and any occurrences of the U+00A0 NO-BREAK
- SPACE character by the string "<code title=""> </code>".
+ title="">></code>", any occurrences of the U+00A0 NO-BREAK SPACE
+ character by the string "<code title=""> </code>", and, if the
+ algorithm was invoked in the <i>attribute mode</i>, any occurrences of the
+ "<code title="">"</code>" character by the string "<code
+ title="">"</code>".
<p class=note>Entity reference nodes are <a
href="#entity-references">assumed to be expanded</a> by the user agent,
Modified: source
===================================================================
--- source 2008-05-12 09:43:31 UTC (rev 1591)
+++ source 2008-05-12 09:50:35 UTC (rev 1592)
@@ -44577,15 +44577,16 @@
lowercase.)</p>
<p>For each attribute that the element has, append a U+0020
- SPACE character, the attribute's name (which, for attributes set
- by the <span>HTML parser</span> or by <code
+ SPACE character, the attribute's name (which, for attributes
+ set by the <span>HTML parser</span> or by <code
title="">Element.setAttributeNode()</code> or <code
title="">Element.setAttribute()</code>, will be lowercase), a
- U+003D EQUALS SIGN (<code title="">=</code>) character, a U+0022
- QUOTATION MARK (<code title="">"</code>) character, the
- attribute's value, <span title="escaping a string">escaped as
- described below</span>, and a second U+0022 QUOTATION MARK
- (<code title="">"</code>) character.</p>
+ U+003D EQUALS SIGN (<code title="">=</code>) character, a
+ U+0022 QUOTATION MARK (<code title="">"</code>)
+ character, the attribute's value, <span title="escaping a
+ string">escaped as described below</span> in <i>attribute
+ mode</i>, and a second U+0022 QUOTATION MARK (<code
+ title="">"</code>) character.</p>
<p>While the exact order of attributes is UA-defined, and may
depend on factors such as the order that the attributes were
@@ -44724,11 +44725,11 @@
"<code title=""><</code>" character by the string "<code
title=""><</code>", any occurrences of the "<code
title="">></code>" character by the string "<code
- title="">></code>", any occurrences of the "<code
- title="">"</code>" character by the string "<code
- title="">"</code>", and any occurrences of the U+00A0
- NO-BREAK SPACE character by the string "<code
- title=""> </code>".</p>
+ title="">></code>", any occurrences of the U+00A0 NO-BREAK
+ SPACE character by the string "<code title=""> </code>",
+ and, if the algorithm was invoked in the <i>attribute mode</i>, any
+ occurrences of the "<code title="">"</code>" character by the
+ string "<code title="">"</code>".</p>
<p class="note">Entity reference nodes are <a
href="#entity-references">assumed to be expanded</a> by the user
More information about the Commit-Watchers
mailing list