Commit 8e58ffe6 authored by Glenn Adams's avatar Glenn Adams
Browse files

Update fetches.

parent 21cfe8fe
......@@ -345,7 +345,7 @@
<h1>HTML Canvas 2D Context</h1>
<h2 class="no-num no-toc" id="generatedID"></h2>
<p class="no-num no-toc subline">Editor's Draft 30 June 2014</p>
<p class="no-num no-toc subline">Editor's Draft 30 July 2014</p>
</header>
<dl>
<dt>Latest Published Version:</dt>
......@@ -358,7 +358,7 @@
<dt id="specification-editors">Editors:</dt>
<dd>W3C:</dd>
<dd><a href="mailto:cabanier@adobe.com">Rik Cabanier</a>, Adobe Systems, Inc.</dd>
<dd><a href="mailto:eliot.graff@microsoft.com">Eliot Graff</a>, Microsoft Corporation</dd>
<dd><a href="mailto:jmann@microsoft.com">Jatinder Mann</a>, Microsoft Corporation</dd>
<dd><a href="mailto:jaymunro@microsoft.com">Jay Munro</a>, Microsoft Corporation</dd>
<dd><a href="mailto:wiltzius@google.com">Tom Wiltzius</a>, Google, Inc.</dd>
<dd>WHATWG:</dd>
......@@ -459,7 +459,7 @@
<p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working
Group</a> is the W3C working group responsible for this
specification's progress.
This specification is the 30 June 2014 Editor's Draft.
This specification is the 30 July 2014 Editor's Draft.
This specification is intended to become a W3C Recommendation.
</p>
......@@ -475,97 +475,54 @@
</ul>
<h3 class="no-num no-toc" id="commenting-on-this-last-call-working-draft">Commenting on this Last Call Working Draft</h3>
<p>Publication as a Candidate Recommendation does not imply endorsement by the W3C Membership.
This is a draft document and may be updated, replaced or obsoleted by other documents at
any time. It is inappropriate to cite this document as other than work in progress.</p>
<p>
This Last Call period for this Working Draft ends 20 June 2014.
To make Last Call comments, submit them via using
<a href="https://www.w3.org/Bugs/Public/enter_bug.cgi?product=HTML%20WG&amp;component=CR%20HTML%20Canvas%202D%20Context">our public bug database</a>.
If you cannot do this then you can also e-mail feedback to <a href="mailto:public-html-comments@w3.org">public-html-comments@w3.org</a>
(<a href="mailto:public-html-comments-request@w3.org?subject=subscribe">subscribe</a>,
<a href="http://lists.w3.org/Archives/Public/public-html-comments/">archives</a>),
and arrangements will be made to transpose the comments to our
public bug database.</p>
<h3 class="no-num no-toc" id="changes-causing-the-progression-back-to-last-call">Changes causing the progression back to Last Call</h3>
<p>This Last Call Working Draft incorporates changes made by the <a href="https://www.w3.org/WAI/PF/HTML/wiki/Canvas">Canvas Accessibility Sub-Group</a> (<a href="https://www.w3.org/WAI/PF/HTML/wiki/Canvas/Meetings/Minutes#Canvas_Accessibility_Teleconferences:_2014">minutes</a>)
in response to <a href="http://lists.w3.org/Archives/Public/public-html-admin/2013Sep/0013.html">feedback
from the HTML Accessibility Task Force</a> and adds support for visual focus indicators (<a href="#dom-context-2d-drawfocusifneeded">drawFocusIfNeeded()</a>)
and a method for updating the accessibility API of the location of fallback elements that are representative of the corresponding hit region location (<a href="#hit-regions">Hit Regions</a>). These features were designed to be forward compatible with <a href="http://www.w3.org/TR/2013/WD-2dcontext2-20131029/#hit-regions">Canvas 2D Context, Level 2</a>.
</p><p>
The following are the specific changes that were made to this
specification in updating it for a return to Last Call.
</p><h4 class="no-num no-toc" id="removals">Removals</h4>
<p>The following are at-risk features that have been removed from the
HTML Canvas 2D Context Level 1 specification, and pushed to to the
HTML Canvas 2D Context level 2 specification:
</p><ul>
<li>The "Path objects" section was removed, along with references
in other sections to path versions of methods defined on those sections.
</li><li>The <code>ellipse()</code> method was removed. (It's not yet
implemented in any user agents, and ellipses can be drawn with
the <code>arc()</code> method.
</li><li>The attributes
<code>actualBoundingBoxLeft</code>,
<code>actualBoundingBoxRight</code>,
<code>fontBoundingBoxAscent</code>,
<code>fontBoundingBoxDecent</code>,
<code>emHeightAscentNo</code>,
<code>hangingBaseline</code>,
<code>alphabetBaseline</code>,
and
<code>ideographicBaseline</code>
were removed from the <code><a href="#textmetrics">TextMetrics</a></code> object returned by the
<code>measureText()</code> method.
</li><li>The attributes
<code>path</code>,
<code>parentID</code>,
<code>cursor</code>,
<code>label</code>,
<code>role</code>,
and
<code>region</code>
were removed from the <code><a href="#hitregionoptions">HitRegionOptions</a></code>
dictionary.
</li><li>The <code>scrollPathIntoView()</code> method was removed.
</li><li>The <code>drawCustomFocusRing()</code> method was removed.
</li></ul>
<h4 class="no-num no-toc" id="additions/changes">Additions/changes</h4>
<p>The following are additions and changes made to this
specification after the previous publication.
</p><ul>
<li><b>Focus rings</b>
<ul>
<li>Changed name of the name of the
<code>drawSystemFocusRing()</code> method to
<code>drawFocusIfNeeded()</code>.
It was felt that focus is not necessarily a ring.
</li></ul>
</li><li><b>Hit regions</b>
<ul>
<li>The initial hit region dictionary has been reduced to two
elements, <code>control</code> and <code>id</code>. The other
items in the dictionary were not going to be implemented for
the Level 1 spec.
</li><li>The hit region section has been edited to only work with
the current path, not the path object as initially specified.
Path object was an at risk feature that was removed. The
level 2 spec will address the use of the path object.
</li><li>The <code>clearHitRegions()</code> method was added. This
method clears all hit regions for a given canvas without
requiring individual control or id values. It is similar in
operation to the <code>clearRect()</code> methods.
</li></ul>
</li><li><b>Mouse events</b>
<ul>
<li>The <code>mouseEvent</code> interface was updated to not use
re-targeting of a mouse event. It returns the id of the hit
region as a parameter to the event object. The developer can
handle the <code>mouseEvent</code> as needed.
</li></ul>
</li></ul>
For this specification to exit the CR stage, the conditions detailed in the
<a href="http://dev.w3.org/html5/decision-policy/public-permissive-exit-criteria.html">CR Exit
Criteria (Public Permissive version 3)</a> document will have to be met.
</p>
<!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO THE EDITORS FIRST -->
<!-- version history or list of changes (required) -->
<p>The latest stable version of the editor's draft of this
specification is always available on <a href="http://dev.w3.org/html5/">the W3C CVS server</a>.
There are various ways to follow the change history for this specification:
</p>
<dl>
<dt>Browsable version-control record of all changes:</dt>
<dd>Github repository (real-time updates): <a href="https://github.com/w3c/html/commits/master">https://github.com/w3c/html/commits/master</a></dd>
<dd>CVSWeb interface (hourly updates): <a href="http://dev.w3.org/cvsweb/html5/spec/">http://dev.w3.org/cvsweb/html5/spec/</a></dd>
<dt>E-mail notifications of changes:</dt>
<dd>HTML-Commits mailing list (commit notifications for dev.w3.org/html5): <a href="http://lists.w3.org/Archives/Public/public-html-commits/latest">http://lists.w3.org/Archives/Public/public-html-commits/latest</a></dd>
</dl>
<!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING LIST TO BE REMOVED OR EDITED WITHOUT TALKING TO THE EDITORS FIRST -->
<!-- status of document, group responsible (required) -->
<p>
This document was published by the <a href="http://www.w3.org/html/wg/">HTML Working Group</a> as
a Candidate Recommendation. This document is intended to become a
<abbr title="World Wide Web Consortium">W3C</abbr> Recommendation.
<abbr title="World Wide Web Consortium">W3C</abbr> publishes a Candidate Recommendation to indicate that the document
is believed to be stable and to encourage implementation by the developer community. This Candidate Recommendation is
expected to advance to Proposed Recommendation no earlier than 17 June 2013. All feedback is welcome.
</p>
<!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO THE EDITORS FIRST -->
<!-- relationship to other work (required) -->
<p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
group charter</a>. There are various ways to follow this work at the WHATWG:</p>
<ul>
<li>Commit-Watchers mailing list (complete source diffs): <a href="http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org">http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org</a></li>
<li>Annotated summary with unified diffs: <a href="http://html5.org/tools/web-apps-tracker">http://html5.org/tools/web-apps-tracker</a></li>
<li>Raw Subversion interface: <code>svn checkout http://svn.whatwg.org/webapps/</code></li>
</ul>
<!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO THE EDITORS FIRST -->
<!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST -->
......
Mon, 30 Jun 2014 13:20:09 GMT
\ No newline at end of file
Wed, 30 Jul 2014 17:10:09 GMT
\ No newline at end of file
Tue, 24 Jun 2014 11:27:48 GMT
\ No newline at end of file
Wed, 09 Jul 2014 14:00:17 GMT
\ No newline at end of file
This diff is collapsed.
Wed, 25 Jun 2014 19:14:13 GMT
\ No newline at end of file
Tue, 15 Jul 2014 21:13:17 GMT
\ No newline at end of file
......@@ -348,7 +348,7 @@
 
<h1 id="big-title">HTML5</h1>
<p class="no-num no-toc subline">A vocabulary and associated APIs for HTML and XHTML</p>
<p class="no-num no-toc subline">Editor's Draft 30 June 2014</p>
<p class="no-num no-toc subline">Editor's Draft 30 July 2014</p>
</header>
<dl>
<dt>Latest Published Version:</dt>
......@@ -470,7 +470,7 @@
<p>The W3C <a href="http://www.w3.org/html/wg/">HTML Working
Group</a> is the W3C working group responsible for this
specification's progress.
This specification is the 30 June 2014 Editor's Draft.
This specification is the 30 July 2014 Editor's Draft.
This specification is intended to become a W3C Recommendation.
</p>
......@@ -3587,7 +3587,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
</li><li><dfn id="percent-decode">Percent decode</dfn>
</li><li><dfn id="decoder-error">Decoder error</dfn>
</li><li><dfn id="urlutils"><code>URLUtils</code></dfn> interface
</li><li><dfn id="urlutilsreadonly"><code>URLUtilsReadOnly</code></dfn> interface
</li><li><dfn data-anolis-xref="dom-url-href" id="dom-url-href"><code>href</code> attribute</dfn>
</li><li><dfn data-anolis-xref="dom-url-protocol" id="dom-url-protocol"><code>protocol</code> attribute</dfn>
</li><li>The <dfn data-anolis-xref="concept-uu-get-the-base" id="concept-uu-get-the-base">get the base</dfn> hook for <code><a href="#urlutils">URLUtils</a></code>
......@@ -4514,10 +4513,8 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
</ol>
 
<p>The step <dfn id="skip-whitespace">skip whitespace</dfn> means that the user agent must <a href="#collect-a-sequence-of-characters">collect a sequence of
characters</a> that are <a data-anolis-xref="space character" href="#space-character">space characters</a>. The step
<dfn id="skip-white_space-characters">skip White_Space characters</dfn> means that the user agent must <a href="#collect-a-sequence-of-characters">collect a sequence of
characters</a> that are <a href="#white_space">White_Space</a> characters. In both cases, the collected
characters are not used. <a href="#refsUNICODE">[UNICODE]</a></p>
characters</a> that are <a data-anolis-xref="space character" href="#space-character">space characters</a>. The collected
characters are not used.</p>
 
<p>When a user agent is to <dfn id="strip-line-breaks">strip line breaks</dfn> from a string, the user agent must remove
any "LF" (U+000A) and "CR" (U+000D) characters from that string.</p>
......@@ -7614,7 +7611,7 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
 
<p>Anything in this specification that refers to HTTP also applies to HTTP-over-TLS, as
represented by <a data-anolis-xref="url" href="#url">URLs</a> representing the <code data-anolis-xref="">https</code> scheme.
<a href="#refsHTTPS">[HTTPS]</a></p>
<a href="#refsHTTP">[HTTP]</a></p>
 
<p class="warning">User agents should report certificate errors to the user and must either refuse
to download resources sent with erroneous certificates or must act as if such resources were in
......@@ -12432,7 +12429,7 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )
 
