Skip to content

Commit

Permalink
[e] (0) Add more cross references to the new 'concept-window-document…
Browse files Browse the repository at this point in the history
…' thing, and clean up <frameset>'s event definitions (I always forget to update that when I'm updating <body>'s...).

Affected topics: DOM APIs, HTML, Security

git-svn-id: http://svn.whatwg.org/webapps@8097 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 27, 2013
1 parent 4f74d77 commit e30c73b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 78 deletions.
37 changes: 12 additions & 25 deletions complete.html
Expand Up @@ -65624,8 +65624,8 @@ <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>
IDL attributes must all return the <code><a href=#window>Window</a></code> object's <a href=#browsing-context>browsing context</a>'s
<code><a href=#windowproxy>WindowProxy</a></code> object.</p>

<p>The <dfn id=dom-document-0 title=dom-document><code>document</code></dfn> IDL attribute must return the
<code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code> object.</p>
<p>The <dfn id=dom-document-0 title=dom-document><code>document</code></dfn> IDL attribute must return
<a href=#concept-document-window title=concept-document-window>the <code>Window</code> object's newest <code>Document</code> object</a>.</p>

<p>The <dfn id=dom-document-defaultview title=dom-document-defaultView><code>defaultView</code></dfn> IDL attribute of the
<code><a href=#document>Document</a></code> interface must return the <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing
Expand All @@ -65646,7 +65646,7 @@ <h4 id=security-window><span class=secno>6.2.1 </span>Security</h4>
<p id=security-2>User agents must throw a <code><a href=#securityerror>SecurityError</a></code> exception whenever any
properties of a <code><a href=#window>Window</a></code> object are accessed when the <a href=#incumbent-script>incumbent script</a> has
an <a href=#effective-script-origin>effective script origin</a> that is not the <a href=#same-origin title="same origin">same</a> as
the <code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code>'s <a href=#effective-script-origin>effective script origin</a>,
<a href=#concept-document-window title=concept-document-window>the <code>Window</code> object's <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>,
with the following exceptions:</p>

<ul><li>The <code title=dom-location><a href=#dom-location>location</a></code> attribute
Expand Down Expand Up @@ -65676,7 +65676,7 @@ <h4 id=security-window><span class=secno>6.2.1 </span>Security</h4>
<li>The <a href=#dynamic-nested-browsing-context-properties>dynamic nested browsing context properties</a>

</ul><p>When the <a href=#incumbent-script>incumbent script</a>'s <a href=#effective-script-origin>effective script origin</a> is different than
a <code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code>'s <a href=#effective-script-origin>effective script origin</a>, the
a <a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a>'s <a href=#effective-script-origin>effective script origin</a>, the
user agent must act as if any changes to that <code><a href=#window>Window</a></code> object's properties, getters,
setters, etc, were not present, and as if all the properties of that <code><a href=#window>Window</a></code> object
had their [[Enumerable]] attribute set to false.</p>
Expand Down Expand Up @@ -65811,7 +65811,7 @@ <h4 id=apis-for-creating-and-navigating-browsing-contexts-by-name><span class=se
browsing context name</a>, then the user agent must instead <a href=#queue-a-task>queue a task</a> to
<a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-load>load</code> at the selected
<a href=#browsing-context>browsing context</a>'s <code><a href=#window>Window</a></code> object, but with its <code title=dom-event-target><a href=#dom-event-target>target</a></code> set to the selected <a href=#browsing-context>browsing context</a>'s
<code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code> object).</p>
<a href=#concept-document-window title=concept-document-window><code>Window</code> object's <code>Document</code></a> object (and the <code title=dom-event-currentTarget>currentTarget</code> set to the <code><a href=#window>Window</a></code> object).</p>

<p>The method must return the <code><a href=#windowproxy>WindowProxy</a></code> object of the <a href=#browsing-context>browsing context</a>
that was navigated, or null if no browsing context was navigated.</p>
Expand Down Expand Up @@ -67021,7 +67021,7 @@ <h4 id=the-session-history-of-browsing-contexts><span class=secno>6.5.1 </span>T
<p>The <dfn id=dom-history title=dom-history><code>history</code></dfn> attribute
of the <code><a href=#window>Window</a></code> interface must return the object
implementing the <code><a href=#history-0>History</a></code> interface for that
<code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code>.</p>
<a href=#concept-document-window title=concept-document-window><code>Window</code> object's newest <code>Document</code></a>.</p>

</div>

Expand Down Expand Up @@ -72804,7 +72804,7 @@ <h5 id=event-handlers-on-elements,-document-objects,-and-window-objects><span cl
by <code><a href=#window>Window</a></code> objects, as <a href=#event-handler-idl-attributes>event handler IDL attributes</a> on the
<code><a href=#window>Window</a></code> objects themselves, and with corresponding <a href=#event-handler-content-attributes>event handler content
attributes</a> and <a href=#event-handler-idl-attributes>event handler IDL attributes</a> exposed on all <code><a href=#the-body-element>body</a></code> and
<code><a href=#frameset>frameset</a></code> elements that are owned by that <code><a href=#window>Window</a></code> object's <code><a href=#document>Document</a></code>s:</p>
<code><a href=#frameset>frameset</a></code> elements that are owned by <a href=#concept-document-window title=concept-document-window>that <code>Window</code> object's <code>Document</code>s</a>:</p>

