Skip to content

Commit

Permalink
[giow] (0) Fix HTMLDocument's definition. Oops.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14037

git-svn-id: http://svn.whatwg.org/webapps@6725 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 21, 2011
1 parent 1332fe1 commit 6444060
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
11 changes: 6 additions & 5 deletions complete.html
Expand Up @@ -9224,8 +9224,6 @@ <h3 id=documents><span class=secno>3.1 </span>Documents</h3>

<pre class=idl>[OverrideBuiltins]
partial interface <a href=#document>Document</a> {
readonly attribute <code><a href=#document>Document</a></code> <a href=#htmldocument title=HTMLDocument>HTMLDocument</a>;

// <a href=#resource-metadata-management>resource metadata management</a>
[PutForwards=<a href=#dom-location-href title=dom-location-href>href</a>] readonly attribute <a href=#location>Location</a>? <a href=#dom-document-location title=dom-document-location>location</a>;
readonly attribute DOMString <a href=#dom-document-url title=dom-document-URL>URL</a>;
Expand Down Expand Up @@ -9332,9 +9330,6 @@ <h3 id=documents><span class=secno>3.1 </span>Documents</h3>
[TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-onreadystatechange title=handler-onreadystatechange>onreadystatechange</a>;
};</pre>

<p>The <dfn id=htmldocument><code>HTMLDocument</code></dfn> IDL attribute must
return the <code><a href=#document>Document</a></code> object on which it is called.</p>


<h4 id=security-document><span class=secno>3.1.2 </span>Security</h4>

Expand Down Expand Up @@ -62518,6 +62513,9 @@ <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>
[TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
[TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
[TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;

// legacy "interfaces"
readonly attribute <code><a href=#document>Document</a></code> <a href=#htmldocument title=HTMLDocument>HTMLDocument</a>;
};</pre>

<!-- for more features to add here, look here:
Expand Down Expand Up @@ -62572,6 +62570,9 @@ <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>
<code><a href=#windowproxy>WindowProxy</a></code> object, if there is one, or null
otherwise.</p>

<hr><p>The <dfn id=htmldocument><code>HTMLDocument</code></dfn> IDL attribute must
return the <code><a href=#document>Document</a></code> interface prototype object.</p>

</div>


Expand Down
11 changes: 6 additions & 5 deletions index
Expand Up @@ -9224,8 +9224,6 @@ interface <dfn id=transferable>Transferable</dfn> { };</pre>

<pre class=idl>[OverrideBuiltins]
partial interface <a href=#document>Document</a> {
readonly attribute <code><a href=#document>Document</a></code> <a href=#htmldocument title=HTMLDocument>HTMLDocument</a>;

// <a href=#resource-metadata-management>resource metadata management</a>
[PutForwards=<a href=#dom-location-href title=dom-location-href>href</a>] readonly attribute <a href=#location>Location</a>? <a href=#dom-document-location title=dom-document-location>location</a>;
readonly attribute DOMString <a href=#dom-document-url title=dom-document-URL>URL</a>;
Expand Down Expand Up @@ -9332,9 +9330,6 @@ partial interface <a href=#document>Document</a> {
[TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-onreadystatechange title=handler-onreadystatechange>onreadystatechange</a>;
};</pre>

<p>The <dfn id=htmldocument><code>HTMLDocument</code></dfn> IDL attribute must
return the <code><a href=#document>Document</a></code> object on which it is called.</p>


<h4 id=security-document><span class=secno>3.1.2 </span>Security</h4>

Expand Down Expand Up @@ -62518,6 +62513,9 @@ interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
[TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-window-onunload title=handler-window-onunload>onunload</a>;
[TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-onvolumechange title=handler-onvolumechange>onvolumechange</a>;
[TreatNonCallableAsNull] attribute <a href=#function>Function</a>? <a href=#handler-onwaiting title=handler-onwaiting>onwaiting</a>;

// legacy "interfaces"
readonly attribute <code><a href=#document>Document</a></code> <a href=#htmldocument title=HTMLDocument>HTMLDocument</a>;
};</pre>

<!-- for more features to add here, look here:
Expand Down Expand Up @@ -62572,6 +62570,9 @@ interface <dfn id=window>Window</dfn> : <a href=#eventtarget>EventTarget</a> {
<code><a href=#windowproxy>WindowProxy</a></code> object, if there is one, or null
otherwise.</p>

<hr><p>The <dfn id=htmldocument><code>HTMLDocument</code></dfn> IDL attribute must
return the <code><a href=#document>Document</a></code> interface prototype object.</p>

</div>


Expand Down
13 changes: 8 additions & 5 deletions source
Expand Up @@ -9251,8 +9251,6 @@ interface <dfn>Transferable</dfn> { };</pre>

<pre class="idl">[OverrideBuiltins]
partial interface <span>Document</span> {
readonly attribute <code>Document</code> <span title="HTMLDocument">HTMLDocument</span>;

// <span>resource metadata management</span>
[PutForwards=<span title="dom-location-href">href</span>] readonly attribute <span>Location</span>? <span title="dom-document-location">location</span>;
readonly attribute DOMString <span title="dom-document-URL">URL</span>;
Expand Down Expand Up @@ -9359,9 +9357,6 @@ partial interface <span>Document</span> {
[TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-onreadystatechange">onreadystatechange</span>;
};</pre>

<p>The <dfn><code>HTMLDocument</code></dfn> IDL attribute must
return the <code>Document</code> object on which it is called.</p>


<h4 id="security-document">Security</h4>

Expand Down Expand Up @@ -70970,6 +70965,9 @@ interface <dfn>Window</dfn> : <span>EventTarget</span> {
[TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-window-onunload">onunload</span>;
[TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-onvolumechange">onvolumechange</span>;
[TreatNonCallableAsNull] attribute <span>Function</span>? <span title="handler-onwaiting">onwaiting</span>;

// legacy "interfaces"
readonly attribute <code>Document</code> <span title="HTMLDocument">HTMLDocument</span>;
};</pre>

<!-- for more features to add here, look here:
Expand Down Expand Up @@ -71031,6 +71029,11 @@ interface <dfn>Window</dfn> : <span>EventTarget</span> {
<code>WindowProxy</code> object, if there is one, or null
otherwise.</p>

<hr>

<p>The <dfn><code>HTMLDocument</code></dfn> IDL attribute must
return the <code>Document</code> interface prototype object.</p>

</div>


Expand Down

0 comments on commit 6444060

Please sign in to comment.