<td><code><a href="#the-a-element">a</a></code> element that creates a <a href="#hyperlink">hyperlink</a>
</td><td><code title="">link</code> role
</td><td>If specified, role must be one of the following: <code data-anolis-xref="index-aria-link">link</code>, <code data-anolis-xref="index-aria-button">button</code>, <code data-anolis-xref="index-aria-checkbox">checkbox</code>, <code data-anolis-xref="index-aria-menuitem">menuitem</code>, <code data-anolis-xref="index-aria-menuitemcheckbox">menuitemcheckbox</code>,<code data-anolis-xref="index-aria-menuitemradio">menuitemradio</code>, <code data-anolis-xref="index-aria-tab">tab</code>, or <code data-anolis-xref="index-aria-treeitem">treeitem</code>
</td><td>If specified, role must be one of the following: <code data-anolis-xref="index-aria-link">link</code>, <code data-anolis-xref="index-aria-button">button</code>, <code data-anolis-xref="index-aria-checkbox">checkbox</code>, <code data-anolis-xref="index-aria-menuitem">menuitem</code>, <code data-anolis-xref="index-aria-menuitemcheckbox">menuitemcheckbox</code>,<code data-anolis-xref="index-aria-menuitemradio">menuitemradio</code>, <code title="">option</code>, <code title="">radio</code>, <code data-anolis-xref="index-aria-tab">tab</code>, or <code data-anolis-xref="index-aria-treeitem">treeitem</code>
 
