Skip to content

Commit

Permalink
[giow] (2) Define which document element constructors get.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7835

git-svn-id: http://svn.whatwg.org/webapps@4195 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 20, 2009
1 parent ca81a22 commit a21b214
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 9 deletions.
15 changes: 12 additions & 3 deletions complete.html
Expand Up @@ -19131,7 +19131,10 @@ <h4 id=the-img-element><span class=secno>4.8.2 </span>The <dfn><code>img</code><
is present, the new object's <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> content attribute must be set to
<var title="">width</var>. If the <var title="">height</var>
argument is also present, the new object's <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> content attribute must be set
to <var title="">height</var>.</p>
to <var title="">height</var>. The element's document must be the
<a href=#active-document>active document</a> of the <a href=#browsing-context>browsing context</a> of
the <code><a href=#window>Window</a></code> object on which the interface object of the
invoked constructor is found.</p>

</div>

Expand Down Expand Up @@ -21807,7 +21810,10 @@ <h4 id=audio><span class=secno>4.8.8 </span>The <dfn><code>audio</code></dfn> el
its <code title=attr-media-src><a href=#attr-media-src>src</a></code> content attribute set to
the provided value, and the user agent must invoke the object's
<a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
algorithm</a> before returning.</p>
algorithm</a> before returning. The element's document must be
the <a href=#active-document>active document</a> of the <a href=#browsing-context>browsing
context</a> of the <code><a href=#window>Window</a></code> object on which the
interface object of the invoked constructor is found.</p>

</div>

Expand Down Expand Up @@ -37325,7 +37331,10 @@ <h4 id=the-option-element><span class=secno>4.10.10 </span>The <dfn><code>option
true, the new object must have its <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> set to true;
otherwise the fourth argument is absent or false, and the <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> must be set
to false, even if the <var title="">defaultSelected</var> argument
is present and true.</p>
is present and true. The element's document must be the <a href=#active-document>active
document</a> of the <a href=#browsing-context>browsing context</a> of the
<code><a href=#window>Window</a></code> object on which the interface object of the
invoked constructor is found.</p>

</div>

Expand Down
15 changes: 12 additions & 3 deletions index
Expand Up @@ -18960,7 +18960,10 @@ interface <dfn id=htmlimageelement>HTMLImageElement</dfn> : <a href=#htmlelement
is present, the new object's <code title=attr-dim-width><a href=#attr-dim-width>width</a></code> content attribute must be set to
<var title="">width</var>. If the <var title="">height</var>
argument is also present, the new object's <code title=attr-dim-height><a href=#attr-dim-height>height</a></code> content attribute must be set
to <var title="">height</var>.</p>
to <var title="">height</var>. The element's document must be the
<a href=#active-document>active document</a> of the <a href=#browsing-context>browsing context</a> of
the <code><a href=#window>Window</a></code> object on which the interface object of the
invoked constructor is found.</p>

</div>

Expand Down Expand Up @@ -21636,7 +21639,10 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
its <code title=attr-media-src><a href=#attr-media-src>src</a></code> content attribute set to
the provided value, and the user agent must invoke the object's
<a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
algorithm</a> before returning.</p>
algorithm</a> before returning. The element's document must be
the <a href=#active-document>active document</a> of the <a href=#browsing-context>browsing
context</a> of the <code><a href=#window>Window</a></code> object on which the
interface object of the invoked constructor is found.</p>

</div>

Expand Down Expand Up @@ -37154,7 +37160,10 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
true, the new object must have its <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> set to true;
otherwise the fourth argument is absent or false, and the <a href=#concept-option-selectedness title=concept-option-selectedness>selectedness</a> must be set
to false, even if the <var title="">defaultSelected</var> argument
is present and true.</p>
is present and true. The element's document must be the <a href=#active-document>active
document</a> of the <a href=#browsing-context>browsing context</a> of the
<code><a href=#window>Window</a></code> object on which the interface object of the
invoked constructor is found.</p>

</div>

Expand Down
15 changes: 12 additions & 3 deletions source
Expand Up @@ -20308,7 +20308,10 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {
<var title="">width</var>. If the <var title="">height</var>
argument is also present, the new object's <code
title="attr-dim-height">height</code> content attribute must be set
to <var title="">height</var>.</p>
to <var title="">height</var>. The element's document must be the
<span>active document</span> of the <span>browsing context</span> of
the <code>Window</code> object on which the interface object of the
invoked constructor is found.</p>

</div>

Expand Down Expand Up @@ -23219,7 +23222,10 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
its <code title="attr-media-src">src</code> content attribute set to
the provided value, and the user agent must invoke the object's
<span title="concept-media-load-algorithm">resource selection
algorithm</span> before returning.</p>
algorithm</span> before returning. The element's document must be
the <span>active document</span> of the <span>browsing
context</span> of the <code>Window</code> object on which the
interface object of the invoked constructor is found.</p>

</div>

Expand Down Expand Up @@ -41462,7 +41468,10 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
otherwise the fourth argument is absent or false, and the <span
title="concept-option-selectedness">selectedness</span> must be set
to false, even if the <var title="">defaultSelected</var> argument
is present and true.</p>
is present and true. The element's document must be the <span>active
document</span> of the <span>browsing context</span> of the
<code>Window</code> object on which the interface object of the
invoked constructor is found.</p>

</div>

Expand Down

0 comments on commit a21b214

Please sign in to comment.