Navigation Menu

Skip to content

Commit

Permalink
[agiow] (0) Define a.text
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8544

git-svn-id: http://svn.whatwg.org/webapps@4562 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 11, 2010
1 parent 4e0fe4f commit 5cb9e1c
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 2 deletions.
28 changes: 27 additions & 1 deletion complete.html
Expand Up @@ -15787,14 +15787,32 @@ <h4 id=the-a-element><span class=secno>4.6.1 </span>The <dfn><code>a</code></dfn
suffix</a></var>, then take that into account when following the
hyperlink.</li>

</ol><p>The IDL attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
</ol></div>

<dl class=domintro><dt><var title="">option</var> . <code title=dom-option-text><a href=#dom-option-text>text</a></code>

<dd>

<p>Same as <code>textContent</code>.</p>

</dd>

</dl><div class=impl>

<p>The IDL attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
<a href=#reflect>reflect</a> the respective content attributes of the same
name.</p>

<p>The IDL attribute <dfn id=dom-a-rellist title=dom-a-rellist><code>relList</code></dfn> must
<a href=#reflect>reflect</a> the <code title=attr-hyperlink-rel><a href=#attr-hyperlink-rel>rel</a></code>
content attribute.</p>

<p>The <dfn id=dom-a-text title=dom-a-text><code>text</code></dfn> IDL
attribute, on getting, must return the same value as the
<code>textContent</code> IDL attribute on the element, and on
setting, must act as if the <code>textContent</code> IDL attribute
on the element had been set to the new value.</p>

<p>The <code><a href=#the-a-element>a</a></code> element also supports the complement of
<a href=#url-decomposition-idl-attributes>URL decomposition IDL attributes</a>, <dfn id=dom-a-protocol title=dom-a-protocol><code>protocol</code></dfn>, <dfn id=dom-a-host title=dom-a-host><code>host</code></dfn>, <dfn id=dom-a-port title=dom-a-port><code>port</code></dfn>, <dfn id=dom-a-hostname title=dom-a-hostname><code>hostname</code></dfn>, <dfn id=dom-a-pathname title=dom-a-pathname><code>pathname</code></dfn>, <dfn id=dom-a-search title=dom-a-search><code>search</code></dfn>, and <dfn id=dom-a-hash title=dom-a-hash><code>hash</code></dfn>. These must follow the
rules given for URL decomposition IDL attributes, with the <a href=#concept-uda-input title=concept-uda-input>input</a> being the result of <a href=#resolve-a-url title="resolve a url">resolving</a> the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute relative to the
Expand Down Expand Up @@ -37068,6 +37086,14 @@ <h4 id=the-option-element><span class=secno>4.10.10 </span>The <dfn><code>option

</dd>

<dt><var title="">option</var> . <code title=dom-option-text><a href=#dom-option-text>text</a></code>

<dd>

<p>Same as <code>textContent</code>.</p>

</dd>

<dt><var title="">option</var> = new <code title=dom-option><a href=#dom-option>Option</a></code>( [ <var title="">text</var> [, <var title="">value</var> [, <var title="">defaultSelected</var> [, <var title="">selected</var> ] ] ] ] )</dt>

<dd>
Expand Down
28 changes: 27 additions & 1 deletion index
Expand Up @@ -15652,14 +15652,32 @@ first matching case):&lt;/p&gt;
suffix</a></var>, then take that into account when following the
hyperlink.</li>

</ol><p>The IDL attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
</ol></div>

<dl class=domintro><dt><var title="">option</var> . <code title=dom-option-text><a href=#dom-option-text>text</a></code>

<dd>

<p>Same as <code>textContent</code>.</p>

</dd>

</dl><div class=impl>

<p>The IDL attributes <dfn id=dom-a-href title=dom-a-href><code>href</code></dfn>, <dfn id=dom-a-ping title=dom-a-ping><code>ping</code></dfn>, <dfn id=dom-a-target title=dom-a-target><code>target</code></dfn>, <dfn id=dom-a-rel title=dom-a-rel><code>rel</code></dfn>, <dfn id=dom-a-media title=dom-a-media><code>media</code></dfn>, <dfn id=dom-a-hreflang title=dom-a-hreflang><code>hreflang</code></dfn>, and <dfn id=dom-a-type title=dom-a-type><code>type</code></dfn>, must
<a href=#reflect>reflect</a> the respective content attributes of the same
name.</p>