</td></tr><tr>
<td><code><a href="#the-address-element">address</a></code> element
......@@ -12579,7 +12576,7 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )
</td></tr><tr>
<td><code><a href="#the-li-element">li</a></code> element whose parent is an <code><a href="#the-ol-element">ol</a></code> or <code><a href="#the-ul-element">ul</a></code> element
</td><td><code title="">listitem</code> role
</td><td>If specified, role must be one of the following: <code title="">listitem</code>, <code title="">menuitem</code>, <code title="">menuitemcheckbox</code>, <code title="">menuitemradio</code>, <code title="">option</code>, <code title="">tab</code>, <code title="">treeitem</code> or <code title="">presentation</code>
</td><td>If specified, role must be one of the following: <code title="">listitem</code>, <code title="">menuitem</code>, <code title="">menuitemcheckbox</code>, <code title="">menuitemradio</code>, <code title="">option</code>, <code title="">radio</code>, <code title="">tab</code>, <code title="">treeitem</code> or <code title="">presentation</code>
 
</td></tr><tr>
<td><code>menu</code> element with a <code data-anolis-xref="attr-menu-type">type</code> attribute in the <span data-anolis-xref="toolbar state">toolbar</span> state
......@@ -12598,7 +12595,7 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )
 
<td><code><a href="#the-ol-element">ol</a></code> element
</td><td><code title="">list</code> role
</td><td>If specified, role must be one of the following: <code title="">directory</code>, <code title="">list</code>, <code title="">listbox</code>, <code title="">menu</code>, <code title="">menubar</code>, <code title="">tablist</code>, <code title="">toolbar</code>, <code title="">tree</code>
</td><td>If specified, role must be one of the following: <code title="">directory</code>, <code title="">list</code>, <code title="">listbox</code>, <code title="">menu</code>, <code title="">menubar</code>, <code title="">radiogroup</code>, <code title="">tablist</code>, <code title="">toolbar</code>, <code title="">tree</code>
or <code title="">presentation</code>
 