<table><thead><tr><th><a href=#event-handlers title="event handlers">Event handler</a> <th><a href=#event-handler-event-type>Event handler event type</a>
<tbody><tr><td><dfn id=handler-window-onafterprint title=handler-window-onafterprint><code>onafterprint</code></dfn> <td> <code title=event-afterprint>afterprint</code>
Expand Down Expand Up @@ -95661,6 +95661,7 @@ <h4 id=quotes><span class=secno>14.3.6 </span>Quotes</h4>
:root:lang(xog), :not(:lang(xog)) &gt; :lang(xog) { quotes: '\201c' '\201d' '\2018' '\2019' } /* &ldquo; &rdquo; &lsquo; &rsquor; */
:root:lang(yav), :not(:lang(yav)) &gt; :lang(yav) { quotes: '\00ab' '\00bb' '\00ab' '\00bb' } /* &laquo; &raquo; &laquo; &raquo; */
:root:lang(yo), :not(:lang(yo)) &gt; :lang(yo) { quotes: '\201c' '\201d' '\2018' '\2019' } /* &ldquo; &rdquo; &lsquo; &rsquor; */
:root:lang(zgh), :not(:lang(zgh)) &gt; :lang(zgh) { quotes: '\00ab' '\00bb' '\201e' '\201d' } /* &laquo; &raquo; &ldquor; &rdquo; */
:root:lang(zh), :not(:lang(zh)) &gt; :lang(zh) { quotes: '\201c' '\201d' '\2018' '\2019' } /* &ldquo; &rdquo; &lsquo; &rsquor; */
:root:lang(zh-Hant), :not(:lang(zh-Hant)) &gt; :lang(zh-Hant) { quotes: '\300c' '\300d' '\300e' '\300f' } /* &#x300c; &#x300d; &#x300e; &#x300f; */
:root:lang(zu), :not(:lang(zu)) &gt; :lang(zu) { quotes: '\201c' '\201d' '\2018' '\2019' } /* &ldquo; &rdquo; &lsquo; &rsquor; */
Expand Down Expand Up @@ -98407,24 +98408,10 @@ <h4 id=frames><span class=secno>15.3.3 </span>Frames</h4>
<p>The <dfn id=dom-frameset-cols title=dom-frameset-cols><code>cols</code></dfn> and <dfn id=dom-frameset-rows title=dom-frameset-rows><code>rows</code></dfn> IDL attributes of the <code><a href=#frameset>frameset</a></code>
element must <a href=#reflect>reflect</a> the respective content attributes of the same name.</p>

<p>The <code><a href=#frameset>frameset</a></code> element must support the following <a href=#event-handler-content-attributes>event handler content
attributes</a> exposing the <a href=#event-handlers>event handlers</a> of the <code><a href=#window>Window</a></code> object:</p>

<ul class=brief><li><code title=handler-window-onafterprint><a href=#handler-window-onafterprint>onafterprint</a></code></li>
<li><code title=handler-window-onbeforeprint><a href=#handler-window-onbeforeprint>onbeforeprint</a></code></li>
<li><code title=handler-window-onbeforeunload><a href=#handler-window-onbeforeunload>onbeforeunload</a></code></li>
<li><code title=handler-window-onhashchange><a href=#handler-window-onhashchange>onhashchange</a></code></li>
<li><code title=handler-window-onmessage><a href=#handler-window-onmessage>onmessage</a></code></li>
<li><code title=handler-window-onoffline><a href=#handler-window-onoffline>onoffline</a></code></li>
<li><code title=handler-window-ononline><a href=#handler-window-ononline>ononline</a></code></li>
<li><code title=handler-window-onpagehide><a href=#handler-window-onpagehide>onpagehide</a></code></li>
<li><code title=handler-window-onpageshow><a href=#handler-window-onpageshow>onpageshow</a></code></li>
<li><code title=handler-window-onpopstate><a href=#handler-window-onpopstate>onpopstate</a></code></li>
<li><code title=handler-window-onresize><a href=#handler-window-onresize>onresize</a></code></li>
<li><code title=handler-window-onstorage><a href=#handler-window-onstorage>onstorage</a></code></li>
<li><code title=handler-window-onunload><a href=#handler-window-onunload>onunload</a></code></li>
</ul><p>The DOM interface also exposes <a href=#event-handler-idl-attributes>event handler IDL attributes</a> that mirror those on
the <code><a href=#window>Window</a></code> element.</p>
<p>The <code><a href=#frameset>frameset</a></code> element exposes as <a href=#event-handler-content-attributes>event handler
content attributes</a> a number of the <a href=#event-handlers>event
handlers</a> of the <code><a href=#window>Window</a></code> object. It also mirrors
their <a href=#event-handler-idl-attributes>event handler IDL attributes</a>.</p>

<p>The <code title=handler-onblur><a href=#handler-onblur>onblur</a></code>, <code title=handler-onerror><a href=#handler-onerror>onerror</a></code>, <code title=handler-onfocus><a href=#handler-onfocus>onfocus</a></code>, <code title=handler-onload><a href=#handler-onload>onload</a></code>,
and <code title=handler-onscroll><a href=#handler-onscroll>onscroll</a></code> <a href=#event-handlers>event handlers</a> of the
Expand Down

0 comments on commit e30c73b

Please sign in to comment.