Skip to content

Commit

Permalink
hyperlink 'html elements' some more now that we define it
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@199 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 25, 2006
1 parent 8d584f7 commit bfa43d9
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 41 deletions.
42 changes: 21 additions & 21 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -1919,8 +1919,9 @@ and suggestions on this to the list, btw).
specification) must also implement the <code><a
href="#htmldocument">HTMLDocument</a></code> interface, available using
binding-specific methods. (This is the case whether or not the document in
question is an HTML document or indeed whether it contains any HTML
elements at all.)
question is an <a href="#html-" title="HTML documents">HTML document</a>
or indeed whether it contains any <a href="#html-elements">HTML
elements</a> at all.)

<p><code>Document</code> objects must also implement the document-level
interface of any other namespaces found in the document that the UA
Expand Down Expand Up @@ -2239,16 +2240,17 @@ and suggestions on this to the list, btw).
<h3 id=the-elements><span class=secno>2.3. </span>The elements <a
href="#wip" title=WIP>[WIP]</a></h3>

<p>The nodes representing HTML elements in the DOM must implement, and
expose to scripts, the interfaces listed for them in the relevant sections
of this specification. This includes XHTML elements in XML documents, even
when those documents are in another context (e.g. inside an XSLT
transform).
<p>The nodes representing <a href="#html-elements">HTML elements</a> in the
DOM must implement, and expose to scripts, the interfaces listed for them
in the relevant sections of this specification. This includes <a
href="#xhtml5">XHTML</a> elements in <a href="#xml-documents">XML
documents</a>, even when those documents are in another context (e.g.
inside an XSLT transform).

<p>The basic interface, from which all the HTML elements' interfaces
inherit, and which is used by elements that have no additional
requirements, is the <code><a href="#htmlelement">HTMLElement</a></code>
interface.
<p>The basic interface, from which all the <a href="#html-elements">HTML
elements</a>' interfaces inherit, and which is used by elements that have
no additional requirements, is the <code><a
href="#htmlelement">HTMLElement</a></code> interface.

<pre
class=idl>interface <dfn id=htmlelement>HTMLElement</dfn> : <span>Element</span> {
Expand Down Expand Up @@ -14733,8 +14735,9 @@ interface <dfn id=storageitem>StorageItem</dfn> {

<p>The <dfn id=contenteditable0><code>contenteditable</code></dfn>
attribute is a common attribute. User agents must support this attribute
on all HTML elements.</p>
<!-- XXX define it in the appropriate place then -->
on all <a href="#html-elements">HTML elements</a>.</p>
<!-- XXX define it in the appropriate place
then -->

<p>If an HTML element has a <code><a
href="#contenteditable0">contenteditable</a></code> attribute set to the
Expand Down Expand Up @@ -14980,8 +14983,8 @@ interface <dfn id=storageitem>StorageItem</dfn> {
backwards-compatibility.

<p>The <code><a href="#tabindex0">tabindex</a></code> attribute defined in
HTML4 is extended to apply to all HTML elements by defining it as a common
attribute.
HTML4 is extended to apply to all <a href="#html-elements">HTML
elements</a> by defining it as a common attribute.

<p>The <code><a href="#tabindex0">tabindex</a></code> attribute specifies
the relative order of elements for the purposes of sequential focus
Expand Down Expand Up @@ -15017,9 +15020,9 @@ interface <dfn id=storageitem>StorageItem</dfn> {
href="#focus0">:focus</a></code> pseudo-class and key events are
dispatched on that element when appropriate, just like focusing a link.

<p>Since all HTML elements can thus be focused and unfocusd, the
<code>onfocus</code> and <code>onblur</code> attributes shall also apply
to all HTML elements.
<p>Since all <a href="#html-elements">HTML elements</a> can thus be focused
and unfocusd, the <code>onfocus</code> and <code>onblur</code> attributes
shall also apply to all HTML elements.

<h4 id=the-elementfocus><span class=secno>6.3.2. </span>The <dfn
id=elementfocus0><code>ElementFocus</code></dfn> interface</h4>
Expand Down Expand Up @@ -26513,9 +26516,6 @@ http://www.paulgraham.com/popular.html
=> how do you stop advertisers?


XXX The term "HTML elements" is not defined, yet is used in
conformance requirements.


events should bubble from documents to Window

Expand Down
41 changes: 21 additions & 20 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,9 @@ and suggestions on this to the list, btw).
this specification) must also implement the
<code>HTMLDocument</code> interface, available using
binding-specific methods. (This is the case whether or not the
document in question is an HTML document or indeed whether it
contains any HTML elements at all.)</p>
document in question is an <span title="HTML documents">HTML
document</span> or indeed whether it contains any <span>HTML
elements</span> at all.)</p>

<p><code>Document</code> objects must also implement the
document-level interface of any other namespaces found in the
Expand Down Expand Up @@ -1257,15 +1258,17 @@ and suggestions on this to the list, btw).