</td></tr><tr>
......@@ -12631,7 +12628,7 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )
</td></tr><tr>
<td><code><a href="#the-ul-element">ul</a></code> element
</td><td><code title="">list</code> role
</td><td>If specified, role must be one of the following: <code title="">directory</code>, <code title="">group</code>, <code title="">list</code>, <code title="">listbox</code>, <code title="">menu</code>, <code title="">menubar</code>, <code title="">tablist</code>, <code title="">toolbar</code>, <code title="">tree</code>
</td><td>If specified, role must be one of the following: <code title="">directory</code>, <code title="">group</code>, <code title="">list</code>, <code title="">listbox</code>, <code title="">menu</code>, <code title="">menubar</code>, <code title="">radiogroup</code>, <code title="">tablist</code>, <code title="">toolbar</code>, <code title="">tree</code>
or <code title="">presentation</code>
 
</td></tr><tr>
......@@ -89205,10 +89202,17 @@ if (s = prompt('What is your name?')) {
differences from HTML4</a> (URL: <a href="http://dev.w3.org/html5/html4-differences/">http://dev.w3.org/html5/html4-differences/</a>)</cite>, S. Pieters. W3C.</dd>
 
<dt id="refsHTTP">[HTTP]</dt>
<dd><cite><a href="http://tools.ietf.org/html/rfc2616">Hypertext Transfer Protocol — HTTP/1.1</a> (URL: <a href="http://tools.ietf.org/html/rfc2616">http://tools.ietf.org/html/rfc2616</a>)</cite>, R. Fielding, J. Gettys, J. Mogul, H. Frystyk, L. Masinter, P. Leach, T. Berners-Lee. IETF.</dd>
<dt id="refsHTTPS">[HTTPS]</dt>
<dd>(Non-normative) <cite><a href="http://tools.ietf.org/html/rfc2818">HTTP Over TLS</a> (URL: <a href="http://tools.ietf.org/html/rfc2818">http://tools.ietf.org/html/rfc2818</a>)</cite>, E. Rescorla. IETF.</dd>
<dd>
HTTP is the union of a set of RFCs:
<ul>
<li><cite><a href="http://tools.ietf.org/html/rfc7230">Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing</a> (URL: <a href="http://tools.ietf.org/html/rfc7230">http://tools.ietf.org/html/rfc7230</a>)</cite>, R. Fielding, J. Reschke. IETF.</li>
<li><cite><a href="http://tools.ietf.org/html/rfc7231">Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</a> (URL: <a href="http://tools.ietf.org/html/rfc7231">http://tools.ietf.org/html/rfc7231</a>)</cite>, R. Fielding, J. Reschke. IETF.</li>
<li><cite><a href="http://tools.ietf.org/html/rfc7232">Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests</a> (URL: <a href="http://tools.ietf.org/html/rfc7232">http://tools.ietf.org/html/rfc7232</a>)</cite>, R. Fielding, J. Reschke. IETF.</li>
<li><cite><a href="http://tools.ietf.org/html/rfc7233">Hypertext Transfer Protocol (HTTP/1.1): Range Requests</a> (URL: <a href="http://tools.ietf.org/html/rfc7233">http://tools.ietf.org/html/rfc7233</a>)</cite>, R. Fielding, Y. Lafon, J. Reschke. IETF.</li>
<li><cite><a href="http://tools.ietf.org/html/rfc7234">Hypertext Transfer Protocol (HTTP/1.1): Caching</a> (URL: <a href="http://tools.ietf.org/html/rfc7234">http://tools.ietf.org/html/rfc7234</a>)</cite>, R. Fielding, M. Nottingham, J. Reschke. IETF.</li>
<li><cite><a href="http://tools.ietf.org/html/rfc7235">Hypertext Transfer Protocol (HTTP/1.1): Authentication</a> (URL: <a href="http://tools.ietf.org/html/rfc7235">http://tools.ietf.org/html/rfc7235</a>)</cite>, R. Fielding, J. Reschke. IETF.</li>
</ul>
</dd>
 
<dt id="refsIANAPERMHEADERS">[IANAPERMHEADERS]</dt>
<dd><cite><a href="http://www.iana.org/assignments/message-headers/message-headers.xhtml">Permanent Message Header Field Names</a> (URL: <a href="http://www.iana.org/assignments/message-headers/message-headers.xhtml">http://www.iana.org/assignments/message-headers/message-headers.xhtml</a>)</cite>. IANA.</dd>
......@@ -89232,7 +89236,7 @@ if (s = prompt('What is your name?')) {
<dd><cite><a href="http://www.w3.org/TR/MathML/">Mathematical Markup Language (MathML)</a> (URL: <a href="http://www.w3.org/TR/MathML/">http://www.w3.org/TR/MathML/</a>)</cite>, D. Carlisle, P. Ion, R. Miner, N. Poppelier. W3C.</dd>
 
<dt id="refsMEDIAFRAG">[MEDIAFRAG]</dt>
<dd>(Non-normative) <cite><a href="http://www.w3.org/TR/2011/CR-media-frags-20111201/">Media Fragments URI 1.0</a> (URL: <a href="http://www.w3.org/TR/2011/CR-media-frags-20111201/">http://www.w3.org/TR/2011/CR-media-frags-20111201/</a>)</cite>, R. Troncy, E. Mannens, S. Pfeiffer, D. Van Deursen. W3C CR.</dd>
<dd><cite><a href="http://www.w3.org/TR/media-frags/">Media Fragments URI 1.0</a> (URL: <a href="http://www.w3.org/TR/media-frags/">http://www.w3.org/TR/media-frags/</a>)</cite>, R. Troncy, E. Mannens, S. Pfeiffer, D. Van Deursen. W3C.</dd>
 
<dt id="refsMFREL">[MFREL]</dt>
<dd>(Non-normative) <cite><a href="http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions">Microformats Wiki: existing rel values</a> (URL: <a href="http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions">http://microformats.org/wiki/existing-rel-values#HTML5_link_type_extensions</a>)</cite>. Microformats.</dd>
Mon, 30 Jun 2014 13:22:32 GMT
\ No newline at end of file
Wed, 30 Jul 2014 17:12:31 GMT
\ No newline at end of file
......@@ -62191,6 +62191,18 @@
{
"name": "NoInterfaceObject",
"arguments": null
},
{
"name": "Exposed",
"arguments": null,
"rhs": {
"type": "identifier",
"value": "Window"
}
},
{
"name": "Worker",
"arguments": null
}
],
"spec": "url"
......@@ -62359,6 +62371,18 @@
{
"name": "NoInterfaceObject",
"arguments": null
},
{
"name": "Exposed",
"arguments": null,
"rhs": {
"type": "identifier",
"value": "Window"
}
},
{
"name": "Worker",
"arguments": null
}
],
"spec": "url"
......@@ -2,6 +2,8 @@
"spec": "url",
"source": "http://url.spec.whatwg.org/",
"local": "url.html",
"dontExtract": true,
"dontExtractReason": "definitions of IDL require manual editing, about which see comment in IDL file",
"instances": {
"URL": "'URL' in window && new URL('http://example.org/')",
"URLSearchParams": "'URLSearchParams' in window && new URLSearchPararms()",
......
......@@ -9,7 +9,7 @@
<hgroup>
<h1 class="allcaps">URL</h1>
<h2>Living Standard — Last Updated 27 June 2014</h2>
<h2>Living Standard — Last Updated 30 July 2014</h2>
</hgroup>
<dl>
......@@ -38,7 +38,7 @@
<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
27 June 2014, the editors have made this specification available
30 July 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
......@@ -543,7 +543,7 @@ these steps:
these substeps:
<ol>
<li><p>Let <var title="">value</var> be 0.
<li><p>Let <var title="">value</var> be null.
<li><p>If <a href="#c">c</a> is not an <a href="#ascii-digits" title="ASCII digits">ASCII digit</a>,
<a href="#parse-error">parse error</a>, return failure. <!-- prevent the empty string -->
......@@ -553,12 +553,18 @@ these steps:
<a href="#ascii-digits" title="ASCII digits">ASCII digit</a>, run these subsubsteps:
<ol>
<li><p>Set <var title="">value</var> to
<var title="">value</var> × 10 + <a href="#c">c</a> interpreted as decimal number.
<li><p>Let <var title="">number</var> be <a href="#c">c</a> interpreted as decimal number.
<li>
<p>If <var title="">value</var> is null, set <var title="">value</var> to <var title="">number</var>.
<p>Otherwise, if <var title="">value</var> is 0, <a href="#parse-error">parse error</a>, return failure.
<p>Otherwise, set <var title="">value</var> to <var title="">value</var> × 10 + <var title="">number</var>.
<li><p>Increase <var title="">pointer</var> by one.
<li><p>If <var title="">value</var> is 0 or greater than 255, <a href="#parse-error">parse error</a>,
<li><p>If <var title="">value</var> is greater than 255, <a href="#parse-error">parse error</a>,
return failure.
</ol>
......@@ -569,7 +575,7 @@ these steps:
<li><p>Set <var title="">piece</var> to
<var title="">piece</var> × 0x100 + <var title="">value</var>.
<li><p>If <var title="">dots seen</var> is 0 or 2, increase
<li><p>If <var title="">dots seen</var> is 1 or 3, increase
<var title="">piece pointer</var> by one.
<li><p>Increase <var title="">pointer</var> by one.
......@@ -591,10 +597,11 @@ these steps:
<li><p>Set <var title="">piece pointer</var> to seven.
<li><p>While <var title="">piece pointer</var> is not zero, swap <var title="">piece</var>
with the <a href="#concept-ipv6-piece" title="concept-ipv6-piece">piece</a> at pointer
<li><p>While <var title="">piece pointer</var> is not zero and <var title="">swaps</var> is
greater than zero, swap <var title="">piece</var> with the
<a href="#concept-ipv6-piece" title="concept-ipv6-piece">piece</a> at pointer
<var title="">compress pointer</var> + <var title="">swaps</var> − 1, and then
decrease <var title="">piece pointer</var> and <var title="">swaps</var> by one.
decrease both <var title="">piece pointer</var> and <var title="">swaps</var> by one.
</ol>
<li><p>Otherwise, if <var title="">compress pointer</var> is null and
......@@ -954,7 +961,7 @@ optionally with an <a class="external" data-anolis-spec="encoding" href="http://
<var title="">url</var>. <a href="#refsFILEAPI">[FILEAPI]</a>
<li><p>Set <var title="">url</var>'s <a href="#concept-url-object" title="concept-url-object">object</a> to a
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#structured-clone">structured clone</a> of the entry in the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#structured-clone">structured clone</a> of the entry in the
<a class="external" data-anolis-spec="fileapi" href="http://dev.w3.org/2006/webapi/FileAPI/#BlobURLStore">blob URL store</a> corresponding to
<var title="">url</var>'s <a href="#concept-url-scheme-data" title="concept-url-scheme-data">scheme data</a>.
<a href="#refsHTML">[HTML]</a>
......@@ -1776,11 +1783,11 @@ optionally an <i title="">exclude fragment flag</i>, and then runs these steps:
<h3 id="origin"><span class="secno">5.4 </span>Origin</h3>
<!-- Still need to watch the final bits -->
<p class="note">See <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#origin">origin</a>'s definition in HTML for the
<p class="note">See <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a>'s definition in HTML for the
necessary background information. <a href="#refsHTML">[HTML]</a>
<p>A <a href="#concept-url" title="concept-url">URL</a>'s <dfn id="concept-url-origin" title="concept-url-origin">origin</dfn> is
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> returned by running these steps, switching
the <a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#origin">origin</a> returned by running these steps, switching
on <a href="#concept-url" title="concept-url">URL</a>'s <a href="#concept-url-scheme" title="concept-url-scheme">scheme</a>:
<dl class="switch">
......@@ -2015,14 +2022,15 @@ it.
<!-- XXX https://www.w3.org/Bugs/Public/show_bug.cgi?id=20159 -->
<pre class="idl">[<a href="#dom-url" title="dom-URL">Constructor</a>(<a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">url</var>, optional <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">base</var> = "about:blank"),
Exposed=Window,Worker]
Exposed=(Window,Worker)]
interface <dfn id="url">URL</dfn> {
static <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <a href="#dom-url-domaintoascii" title="dom-URL-domainToASCII">domainToASCII</a>(<a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">domain</var>);
static <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <a href="#dom-url-domaintounicode" title="dom-URL-domainToUnicode">domainToUnicode</a>(<a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">domain</var>);
};
<a href="#url">URL</a> implements <a href="#urlutils">URLUtils</a>;
[NoInterfaceObject]
[NoInterfaceObject,
Exposed=(Window,Worker)]
interface <dfn id="urlutils">URLUtils</dfn> {
stringifier attribute <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <a href="#dom-url-href" title="dom-URL-href">href</a>;
readonly attribute <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <a href="#dom-url-origin" title="dom-URL-origin">origin</a>;
......@@ -2039,7 +2047,8 @@ interface <dfn id="urlutils">URLUtils</dfn> {
attribute <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <a href="#dom-url-hash" title="dom-URL-hash">hash</a>;
};
[NoInterfaceObject]
[NoInterfaceObject,
Exposed=(Window,Worker)]
interface <dfn id="urlutilsreadonly">URLUtilsReadOnly</dfn> {
stringifier readonly attribute <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <a href="#dom-url-href" title="dom-URL-href">href</a>;
readonly attribute <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <a href="#dom-url-origin" title="dom-URL-origin">origin</a>;
......@@ -2297,7 +2306,7 @@ run these steps:
string.
<li><p>Return the
<a class="external" data-anolis-spec="html" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html#unicode-serialization-of-an-origin" title="Unicode serialization of an origin">Unicode serialization</a>
<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="#concept-uu-url" title="concept-UU-url">url</a>'s <a href="#concept-url-origin" title="concept-url-origin">origin</a>.
<a href="#refsHTML">[HTML]</a>
</ol>
......@@ -2520,8 +2529,7 @@ run these steps:
these steps:
<ol>
<li><p>If <a href="#concept-uu-url" title="concept-UU-url">url</a> is null, or its
<a href="#relative-flag">relative flag</a> is unset, terminate these steps.
<li><p>If <a href="#concept-uu-url" title="concept-UU-url">url</a> is null, terminate these steps.
<li><p>If the given value is the empty string, set
<a href="#concept-url-query" title="concept-url-query">query</a> to null, set
......@@ -2622,7 +2630,7 @@ steps:
<h3 id="interface-urlsearchparams"><span class="secno">7.4 </span>Interface <a href="#urlsearchparams"><code>URLSearchParams</code></a></h3>
<pre class="idl">[<a href="#dom-urlsearchparams" title="dom-URLSearchParams">Constructor</a>(optional (<a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> or <a href="#urlsearchparams">URLSearchParams</a>) <var title="">init</var> = ""),
Exposed=Window,Worker]
Exposed=(Window,Worker)]
interface <dfn id="urlsearchparams">URLSearchParams</dfn> {
void <a href="#dom-urlsearchparams-append" title="dom-URLSearchParams-append">append</a>(<a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">name</var>, <a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">value</var>);
void <a href="#dom-urlsearchparams-delete" title="dom-URLSearchParams-delete">delete</a>(<a class="external" data-anolis-spec="encoding" href="http://encoding.spec.whatwg.org/#scalarvaluestring">ScalarValueString</a> <var title="">name</var>);
......@@ -2766,7 +2774,7 @@ as "URL", "URI", and "IRI" should not be used. However, if the name is a compoun
(i.e. uppercase) is preferred, e.g. "newURL" and "oldURL".
<p class="note">The <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/comms.html#eventsource"><code class="external" data-anolis-spec="html">EventSource</code></a> and
<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#hashchangeevent"><code class="external" data-anolis-spec="html">HashChangeEvent</code></a> interfaces in HTML are examples of
<a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#hashchangeevent"><code class="external" data-anolis-spec="html">HashChangeEvent</code></a> interfaces in HTML are examples of
proper naming. <a href="#refsHTML">[HTML]</a>
......@@ -2813,6 +2821,7 @@ proper naming. <a href="#refsHTML">[HTML]</a>
<p>Thanks to
Adam Barth,
Albert Wiersch,
Alexandre Morgaut,
Behnam Esfahbod,
Bobby Holley,
......
Fri, 27 Jun 2014 13:17:26 GMT
\ No newline at end of file
Wed, 30 Jul 2014 13:46:45 GMT
\ No newline at end of file
//
// [GA] The IDL extracted from the source specification has been manually edited as follows:
//
// (1) remove not yet support syntax to wrap extended attribute value in parens
//
// Last Edited: Wed Jul 30 17:24:32 UTC 2014
//
[Constructor(ScalarValueString url, optional ScalarValueString base = "about:blank"),
Exposed=Window,Worker]
......@@ -7,7 +14,8 @@ interface URL {
};
URL implements URLUtils;
[NoInterfaceObject]
[NoInterfaceObject,
Exposed=Window,Worker]
interface URLUtils {
stringifier attribute ScalarValueString href;
readonly attribute ScalarValueString origin;
......@@ -24,7 +32,8 @@ interface URLUtils {
attribute ScalarValueString hash;
};
[NoInterfaceObject]
[NoInterfaceObject,
Exposed=Window,Worker]
interface URLUtilsReadOnly {
stringifier readonly attribute ScalarValueString href;
readonly attribute ScalarValueString origin;
......
......@@ -351,6 +351,18 @@
{
"name": "NoInterfaceObject",
"arguments": null
},
{
"name": "Exposed",
"arguments": null,
"rhs": {
"type": "identifier",
"value": "Window"
}
},
{
"name": "Worker",
"arguments": null
}
]
},
......@@ -518,6 +530,18 @@
{
"name": "NoInterfaceObject",
"arguments": null
},
{
"name": "Exposed",
"arguments": null,
"rhs": {
"type": "identifier",
"value": "Window"
}
},
{
"name": "Worker",
"arguments": null
}
]
},
......
Mon, 30 Jun 2014 13:32:30 GMT
\ No newline at end of file
Wed, 30 Jul 2014 17:26:22 GMT
\ No newline at end of file
......@@ -7,7 +7,7 @@
<script src='/resources/testharnessreport.js'></script>
<script src='/tools/common/level1.js'></script>
<script type='text/plain' id='idl'>
[{"type":"implements","target":"HTMLAnchorElement","implements":"URLUtils","extAttrs":[]},{"type":"interface","name":"URLUtils","partial":false,"members":[{"type":"attribute","static":false,"stringifier":true,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"href","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":true,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"origin","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"protocol","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"username","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"password","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"host","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"hostname","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"port","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"pathname","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"search","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"URLSearchParams"},"name":"searchParams","extAttrs":[]},{"type":"attribute","static":false,"stringifier":false,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"ScalarValueString"},"name":"hash","extAttrs":[]}],"inheritance":null,"extAttrs":[{"name":"NoInterfaceObject","arguments":null}],"spec":"url"}]
[{"type":"implements","target":"HTMLAnchorElement","implements":"URLUtils","extAttrs":[]},{"type":"interface","name":"URLUtils","partial":false,"members":[{"type":"attribute","static":false,"stringifier":true,"inherit":false,"readonly":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType