Skip to content

Commit

Permalink
[a] (0) Elaborate on how foreign elements are to be written in the HT…
Browse files Browse the repository at this point in the history
…ML syntax.

git-svn-id: http://svn.whatwg.org/webapps@4075 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 5, 2009
1 parent 4ac7dc6 commit b8229a0
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 12 deletions.
36 changes: 30 additions & 6 deletions index
Expand Up @@ -112,7 +112,7 @@
<div class=head>
<p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<h1>HTML5</h1>
<h2 class="no-num no-toc" id=draft-standard-&mdash;-4-october-2009>Draft Standard &mdash; 4 October 2009</h2>
<h2 class="no-num no-toc" id=draft-standard-&mdash;-5-october-2009>Draft Standard &mdash; 5 October 2009</h2>
<p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
Expand Down Expand Up @@ -59251,9 +59251,10 @@ interface <dfn id=messageport>MessagePort</dfn> {
use characters in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE,
U+0061 LATIN SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, and
U+0041 LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER Z. In
the HTML syntax, tag names may be written with any mix of lower- and
uppercase letters that, when converted to all-lowercase, matches the
element's tag name; tag names are case-insensitive.</p>
the HTML syntax, tag names, even those for <a href=#foreign-elements>foreign
elements</a>, may be written with any mix of lower- and uppercase
letters that, when converted to all-lowercase, matches the element's
tag name; tag names are case-insensitive.</p>


<h5 id=start-tags><span class=secno>9.1.2.1 </span>Start tags</h5>
Expand Down Expand Up @@ -59319,8 +59320,9 @@ interface <dfn id=messageport>MessagePort</dfn> {
MARK ("), U+0027 APOSTROPHE ('), U+003E GREATER-THAN SIGN
(&gt;), U+002F SOLIDUS (/), and U+003D EQUALS SIGN (=) characters,
the control characters, and any characters that are not defined by
Unicode. In the HTML syntax, attribute names may be written with any
mix of lower- and uppercase letters that are an <a href=#ascii-case-insensitive>ASCII
Unicode. In the HTML syntax, attribute names, even those for
<a href=#foreign-elements>foreign elements</a>, may be written with any mix of lower-
and uppercase letters that are an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> match for the attribute's name.</p>

<p><dfn id=syntax-attribute-value title=syntax-attribute-value>Attribute values</dfn> are a
Expand Down Expand Up @@ -59449,6 +59451,28 @@ interface <dfn id=messageport>MessagePort</dfn> {
whose names are an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for
each other.</p>

<hr><p>When a <a href=#foreign-elements title="foreign elements">foreign element</a> has
one of the namespaced attributes given by the local name and
namespace of the first and second cells of a row from the following
table, it must be written using the name given by the third cell
from the same row.</p>

<table><thead><tr><th> Local name <th> Namespace <th> Attribute name
<tbody><tr><td> <code title="">actuate</code> <td> <a href=#xlink-namespace>XLink namespace</a> <td> <code title="">xlink:actuate</code>
<tr><td> <code title="">arcrole</code> <td> <a href=#xlink-namespace>XLink namespace</a> <td> <code title="">xlink:arcrole</code>
<tr><td> <code title="">href</code> <td> <a href=#xlink-namespace>XLink namespace</a> <td> <code title="">xlink:href</code>
<tr><td> <code title="">role</code> <td> <a href=#xlink-namespace>XLink namespace</a> <td> <code title="">xlink:role</code>
<tr><td> <code title="">show</code> <td> <a href=#xlink-namespace>XLink namespace</a> <td> <code title="">xlink:show</code>
<tr><td> <code title="">title</code> <td> <a href=#xlink-namespace>XLink namespace</a> <td> <code title="">xlink:title</code>
<tr><td> <code title="">type</code> <td> <a href=#xlink-namespace>XLink namespace</a> <td> <code title="">xlink:type</code>
<tr><td> <code title="">base</code> <td> <a href=#xml-namespace>XML namespace</a> <!-- attr-xml-base --> <td> <code title="">xml:base</code>
<tr><td> <code title="">lang</code> <td> <a href=#xml-namespace>XML namespace</a> <td> <code title="">xml:lang</code>
<tr><td> <code title="">space</code> <td> <a href=#xml-namespace>XML namespace</a> <td> <code title="">xml:space</code>
<tr><td> <code title="">xmlns</code> <td> <a href=#xmlns-namespace>XMLNS namespace</a> <td> <code title="">xmlns</code>
<tr><td> <code title="">xlink</code> <td> <a href=#xmlns-namespace>XMLNS namespace</a> <td> <code title="">xmlns:xlink</code>
</table><p>No other namespaced attribute can be expressed in the <a href=#syntax>the
HTML syntax</a>.</p>


<h5 id=optional-tags><span class=secno>9.1.2.4 </span>Optional tags</h5>

Expand Down
41 changes: 36 additions & 5 deletions source
Expand Up @@ -76625,9 +76625,10 @@ interface <dfn>MessagePort</dfn> {
use characters in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE,
U+0061 LATIN SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, and
U+0041 LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER Z. In
the HTML syntax, tag names may be written with any mix of lower- and
uppercase letters that, when converted to all-lowercase, matches the
element's tag name; tag names are case-insensitive.</p>
the HTML syntax, tag names, even those for <span>foreign
elements</span>, may be written with any mix of lower- and uppercase
letters that, when converted to all-lowercase, matches the element's
tag name; tag names are case-insensitive.</p>


<h5>Start tags</h5>
Expand Down Expand Up @@ -76707,8 +76708,9 @@ interface <dfn>MessagePort</dfn> {
MARK (&#x22;), U+0027 APOSTROPHE (&#x27;), U+003E GREATER-THAN SIGN
(&gt;), U+002F SOLIDUS (/), and U+003D EQUALS SIGN (=) characters,
the control characters, and any characters that are not defined by
Unicode. In the HTML syntax, attribute names may be written with any
mix of lower- and uppercase letters that are an <span>ASCII
Unicode. In the HTML syntax, attribute names, even those for
<span>foreign elements</span>, may be written with any mix of lower-
and uppercase letters that are an <span>ASCII
case-insensitive</span> match for the attribute's name.</p>

<p><dfn title="syntax-attribute-value">Attribute values</dfn> are a
Expand Down Expand Up @@ -76851,6 +76853,35 @@ interface <dfn>MessagePort</dfn> {
whose names are an <span>ASCII case-insensitive</span> match for
each other.</p>

<hr>

<p>When a <span title="foreign elements">foreign element</span> has
one of the namespaced attributes given by the local name and
namespace of the first and second cells of a row from the following
table, it must be written using the name given by the third cell
from the same row.</p>

<table>
<thead>
<tr> <th> Local name <th> Namespace <th> Attribute name
<tbody>
<tr> <td> <code title="">actuate</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:actuate</code>
<tr> <td> <code title="">arcrole</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:arcrole</code>
<tr> <td> <code title="">href</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:href</code>
<tr> <td> <code title="">role</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:role</code>
<tr> <td> <code title="">show</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:show</code>
<tr> <td> <code title="">title</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:title</code>
<tr> <td> <code title="">type</code> <td> <span>XLink namespace</span> <td> <code title="">xlink:type</code>
<tr> <td> <code title="">base</code> <td> <span>XML namespace</span> <!-- attr-xml-base --> <td> <code title="">xml:base</code>
<tr> <td> <code title="">lang</code> <td> <span>XML namespace</span> <td> <code title="">xml:lang</code>
<tr> <td> <code title="">space</code> <td> <span>XML namespace</span> <td> <code title="">xml:space</code>
<tr> <td> <code title="">xmlns</code> <td> <span>XMLNS namespace</span> <td> <code title="">xmlns</code>
<tr> <td> <code title="">xlink</code> <td> <span>XMLNS namespace</span> <td> <code title="">xmlns:xlink</code>
</table>

<p>No other namespaced attribute can be expressed in the <span>the
HTML syntax</span>.</p>


<h5>Optional tags</h5>

Expand Down
2 changes: 1 addition & 1 deletion vocabs-index
Expand Up @@ -48,7 +48,7 @@
<div class="head">
<p><a class="logo" href="http://www.whatwg.org/" rel="home"><img alt="WHATWG" src="/images/logo"></a></p>
<h1>Microdata Vocabularies: vCard, vEvent, and works</h1>
<h2 class="no-num no-toc" id="draft-standard-4-october-2009">Draft Standard &mdash; 4 October 2009</h2>
<h2 class="no-num no-toc" id="draft-standard-5-october-2009">Draft Standard &mdash; 5 October 2009</h2>
<p>You can take part in this work. <a href="http://www.whatwg.org/mailing-list">Join the working group's discussion list.</a></p>
<dl><dt>This specification:</dt>
<dd><a href="http://www.whatwg.org/specs/web-apps/current-work/">http://www.whatwg.org/specs/web-apps/current-work/</a></dd>
Expand Down

0 comments on commit b8229a0

Please sign in to comment.