Skip to content

Commit

Permalink
ORIGIN is no more
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Aug 6, 2014
1 parent 1bb586f commit d354f76
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 38 deletions.
6 changes: 3 additions & 3 deletions Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -4287,9 +4287,9 @@ <h3>Interface <code>Document</code></h3>
attributes must return the <span title=concept-document-url>URL</span>.

<p>The <dfn title=dom-Document-origin><code>origin</code></dfn>
attribute must return the <span data-anolis-spec=origin>Unicode serialization</span> of
<span>context object</span>'s <span data-anolis-spec=html>origin</span>.
<span data-anolis-ref>ORIGIN</span>
attribute must return the
<span data-anolis-spec=html title="Unicode serialization of an origin">Unicode serialization</span>
of <span>context object</span>'s <span data-anolis-spec=html>origin</span>.

<p>The <dfn title=dom-Document-compatMode><code>compatMode</code></dfn>
attribute must return "<code title>BackCompat</code>" if the
Expand Down
67 changes: 32 additions & 35 deletions dom-core.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<hgroup>
<h1 class="allcaps">DOM</h1>
<h2>Living Standard — Last Updated 5 June 2014</h2>
<h2>Living Standard — Last Updated 6 August 2014</h2>
</hgroup>

<dl>
Expand Down Expand Up @@ -44,7 +44,7 @@ <h2>Living Standard — Last Updated 5 June 2014</h2>
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editors have waived all copyright and
related or neighboring rights to this work. In addition, as of
5 June 2014, the editors have made this specification available
6 August 2014, the editors have made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
Expand Down Expand Up @@ -1448,7 +1448,7 @@ <h3 id="introduction-to-the-dom"><span class="secno">5.1 </span>Introduction to
-->

<p>Note that, due to the magic that is
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#html-parser" title="HTML parser">HTML parsing</a>, not all
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#html-parser" title="HTML parser">HTML parsing</a>, not all
<a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#ascii-whitespace">ASCII whitespace</a> were turned into
<code><a href="#text">Text</a></code> <a href="#concept-node" title="concept-node">nodes</a>, but the general
concept is clear. Markup goes in, a <a href="#concept-tree" title="concept-tree">tree</a> of
Expand Down Expand Up @@ -3635,8 +3635,8 @@ <h3 id="interface-node"><span class="secno">5.4 </span>Interface <code><a href="

<p class="note no-backref">HTML defines
<a href="#concept-node-clone-ext" title="concept-node-clone-ext">cloning steps</a> for
<code class="external" data-anolis-spec="html"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#the-script-element">script</a></code> and
<code class="external" data-anolis-spec="html"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#the-input-element">input</a></code> elements. SVG ought to do the same
<code class="external" data-anolis-spec="html"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting.html#the-script-element">script</a></code> and
<code class="external" data-anolis-spec="html"><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#the-input-element">input</a></code> elements. SVG ought to do the same
for its <code title="">script</code> elements, but does not call this out at
the moment.

Expand Down Expand Up @@ -4270,10 +4270,10 @@ <h3 id="interface-document"><span class="secno">5.5 </span>Interface <code><a hr
"<code title="">about:blank</code>".

<p>Unless stated otherwise, a <a href="#concept-document" title="concept-document">document</a>'s
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> is a globally unique identifier
and its <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#effective-script-origin">effective script origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#concept-origin-alias" title="concept-origin-alias">alias</a> of that
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a>.
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a> is a globally unique identifier
and its <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#effective-script-origin">effective script origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#concept-origin-alias" title="concept-origin-alias">alias</a> of that
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a>.
<a href="#refsHTML">[HTML]</a>

<p>A <a href="#concept-document" title="concept-document">document</a> is assumed to be an
Expand All @@ -4293,7 +4293,7 @@ <h3 id="interface-document"><span class="secno">5.5 </span>Interface <code><a hr

<p class="note">The mode is only ever changed from the default if the
<a href="#concept-document" title="concept-document">document</a> is created by the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#html-parser">HTML parser</a>, based on the presence,
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#html-parser">HTML parser</a>, based on the presence,
absence, or value of the DOCTYPE string.
<a href="#refsHTML">[HTML]</a>

Expand All @@ -4318,7 +4318,7 @@ <h3 id="interface-document"><span class="secno">5.5 </span>Interface <code><a hr
<dd><p>Returns <var title="">document</var>'s <a href="#concept-document-url" title="concept-document-url">URL</a>.