<p>The IDL attribute <dfn id=dom-a-rellist title=dom-a-rellist><code>relList</code></dfn> must
<a href=#reflect>reflect</a> the <code title=attr-hyperlink-rel><a href=#attr-hyperlink-rel>rel</a></code>
content attribute.</p>

<p>The <dfn id=dom-a-text title=dom-a-text><code>text</code></dfn> IDL
attribute, on getting, must return the same value as the
<code>textContent</code> IDL attribute on the element, and on
setting, must act as if the <code>textContent</code> IDL attribute
on the element had been set to the new value.</p>

<p>The <code><a href=#the-a-element>a</a></code> element also supports the complement of
<a href=#url-decomposition-idl-attributes>URL decomposition IDL attributes</a>, <dfn id=dom-a-protocol title=dom-a-protocol><code>protocol</code></dfn>, <dfn id=dom-a-host title=dom-a-host><code>host</code></dfn>, <dfn id=dom-a-port title=dom-a-port><code>port</code></dfn>, <dfn id=dom-a-hostname title=dom-a-hostname><code>hostname</code></dfn>, <dfn id=dom-a-pathname title=dom-a-pathname><code>pathname</code></dfn>, <dfn id=dom-a-search title=dom-a-search><code>search</code></dfn>, and <dfn id=dom-a-hash title=dom-a-hash><code>hash</code></dfn>. These must follow the
rules given for URL decomposition IDL attributes, with the <a href=#concept-uda-input title=concept-uda-input>input</a> being the result of <a href=#resolve-a-url title="resolve a url">resolving</a> the element's <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute relative to the
Expand Down Expand Up @@ -36933,6 +36951,14 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme

</dd>

<dt><var title="">option</var> . <code title=dom-option-text><a href=#dom-option-text>text</a></code>

<dd>

<p>Same as <code>textContent</code>.</p>

</dd>

<dt><var title="">option</var> = new <code title=dom-option><a href=#dom-option>Option</a></code>( [ <var title="">text</var> [, <var title="">value</var> [, <var title="">defaultSelected</var> [, <var title="">selected</var> ] ] ] ] )</dt>

<dd>
Expand Down
30 changes: 30 additions & 0 deletions source
Expand Up @@ -16663,6 +16663,22 @@ first matching case):&lt;/p&gt;

</ol>

</div>

<dl class="domintro">

<dt><var title="">option</var> . <code title="dom-option-text">text</code></dfn>

<dd>

<p>Same as <code>textContent</code>.</p>

</dd>

</dl>

<div class="impl">

<p>The IDL attributes <dfn
title="dom-a-href"><code>href</code></dfn>, <dfn
title="dom-a-ping"><code>ping</code></dfn>, <dfn
Expand All @@ -16679,6 +16695,12 @@ first matching case):&lt;/p&gt;
<span>reflect</span> the <code title="attr-hyperlink-rel">rel</code>
content attribute.</p>

<p>The <dfn title="dom-a-text"><code>text</code></dfn> IDL
attribute, on getting, must return the same value as the
<code>textContent</code> IDL attribute on the element, and on
setting, must act as if the <code>textContent</code> IDL attribute
on the element had been set to the new value.</p>

<p>The <code>a</code> element also supports the complement of
<span>URL decomposition IDL attributes</span>, <dfn
title="dom-a-protocol"><code>protocol</code></dfn>, <dfn
Expand Down Expand Up @@ -41187,6 +41209,14 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {

</dd>

<dt><var title="">option</var> . <code title="dom-option-text">text</code></dfn>

<dd>

<p>Same as <code>textContent</code>.</p>

</dd>

<dt><var title="">option</var> = new <code title="dom-option">Option</code>( [ <var title="">text</var> [, <var title="">value</var> [, <var title="">defaultSelected</var> [, <var title="">selected</var> ] ] ] ] )</dt>

<dd>
Expand Down

0 comments on commit 5cb9e1c

Please sign in to comment.