W3C home > Mailing lists > Public > public-html-diffs@w3.org > February 2011

hixie: Update how WindowModal gets merged in using new text from heycam. (whatwg r5885)

From: poot <cvsmail@w3.org>
Date: Mon, 14 Feb 2011 17:52:34 -0500
To: public-html-diffs@w3.org
Message-Id: <E1Pp7HW-0006jH-Ek@jay.w3.org>
hixie: Update how WindowModal gets merged in using new text from heycam.
(whatwg r5885)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4726&r2=1.4727&f=h
http://html5.org/tools/web-apps-tracker?from=5884&to=5885

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4726
retrieving revision 1.4727
diff -u -d -r1.4726 -r1.4727
--- Overview.html	14 Feb 2011 22:35:57 -0000	1.4726
+++ Overview.html	14 Feb 2011 22:51:08 -0000	1.4727
@@ -49714,10 +49714,15 @@
 
   </ol><p>The <code><a href="#window">Window</a></code> objects of <code><a href="#document">Document</a></code>s hosted
   by <a href="#browsing-context" title="browsing context">browsing contexts</a> created
-  by the above algorithm must all have the <code><a href="#windowmodal">WindowModal</a></code>
-  interface added to their <code><a href="#window">Window</a></code> interface:</p>
+  by the above algorithm must also implement the
+  <code><a href="#windowmodal">WindowModal</a></code> interface.</p>
 
-  </div><pre class="idl">[Supplemental, NoInterfaceObject] interface <dfn id="windowmodal">WindowModal</dfn> {
+  <p class="note">When this happens, the members of the
+  <code><a href="#windowmodal">WindowModal</a></code> interface, in JavaScript environments,
+  appear to actually be part of the <code><a href="#window">Window</a></code> interface
+  (e.g. they are on the same prototype chain as the <code title="dom-alert"><a href="#dom-alert">window.alert()</a></code> method).</p>
+
+  </div><pre class="idl">[NoInterfaceObject] interface <dfn id="windowmodal">WindowModal</dfn> {
   readonly attribute any <a href="#dom-windowmodal-dialogarguments" title="dom-WindowModal-dialogArguments">dialogArguments</a>;
            attribute DOMString <a href="#dom-windowmodal-returnvalue" title="dom-WindowModal-returnValue">returnValue</a>;
 };</pre><dl class="domintro"><dt><var title="">window</var> . <code title="dom-WindowModal-dialogArguments"><a href="#dom-windowmodal-dialogarguments">dialogArguments</a></code></dt>
Received on Monday, 14 February 2011 22:52:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 14 February 2011 22:52:52 GMT