<dt><code><var title="">document</var> . <a href="#dom-document-origin" title="dom-Document-origin">origin</a></code>
<dd><p>Returns <var title="">document</var>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a>.
<dd><p>Returns <var title="">document</var>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a>.

<dt><code><var title="">document</var> . <a href="#dom-document-compatmode" title="dom-Document-compatMode">compatMode</a></code>
<dd>
Expand All @@ -4340,13 +4340,13 @@ <h3 id="interface-document"><span class="secno">5.5 </span>Interface <code><a hr

<p>The <dfn id="dom-document" title="dom-Document"><code>Document()</code></dfn> constructor
must return a new <a href="#concept-document" title="concept-document">document</a> whose
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> of the global object's associated
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a> of the global object's associated
<a href="#concept-document" title="concept-document">document</a>, and
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#effective-script-origin">effective script origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#effective-script-origin">effective script origin</a> of the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#effective-script-origin">effective script origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#effective-script-origin">effective script origin</a> of the
global object's associated <a href="#concept-document" title="concept-document">document</a>.
<a href="#refsHTML">[HTML]</a>

Expand All @@ -4365,9 +4365,9 @@ <h3 id="interface-document"><span class="secno">5.5 </span>Interface <code><a hr
attributes must return the <a href="#concept-document-url" title="concept-document-url">URL</a>.

<p>The <dfn id="dom-document-origin" title="dom-Document-origin"><code>origin</code></dfn>
attribute must return the <a class="external" data-anolis-spec="origin" href="http://tools.ietf.org/html/rfc6454#section-6.1">Unicode serialization</a> of
<a href="#context-object">context object</a>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a>.
<a href="#refsORIGIN">[ORIGIN]</a>
attribute must return the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#unicode-serialisation-of-an-origin" title="Unicode serialization of an origin">Unicode serialization</a>
of <a href="#context-object">context object</a>'s <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a>.

<p>The <dfn id="dom-document-compatmode" title="dom-Document-compatMode"><code>compatMode</code></dfn>
attribute must return "<code title="">BackCompat</code>" if the
Expand Down Expand Up @@ -5055,15 +5055,15 @@ <h4 id="interface-domimplementation"><span class="secno">5.5.1 </span>Interface
<var title="">element</var> to <var title="">document</var>.

<li><p><var title="">document</var>'s
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> of the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a> of the
<a href="#context-object">context object</a>'s associated
<a href="#concept-document" title="concept-document">document</a>, and
<var title="">document</var>'s
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#effective-script-origin">effective script origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#effective-script-origin">effective script origin</a> of the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#effective-script-origin">effective script origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#effective-script-origin">effective script origin</a> of the
<a href="#context-object">context object</a>'s associated
<a href="#concept-document" title="concept-document">document</a>.
<a href="#refsHTML">[HTML]</a>
Expand Down Expand Up @@ -5121,15 +5121,15 @@ <h4 id="interface-domimplementation"><span class="secno">5.5.1 </span>Interface
<code title="">html</code> element created in the earlier step.

<li><p><var title="">doc</var>'s
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a> of the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a> of the
<a href="#context-object">context object</a>'s associated
<a href="#concept-document" title="concept-document">document</a>, and
<var title="">doc</var>'s
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#effective-script-origin">effective script origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#effective-script-origin">effective script origin</a> of the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#effective-script-origin">effective script origin</a> is an
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#concept-origin-alias" title="concept-origin-alias">alias</a> to the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#effective-script-origin">effective script origin</a> of the
<a href="#context-object">context object</a>'s associated
<a href="#concept-document" title="concept-document">document</a>.
<a href="#refsHTML">[HTML]</a>
Expand Down Expand Up @@ -9193,9 +9193,6 @@ <h2 class="no-num" id="references">References</h2>
<dt id="refsHTML">[HTML]
<dd><cite><a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">HTML</a></cite>, Ian Hickson. WHATWG.

<dt id="refsORIGIN">[ORIGIN]
<dd><cite><a href="http://tools.ietf.org/html/rfc6454">The Web Origin Concept</a></cite>, Adam Barth. IETF.

<dt id="refsRFC2119">[RFC2119]
<dd><cite><a href="http://tools.ietf.org/html/rfc2119">Key words for use in RFCs to Indicate Requirement Levels</a></cite>, Scott Bradner. IETF.

Expand Down

0 comments on commit d354f76

Please sign in to comment.