<h3>The elements <span title="WIP">[WIP]</span></h3>

<p>The nodes representing HTML elements in the DOM must implement,
and expose to scripts, the interfaces listed for them in the
relevant sections of this specification. This includes XHTML
elements in XML documents, even when those documents are in another
context (e.g. inside an XSLT transform).</p>
<p>The nodes representing <span>HTML elements</span> in the DOM must
implement, and expose to scripts, the interfaces listed for them in
the relevant sections of this specification. This includes
<span>XHTML</span> elements in <span>XML documents</span>, even when
those documents are in another context (e.g. inside an XSLT
transform).</p>

<p>The basic interface, from which all the HTML elements' interfaces
inherit, and which is used by elements that have no additional
requirements, is the <code>HTMLElement</code> interface.</p>
<p>The basic interface, from which all the <span>HTML
elements</span>' interfaces inherit, and which is used by elements
that have no additional requirements, is the
<code>HTMLElement</code> interface.</p>

<pre class="idl">interface <dfn>HTMLElement</dfn> : <span>Element</span> {
attribute DOMString <span title="dom-id">id</span>;
Expand Down Expand Up @@ -13376,8 +13379,9 @@ interface <dfn>StorageItem</dfn> {
<h3 id="contenteditable"><span title="SCS">[SCS]</span>The <code>contenteditable</code> attribute</h3>

<p>The <dfn><code>contenteditable</code></dfn> attribute is a common
attribute. User agents must support this attribute on all HTML
elements.</p> <!-- XXX define it in the appropriate place then -->
attribute. User agents must support this attribute on all <span>HTML
elements</span>.</p> <!-- XXX define it in the appropriate place
then -->

<p>If an HTML element has a <code>contenteditable</code> attribute
set to the empty string or the value <code>true</code> (by
Expand Down Expand Up @@ -13625,8 +13629,8 @@ interface <dfn>StorageItem</dfn> {
needs to be checked for backwards-compatibility.</p>

<p>The <code>tabindex</code> attribute defined in HTML4 is extended
to apply to all HTML elements by defining it as a common
attribute.</p>
to apply to all <span>HTML elements</span> by defining it as a
common attribute.</p>

<p>The <code>tabindex</code> attribute specifies the relative order
of elements for the purposes of sequential focus navigation. The
Expand Down Expand Up @@ -13662,9 +13666,9 @@ interface <dfn>StorageItem</dfn> {
pseudo-class and key events are dispatched on that element when
appropriate, just like focusing a link.</p>

<p>Since all HTML elements can thus be focused and unfocusd, the
<code>onfocus</code> and <code>onblur</code> attributes shall also
apply to all HTML elements.</p>
<p>Since all <span>HTML elements</span> can thus be focused and
unfocusd, the <code>onfocus</code> and <code>onblur</code>
attributes shall also apply to all HTML elements.</p>

<h4>The <dfn><code>ElementFocus</code></dfn> interface</h4>

Expand Down Expand Up @@ -24211,9 +24215,6 @@ http://www.paulgraham.com/popular.html
=> how do you stop advertisers?


XXX The term "HTML elements" is not defined, yet is used in
conformance requirements.


events should bubble from documents to Window

Expand Down

0 comments on commit bfa43d9

Please sign in to comment.