Skip to content

Commit

Permalink
[e] (0) Define 'element type'.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=13474

git-svn-id: http://svn.whatwg.org/webapps@6518 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 22, 2011
1 parent fce5967 commit 4feaeeb
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 12 deletions.
14 changes: 10 additions & 4 deletions complete.html
Expand Up @@ -3158,10 +3158,15 @@ <h4 id=xml><span class=secno>2.1.2 </span>XML</h4>
elements.</p>

<p>Except where otherwise stated, all elements defined or mentioned
in this specification are in the
<code>http://www.w3.org/1999/xhtml</code> namespace, and all
attributes defined or mentioned in this specification have no
namespace.</p>
in this specification are in the <a href=#html-namespace-0>HTML namespace</a>
("<code>http://www.w3.org/1999/xhtml</code>"), and all attributes
defined or mentioned in this specification have no namespace.</p>

<p>The term <dfn id=element-type>element type</dfn> is used to refer to the class of
elements have a given local name and namespace. For example,
<code><a href=#the-button-element>button</a></code> elements are elements with the element type
<code><a href=#the-button-element>button</a></code>, meaning they have the local name "<code title="">button</code>" and (implicitly as defined above) the
<a href=#html-namespace-0>HTML namespace</a>.</p>

<p>Attribute names are said to be <dfn id=xml-compatible>XML-compatible</dfn> if they
match the <a href=http://www.w3.org/TR/REC-xml/#NT-Name><code title="">Name</code></a> production defined in XML, they contain no
Expand Down Expand Up @@ -102179,6 +102184,7 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
Jim Jewett,
Jim Ley,
Jim Meehan,
Jirka Kosek,
Jjgod Jiang,
Jo&atilde;o Eiras,
Joe Clark,
Expand Down
14 changes: 10 additions & 4 deletions index
Expand Up @@ -3055,10 +3055,15 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
elements.</p>

<p>Except where otherwise stated, all elements defined or mentioned
in this specification are in the
<code>http://www.w3.org/1999/xhtml</code> namespace, and all
attributes defined or mentioned in this specification have no
namespace.</p>
in this specification are in the <a href=#html-namespace-0>HTML namespace</a>
("<code>http://www.w3.org/1999/xhtml</code>"), and all attributes
defined or mentioned in this specification have no namespace.</p>

<p>The term <dfn id=element-type>element type</dfn> is used to refer to the class of
elements have a given local name and namespace. For example,
<code><a href=#the-button-element>button</a></code> elements are elements with the element type
<code><a href=#the-button-element>button</a></code>, meaning they have the local name "<code title="">button</code>" and (implicitly as defined above) the
<a href=#html-namespace-0>HTML namespace</a>.</p>

<p>Attribute names are said to be <dfn id=xml-compatible>XML-compatible</dfn> if they
match the <a href=http://www.w3.org/TR/REC-xml/#NT-Name><code title="">Name</code></a> production defined in XML, they contain no
Expand Down Expand Up @@ -97787,6 +97792,7 @@ if (s = prompt('What is your name?')) {
Jim Jewett,
Jim Ley,
Jim Meehan,
Jirka Kosek,
Jjgod Jiang,
Jo&atilde;o Eiras,
Joe Clark,
Expand Down
15 changes: 11 additions & 4 deletions source
Expand Up @@ -2006,10 +2006,16 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
elements.</p>

<p>Except where otherwise stated, all elements defined or mentioned
in this specification are in the
<code>http://www.w3.org/1999/xhtml</code> namespace, and all
attributes defined or mentioned in this specification have no
namespace.</p>
in this specification are in the <span>HTML namespace</span>
("<code>http://www.w3.org/1999/xhtml</code>"), and all attributes
defined or mentioned in this specification have no namespace.</p>

<p>The term <dfn>element type</dfn> is used to refer to the class of
elements have a given local name and namespace. For example,
<code>button</code> elements are elements with the element type
<code>button</code>, meaning they have the local name "<code
title="">button</code>" and (implicitly as defined above) the
<span>HTML namespace</span>.</p>

<p>Attribute names are said to be <dfn>XML-compatible</dfn> if they
match the <a href="http://www.w3.org/TR/REC-xml/#NT-Name"><code
Expand Down Expand Up @@ -116459,6 +116465,7 @@ if (s = prompt('What is your name?')) {
Jim Jewett,
Jim Ley,
Jim Meehan,
Jirka Kosek,
Jjgod Jiang,
Jo&atilde;o Eiras,
Joe Clark,
Expand Down

0 comments on commit 4feaeeb

Please sign in to comment.