[html5] r8701 - [giow] (2) Defer to CSSOM View for window.open(..., ..., features, ...) Fixing h [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Aug 4 11:57:23 PDT 2014


Author: ianh
Date: 2014-08-04 11:57:19 -0700 (Mon, 04 Aug 2014)
New Revision: 8701

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Defer to CSSOM View for window.open(..., ..., features, ...)
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25685
Affected topics: DOM APIs, HTML

Modified: complete.html
===================================================================
--- complete.html	2014-08-04 18:51:00 UTC (rev 8700)
+++ complete.html	2014-08-04 18:57:19 UTC (rev 8701)
@@ -2454,7 +2454,8 @@
          <dfn id=concept-css-style-sheet-disabeld-flag>disabled flag</dfn>,
          <dfn id=concept-css-style-sheet-css-rules>CSS rules</dfn>,
          <dfn id=concept-css-style-sheet-origin-clean-flag>origin-clean flag</dfn>
-     <li><dfn id=alternative-style-sheet-sets>Alternative style sheet sets</dfn> and the <dfn id=preferred-style-sheet-set>preferred style sheet set</dfn><li><dfn id=serialising-a-css-value>Serialising a CSS value</dfn><li><dfn id=scroll-an-element-into-view>Scroll an element into view</dfn><li><dfn id=scroll-to-the-beginning-of-the-document>Scroll to the beginning of the document</dfn><li>The <dfn id=event-resize><code>resize</code></dfn> event<li>The <dfn id=event-scroll><code>scroll</code></dfn> event</ul>
+     <li><dfn id=alternative-style-sheet-sets>Alternative style sheet sets</dfn> and the <dfn id=preferred-style-sheet-set>preferred style sheet set</dfn><li><dfn id=serialising-a-css-value>Serialising a CSS value</dfn><li><dfn id=scroll-an-element-into-view>Scroll an element into view</dfn><li><dfn id=scroll-to-the-beginning-of-the-document>Scroll to the beginning of the document</dfn><li>The <dfn id=event-resize><code>resize</code></dfn> event<li>The <dfn id=event-scroll><code>scroll</code></dfn> event<li><dfn id=dom-open-features><a href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>The <var>features</var> argument of <code>window.open</code></a></dfn>
+    </ul>
 
     <p>The term <dfn id=environment-encoding>environment encoding</dfn> is defined in the <cite>CSS Syntax</cite>
     specifications. <a href=#refsCSSSYNTAX>[CSSSYNTAX]</a></p>
@@ -56784,7 +56785,7 @@
            attribute any <a href=#dom-opener id=the-window-object:dom-opener>opener</a>;
   readonly attribute <a href=#windowproxy id=the-window-object:windowproxy-5>WindowProxy</a> <a href=#dom-parent id=the-window-object:dom-parent>parent</a>;
   readonly attribute <a href=#element id=the-window-object:element>Element</a>? <a href=#dom-frameelement id=the-window-object:dom-frameelement>frameElement</a>;
-  <a href=#windowproxy id=the-window-object:windowproxy-6>WindowProxy</a> <a href=#dom-open id=the-window-object:dom-open>open</a>(optional DOMString url = "about:blank", optional DOMString target = "_blank", optional DOMString features = "", optional boolean replace = false);
+  <a href=#windowproxy id=the-window-object:windowproxy-6>WindowProxy</a> <a href=#dom-open id=the-window-object:dom-open>open</a>(optional DOMString url = "about:blank", optional DOMString target = "_blank", [TreatNullAs=EmptyString] optional DOMString features = "", optional boolean replace = false);
   <a href=#dom-window-item id=the-window-object:dom-window-item>getter</a> <a href=#windowproxy id=the-window-object:windowproxy-7>WindowProxy</a> (unsigned long index);
   <a href=#dom-window-nameditem id=the-window-object:dom-window-nameditem>getter</a> object (DOMString name);
 
@@ -56926,7 +56927,7 @@
     returns it. The <var>target</var> argument gives the name of the new window. If a
     window exists with that name already, it is reused. The <var>replace</var> attribute,
     if true, means that whatever page is currently open in that window will be removed from the
-    window's session history. The <var>features</var> argument is ignored.</p>
+    window's session history. The <var id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-open-features><a data-x-internal=dom-open-features href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>features</a></var> argument can be used to influence the rendering of the new window.</p>
 
    <dt><var>window</var> . <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-name><a href=#dom-name>name</a></code> [ = <var>value</var> ]<dd>
 
@@ -56967,10 +56968,8 @@
   <p>The second argument, <var>target</var>, specifies the <a href=#browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-name>name</a> of the browsing context that is to be navigated. It must be a <a href=#valid-browsing-context-name-or-keyword id=apis-for-creating-and-navigating-browsing-contexts-by-name:valid-browsing-context-name-or-keyword>valid
   browsing context name or keyword</a>.</p>
 
-  <p>The third argument, <var>features</var>, has no defined effect and is mentioned for
-  historical reasons only. User agents may interpret this argument as instructions to set the size
-  and position of the browsing context, but are encouraged to instead ignore the argument
-  entirely.</p>
+  <p>The third argument, <var id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-open-features-2><a data-x-internal=dom-open-features href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>features</a></var>, must be interpreted as
+  defined in the CSSOM View specification. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></p>
 
   <p>The fourth argument, <var>replace</var>, specifies whether or not the new page will
   <a href=#replacement-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:replacement-enabled>replace</a> the page currently loaded in the browsing

Modified: index
===================================================================
--- index	2014-08-04 18:51:00 UTC (rev 8700)
+++ index	2014-08-04 18:57:19 UTC (rev 8701)
@@ -2454,7 +2454,8 @@
          <dfn id=concept-css-style-sheet-disabeld-flag>disabled flag</dfn>,
          <dfn id=concept-css-style-sheet-css-rules>CSS rules</dfn>,
          <dfn id=concept-css-style-sheet-origin-clean-flag>origin-clean flag</dfn>
-     <li><dfn id=alternative-style-sheet-sets>Alternative style sheet sets</dfn> and the <dfn id=preferred-style-sheet-set>preferred style sheet set</dfn><li><dfn id=serialising-a-css-value>Serialising a CSS value</dfn><li><dfn id=scroll-an-element-into-view>Scroll an element into view</dfn><li><dfn id=scroll-to-the-beginning-of-the-document>Scroll to the beginning of the document</dfn><li>The <dfn id=event-resize><code>resize</code></dfn> event<li>The <dfn id=event-scroll><code>scroll</code></dfn> event</ul>
+     <li><dfn id=alternative-style-sheet-sets>Alternative style sheet sets</dfn> and the <dfn id=preferred-style-sheet-set>preferred style sheet set</dfn><li><dfn id=serialising-a-css-value>Serialising a CSS value</dfn><li><dfn id=scroll-an-element-into-view>Scroll an element into view</dfn><li><dfn id=scroll-to-the-beginning-of-the-document>Scroll to the beginning of the document</dfn><li>The <dfn id=event-resize><code>resize</code></dfn> event<li>The <dfn id=event-scroll><code>scroll</code></dfn> event<li><dfn id=dom-open-features><a href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>The <var>features</var> argument of <code>window.open</code></a></dfn>
+    </ul>
 
     <p>The term <dfn id=environment-encoding>environment encoding</dfn> is defined in the <cite>CSS Syntax</cite>
     specifications. <a href=#refsCSSSYNTAX>[CSSSYNTAX]</a></p>
@@ -56784,7 +56785,7 @@
            attribute any <a href=#dom-opener id=the-window-object:dom-opener>opener</a>;
   readonly attribute <a href=#windowproxy id=the-window-object:windowproxy-5>WindowProxy</a> <a href=#dom-parent id=the-window-object:dom-parent>parent</a>;
   readonly attribute <a href=#element id=the-window-object:element>Element</a>? <a href=#dom-frameelement id=the-window-object:dom-frameelement>frameElement</a>;
-  <a href=#windowproxy id=the-window-object:windowproxy-6>WindowProxy</a> <a href=#dom-open id=the-window-object:dom-open>open</a>(optional DOMString url = "about:blank", optional DOMString target = "_blank", optional DOMString features = "", optional boolean replace = false);
+  <a href=#windowproxy id=the-window-object:windowproxy-6>WindowProxy</a> <a href=#dom-open id=the-window-object:dom-open>open</a>(optional DOMString url = "about:blank", optional DOMString target = "_blank", [TreatNullAs=EmptyString] optional DOMString features = "", optional boolean replace = false);
   <a href=#dom-window-item id=the-window-object:dom-window-item>getter</a> <a href=#windowproxy id=the-window-object:windowproxy-7>WindowProxy</a> (unsigned long index);
   <a href=#dom-window-nameditem id=the-window-object:dom-window-nameditem>getter</a> object (DOMString name);
 
@@ -56926,7 +56927,7 @@
     returns it. The <var>target</var> argument gives the name of the new window. If a
     window exists with that name already, it is reused. The <var>replace</var> attribute,
     if true, means that whatever page is currently open in that window will be removed from the
-    window's session history. The <var>features</var> argument is ignored.</p>
+    window's session history. The <var id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-open-features><a data-x-internal=dom-open-features href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>features</a></var> argument can be used to influence the rendering of the new window.</p>
 
    <dt><var>window</var> . <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-name><a href=#dom-name>name</a></code> [ = <var>value</var> ]<dd>
 
@@ -56967,10 +56968,8 @@
   <p>The second argument, <var>target</var>, specifies the <a href=#browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-name>name</a> of the browsing context that is to be navigated. It must be a <a href=#valid-browsing-context-name-or-keyword id=apis-for-creating-and-navigating-browsing-contexts-by-name:valid-browsing-context-name-or-keyword>valid
   browsing context name or keyword</a>.</p>
 
-  <p>The third argument, <var>features</var>, has no defined effect and is mentioned for
-  historical reasons only. User agents may interpret this argument as instructions to set the size
-  and position of the browsing context, but are encouraged to instead ignore the argument
-  entirely.</p>
+  <p>The third argument, <var id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-open-features-2><a data-x-internal=dom-open-features href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>features</a></var>, must be interpreted as
+  defined in the CSSOM View specification. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a></p>
 
   <p>The fourth argument, <var>replace</var>, specifies whether or not the new page will
   <a href=#replacement-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:replacement-enabled>replace</a> the page currently loaded in the browsing

Modified: source
===================================================================
--- source	2014-08-04 18:51:00 UTC (rev 8700)
+++ source	2014-08-04 18:57:19 UTC (rev 8701)
@@ -3155,6 +3155,7 @@
      <li><dfn>Scroll to the beginning of the document</dfn></li>
      <li>The <dfn><code data-x="event-resize">resize</code></dfn> event</li>
      <li>The <dfn><code data-x="event-scroll">scroll</code></dfn> event</li>
+     <li><dfn data-x="dom-open-features" data-x-href="http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method">The <var>features</var> argument of <code data-x="dom-open">window.open</code></dfn>
     </ul>
 
     <p>The term <dfn>environment encoding</dfn> is defined in the <cite>CSS Syntax</cite>
@@ -76754,7 +76755,7 @@
            attribute any <span data-x="dom-opener">opener</span>;
   readonly attribute <span>WindowProxy</span> <span data-x="dom-parent">parent</span>;
   readonly attribute <span>Element</span>? <span data-x="dom-frameElement">frameElement</span>;
-  <span>WindowProxy</span> <span data-x="dom-open">open</span>(optional DOMString url = "about:blank", optional DOMString target = "_blank", optional DOMString features = "", optional boolean replace = false);
+  <span>WindowProxy</span> <span data-x="dom-open">open</span>(optional DOMString url = "about:blank", optional DOMString target = "_blank", [TreatNullAs=EmptyString] optional DOMString features = "", optional boolean replace = false);
   <span data-x="dom-window-item">getter</span> <span>WindowProxy</span> (unsigned long index);
   <span data-x="dom-window-namedItem">getter</span> object (DOMString name);
 
@@ -76926,7 +76927,7 @@
     returns it. The <var>target</var> argument gives the name of the new window. If a
     window exists with that name already, it is reused. The <var>replace</var> attribute,
     if true, means that whatever page is currently open in that window will be removed from the
-    window's session history. The <var>features</var> argument is ignored.</p>
+    window's session history. The <var data-x="dom-open-features">features</var> argument can be used to influence the rendering of the new window.</p>
 
    </dd>
 
@@ -76986,10 +76987,8 @@
   name">name</span> of the browsing context that is to be navigated. It must be a <span>valid
   browsing context name or keyword</span>.</p>
 
-  <p>The third argument, <var>features</var>, has no defined effect and is mentioned for
-  historical reasons only. User agents may interpret this argument as instructions to set the size
-  and position of the browsing context, but are encouraged to instead ignore the argument
-  entirely.</p>
+  <p>The third argument, <var data-x="dom-open-features">features</var>, must be interpreted as
+  defined in the CSSOM View specification. <ref spec="CSSOMVIEW"></p>
 
   <p>The fourth argument, <var>replace</var>, specifies whether or not the new page will
   <span data-x="replacement enabled">replace</span> the page currently loaded in the browsing



More information about the Commit-Watchers mailing list