Skip to content
Permalink
Browse files

[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

git-svn-id: http://svn.whatwg.org/webapps@8701 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Aug 4, 2014
1 parent a09fee6 commit 9882f42045d7d1c71567a3d9f40fc875ae03cd61
Showing with 17 additions and 20 deletions.
  1. +6 −7 complete.html
  2. +6 −7 index
  3. +5 −6 source
<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>
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);

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>

<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
13 index
<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>
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);

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>

<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
11 source
<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>
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);

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>

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

0 comments on commit 9882f42

Please sign in to comment.
You can’t perform that action at this time.