- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 29 Aug 2008 11:39:40 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv18664
Modified Files:
Overview.html
Log Message:
Support definitionURL='' attribute in MathML. (credit: hs) (whatwg r2130)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1301
retrieving revision 1.1302
diff -u -d -r1.1301 -r1.1302
--- Overview.html 29 Aug 2008 11:05:20 -0000 1.1301
+++ Overview.html 29 Aug 2008 11:39:38 -0000 1.1302
@@ -49277,6 +49277,8 @@
instead of appending it to the <a href="#current5">current node</a>. (This
happens in particular during the parsing of tables with invalid content.)
+ <hr>
+
<p>When the steps below require the UA to <dfn id=insert1>insert a foreign
element</dfn> for a token, the UA must first <a href="#create0">create an
element for the token</a> in the given namespace, and then append this
@@ -49285,7 +49287,12 @@
href="#current5">current node</a>. If the newly created element has an
<code title="">xmlns</code> attribute in the <a href="#xmlns">XMLNS
namespace</a> whose value is not exactly the same as the element's
- namespace, that is a <a href="#parse2">parse error</a>.</p>
+ namespace, that is a <a href="#parse2">parse error</a>.
+
+ <p>When the steps below require the user agent to <dfn id=adjust>adjust
+ MathML attributes</dfn> for a token, then, if the token has an attribute
+ named <code title="">definitionurl</code>, change its name to <code
+ title="">definitionURL</code> (note the case difference).</p>
<!--XXXSVG
<p>When the steps below require the user agent to <dfn>adjust SVG
attributes</dfn> for a token, then, for each attribute on the token
@@ -49363,7 +49370,7 @@
</table>
-->
- <p>When the steps below require the user agent to <dfn id=adjust>adjust
+ <p>When the steps below require the user agent to <dfn id=adjust0>adjust
foreign attributes</dfn> for a token, then, if any of the attributes on
the token match the strings given in the first column of the following
table, let the attribute be a namespaced attribute, with the prefix being
@@ -49494,6 +49501,8 @@
<td> <a href="#xmlns">XMLNS namespace</a>
</table>
+ <hr>
+
<p>The <dfn id=generic>generic CDATA element parsing algorithm</dfn> and
the <dfn id=generic0>generic RCDATA element parsing algorithm</dfn>
consist of the following steps. These algorithms are always invoked in
@@ -51489,7 +51498,10 @@
<p><a href="#reconstruct">Reconstruct the active formatting elements</a>,
if any.</p>
- <p><a href="#adjust">Adjust foreign attributes</a> for the token. (This
+ <p><a href="#adjust">Adjust MathML attributes</a> for the token. (This
+ fixes the case of MathML attributes that are not all lowercase.)</p>
+
+ <p><a href="#adjust0">Adjust foreign attributes</a> for the token. (This
fixes the use of namespaced attributes, in particular XLink.)</p>
<p><a href="#insert1">Insert a foreign element</a> for the token, in the
@@ -52492,7 +52504,12 @@
<dt>Any other start tag
- <dd> <!--XXXSVG
+ <dd>
+ <p>If the <a href="#current5">current node</a> is an element in the <a
+ href="#mathml0">MathML namespace</a>, <a href="#adjust">adjust MathML
+ attributes</a> for the token. (This fixes the case of MathML attributes
+ that are not all lowercase.)</p>
+ <!--XXXSVG
<p>If the <span>current node</span> is an element in the <span>SVG
namespace</span>, and the token's tag name is one of the ones in
the first column of the following table, change the tag name to
@@ -52549,7 +52566,7 @@
lowercase.)</p>
-->
- <p><a href="#adjust">Adjust foreign attributes</a> for the token. (This
+ <p><a href="#adjust0">Adjust foreign attributes</a> for the token. (This
fixes the use of namespaced attributes, in particular XLink in SVG.)</p>
<p><a href="#insert1">Insert a foreign element</a> for the token, in the
@@ -53024,7 +53041,7 @@
<p class=example>As another example, consider the attribute
<code>xlink:href</code>. Used on a MathML element, it becomes, after being
- <a href="#adjust" title="adjust foreign attributes">adjusted</a>, an
+ <a href="#adjust0" title="adjust foreign attributes">adjusted</a>, an
attribute with a prefix "<code title="">xlink</code>" and a local name
"<code title="">href</code>". However, used on an HTML element, it becomes
an attribute with no prefix and the local name "<code
@@ -53035,7 +53052,7 @@
<p class=note>The resulting names from this conversion conveniently can't
clash with any attribute generated by the <a href="#html-0">HTML
parser</a>, since those are all either lowercase or those listed in the <a
- href="#adjust">adjust foreign attributes</a> algorithm's table.
+ href="#adjust0">adjust foreign attributes</a> algorithm's table.
<p>If the XML API restricts comments from having two consecutive U+002D
HYPHEN-MINUS characters (--), the tool may insert a single U+0020 SPACE
Received on Friday, 29 August 2008 11:40:15 UTC