- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 01 Jul 2011 02:50:25 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view
In directory hutz:/tmp/cvs-serv538
Modified Files:
spec.html spec.preprocessed.html
Log Message:
Revamp how audioTracks and videoTracks work on HTMLMediaElement and MediaStream. (whatwg r6275)
[updated by splitter]
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.html,v
retrieving revision 1.1571
retrieving revision 1.1572
diff -u -d -r1.1571 -r1.1572
--- spec.html 1 Jul 2011 00:59:50 -0000 1.1571
+++ spec.html 1 Jul 2011 02:50:19 -0000 1.1572
@@ -1,62508 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="en-US-x-Hixie"><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"><title>HTML5 (Edition for Web Authors)</title><meta content="width=device-width;" name="viewport"><link href="whatwg.css" rel="stylesheet"><style type="text/css">
- pre { margin-left: 2em; white-space: pre-wrap; }
- h2 { margin: 3em 0 1em 0; }
- h3 { margin: 2.5em 0 1em 0; }
- h4 { margin: 2.5em 0 0.75em 0; }
- h5, h6 { margin: 2.5em 0 1em; }
- h1 + h2, h1 + h2 + h2 { margin: 0.75em 0 0.75em; }
- h2 + h3, h3 + h4, h4 + h5, h5 + h6 { margin-top: 0.5em; }
- p { margin: 1em 0; }
- hr:not(.top) { display: block; background: none; border: none; padding: 0; margin: 2em 0; height: auto; }
[...62477 lines suppressed...]
- for their useful comments, both large and small, that have led to
- changes to this specification over the years.</p><p>Thanks also to everyone who has ever posted about HTML to their
- blogs, public mailing lists, or forums, including all the
- contributors to the <a href="http://www.w3.org/html/wg/lists/">various W3C HTML WG
- lists</a> and the <a href="http://www.whatwg.org/mailing-list">various WHATWG lists</a>.
-
- </p><p>Special thanks to Richard Williamson for creating the first
- implementation of <code><a href="#the-canvas-element" id="canvas_27">canvas</a></code> in Safari, from which the
- canvas feature was designed.</p><p>Special thanks also to the Microsoft employees who first
- implemented the event-based drag-and-drop mechanism, <code title="attr-contenteditable"><a href="#attr-contenteditable" id="contenteditable_3">contenteditable</a></code>, and other
- features first widely deployed by the Windows Internet Explorer
- browser.</p><p>Thanks to the SubRip community, including in particular Zuggy and
- ai4spam, for their work on the SubRip software program whose SRT
- file format was used as the basis for the WebVTT text track file
- format.</p><p>Thanks to the many sources that provided inspiration for the
- examples used in the specification.</p><p>Thanks also to the Microsoft blogging community for some ideas,
- to the attendees of the W3C Workshop on Web Applications and
- Compound Documents for inspiration, to the #mrt crew, the #mrt.no
- crew, and the #whatwg crew, and to Pillar and Hedral for their ideas
- and support.</p></body></html>
Index: spec.preprocessed.html
===================================================================
RCS file: /sources/public/html5/spec-author-view/spec.preprocessed.html,v
retrieving revision 1.440
retrieving revision 1.441
diff -u -d -r1.440 -r1.441
--- spec.preprocessed.html 1 Jul 2011 00:59:54 -0000 1.440
+++ spec.preprocessed.html 1 Jul 2011 02:50:23 -0000 1.441
@@ -13261,26 +13261,26 @@
<dd><a href="#flow-content">Flow content</a>.</dd>
<dt>Content attributes:</dt>
<dd><a href="#global-attributes">Global attributes</a></dd>
- <dd><code title="handler-window-onafterprint"><a href="#ix-handler-window-onafterprint">onafterprint</a></code></dd>
- <dd><code title="handler-window-onbeforeprint"><a href="#ix-handler-window-onbeforeprint">onbeforeprint</a></code></dd>
- <dd><code title="handler-window-onbeforeunload"><a href="#ix-handler-window-onbeforeunload">onbeforeunload</a></code></dd>
- <dd><code title="handler-window-onblur"><a href="#ix-handler-window-onblur">onblur</a></code></dd>
- <dd><code title="handler-window-onerror"><a href="#ix-handler-window-onerror">onerror</a></code></dd>
- <dd><code title="handler-window-onfocus"><a href="#ix-handler-window-onfocus">onfocus</a></code></dd>
- <dd><code title="handler-window-onhashchange"><a href="#ix-handler-window-onhashchange">onhashchange</a></code></dd>
- <dd><code title="handler-window-onload"><a href="#ix-handler-window-onload">onload</a></code></dd>
- <dd><code title="handler-window-onmessage"><a href="#ix-handler-window-onmessage">onmessage</a></code></dd>
- <dd><code title="handler-window-onoffline"><a href="#ix-handler-window-onoffline">onoffline</a></code></dd>
- <dd><code title="handler-window-ononline"><a href="#ix-handler-window-ononline">ononline</a></code></dd>
- <dd><code title="handler-window-onpagehide"><a href="#ix-handler-window-onpagehide">onpagehide</a></code></dd>
- <dd><code title="handler-window-onpageshow"><a href="#ix-handler-window-onpageshow">onpageshow</a></code></dd>
- <dd><code title="handler-window-onpopstate"><a href="#ix-handler-window-onpopstate">onpopstate</a></code></dd>
- <dd><code title="handler-window-onredo"><a href="#ix-handler-window-onredo">onredo</a></code></dd>
- <dd><code title="handler-window-onresize"><a href="#ix-handler-window-onresize">onresize</a></code></dd>
- <dd><code title="handler-window-onscroll"><a href="#ix-handler-window-onscroll">onscroll</a></code></dd>
- <dd><code title="handler-window-onstorage"><a href="#ix-handler-window-onstorage">onstorage</a></code></dd>
- <dd><code title="handler-window-onundo"><a href="#ix-handler-window-onundo">onundo</a></code></dd>
- <dd><code title="handler-window-onunload"><a href="#ix-handler-window-onunload">onunload</a></code></dd>
+ <dd><code title="handler-window-onafterprint"><a href="#handler-window-onafterprint">onafterprint</a></code></dd>
+ <dd><code title="handler-window-onbeforeprint"><a href="#handler-window-onbeforeprint">onbeforeprint</a></code></dd>
+ <dd><code title="handler-window-onbeforeunload"><a href="#handler-window-onbeforeunload">onbeforeunload</a></code></dd>
+ <dd><code title="handler-window-onblur"><a href="#handler-window-onblur">onblur</a></code></dd>
+ <dd><code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code></dd>
+ <dd><code title="handler-window-onfocus"><a href="#handler-window-onfocus">onfocus</a></code></dd>
+ <dd><code title="handler-window-onhashchange"><a href="#handler-window-onhashchange">onhashchange</a></code></dd>
+ <dd><code title="handler-window-onload"><a href="#handler-window-onload">onload</a></code></dd>
+ <dd><code title="handler-window-onmessage"><a href="#handler-window-onmessage">onmessage</a></code></dd>
+ <dd><code title="handler-window-onoffline"><a href="#handler-window-onoffline">onoffline</a></code></dd>
+ <dd><code title="handler-window-ononline"><a href="#handler-window-ononline">ononline</a></code></dd>
+ <dd><code title="handler-window-onpagehide"><a href="#handler-window-onpagehide">onpagehide</a></code></dd>
+ <dd><code title="handler-window-onpageshow"><a href="#handler-window-onpageshow">onpageshow</a></code></dd>
+ <dd><code title="handler-window-onpopstate"><a href="#handler-window-onpopstate">onpopstate</a></code></dd>
+ <dd><code title="handler-window-onredo"><a href="#handler-window-onredo">onredo</a></code></dd>
+ <dd><code title="handler-window-onresize"><a href="#handler-window-onresize">onresize</a></code></dd>
+ <dd><code title="handler-window-onscroll"><a href="#handler-window-onscroll">onscroll</a></code></dd>
+ <dd><code title="handler-window-onstorage"><a href="#handler-window-onstorage">onstorage</a></code></dd>
+ <dd><code title="handler-window-onundo"><a href="#handler-window-onundo">onundo</a></code></dd>
+ <dd><code title="handler-window-onunload"><a href="#handler-window-onunload">onunload</a></code></dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn id="htmlbodyelement" role="button" tabindex="0" aria-haspopup="true">HTMLBodyElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
@@ -13321,7 +13321,7 @@
</div><p>The <code><a href="#the-body-element">body</a></code> element exposes as <a href="#event-handler-content-attributes">event handler
content attributes</a> a number of the <a href="#event-handlers">event
handlers</a> of the <code><a href="#window">Window</a></code> object. It also mirrors
- their <a href="#event-handler-idl-attributes">event handler IDL attributes</a>.</p><p>The <code title="handler-window-onblur"><a href="#ix-handler-window-onblur">onblur</a></code>, <code title="handler-window-onerror"><a href="#ix-handler-window-onerror">onerror</a></code>, <code title="handler-window-onfocus"><a href="#ix-handler-window-onfocus">onfocus</a></code>, <code title="handler-window-onload"><a href="#ix-handler-window-onload">onload</a></code>, and <code title="handler-window-onscroll"><a href="#ix-handler-window-onscroll">onscroll</a></code> <a href="#event-handlers">event
+ their <a href="#event-handler-idl-attributes">event handler IDL attributes</a>.</p><p>The <code title="handler-window-onblur"><a href="#handler-window-onblur">onblur</a></code>, <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code>, <code title="handler-window-onfocus"><a href="#handler-window-onfocus">onfocus</a></code>, <code title="handler-window-onload"><a href="#handler-window-onload">onload</a></code>, and <code title="handler-window-onscroll"><a href="#handler-window-onscroll">onscroll</a></code> <a href="#event-handlers">event
handlers</a> of the <code><a href="#window">Window</a></code> object, exposed on the
<code><a href="#the-body-element">body</a></code> element, shadow the generic <a href="#event-handlers">event
handlers</a> with the same names normally supported by <a href="#html-elements">HTML
@@ -13330,7 +13330,7 @@
trigger the <code title="handler-onerror"><a href="#handler-onerror">onerror</a></code> <a href="#event-handler-content-attributes">event
handler content attributes</a> of that element, then that of the
root <code><a href="#the-html-element">html</a></code> element, and only <em>then</em> would it
- trigger the <code title="handler-window-onerror"><a href="#ix-handler-window-onerror">onerror</a></code>
+ trigger the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code>
<a href="#event-handler-content-attributes" title="event handler content attributes">event handler content
attribute</a> on the <code><a href="#the-body-element">body</a></code> element. This is because
the event would bubble from the target, to the <code><a href="#the-body-element">body</a></code>, to
@@ -15846,14 +15846,15 @@
</dd>
</dl>
-<p>The IDL attributes <dfn id="dom-a-href" role="button" tabindex="0" aria-haspopup="true"><code>href</code></dfn>,
- <dfn id="dom-a-target" role="button" tabindex="0" aria-haspopup="true"><code>target</code></dfn>, <dfn id="dom-a-rel" role="button" tabindex="0" aria-haspopup="true"><code>rel</code></dfn>, <dfn id="dom-a-media" role="button" tabindex="0" aria-haspopup="true"><code>media</code></dfn>, <dfn id="dom-a-hreflang" role="button" tabindex="0" aria-haspopup="true"><code>hreflang</code></dfn>, and <dfn id="dom-a-type" role="button" tabindex="0" aria-haspopup="true"><code>type</code></dfn>, must
- <a href="#reflect">reflect</a> the respective content attributes of the same
- name.</p>
-
-<p>The IDL attribute <dfn id="dom-a-rellist" role="button" tabindex="0" aria-haspopup="true"><code>relList</code></dfn> must
- <a href="#reflect">reflect</a> the <code title="attr-hyperlink-rel"><a href="#attr-hyperlink-rel">rel</a></code>
- content attribute.</p>
+<p>The <code><a href="#the-a-element">a</a></code> element also supports the complement of
+ <a href="#url-decomposition-idl-attributes">URL decomposition IDL attributes</a>, <dfn id="dom-a-protocol" role="button" tabindex="0" aria-haspopup="true"><code>protocol</code></dfn>, <dfn id="dom-a-host" role="button" tabindex="0" aria-haspopup="true"><code>host</code></dfn>, <dfn id="dom-a-port" role="button" tabindex="0" aria-haspopup="true"><code>port</code></dfn>, <dfn id="dom-a-hostname" role="button" tabindex="0" aria-haspopup="true"><code>hostname</code></dfn>, <dfn id="dom-a-pathname" role="button" tabindex="0" aria-haspopup="true"><code>pathname</code></dfn>, <dfn id="dom-a-search" role="button" tabindex="0" aria-haspopup="true"><code>search</code></dfn>, and <dfn id="dom-a-hash" role="button" tabindex="0" aria-haspopup="true"><code>hash</code></dfn>. These must follow the
+ rules given for <a href="#url-decomposition-idl-attributes">URL decomposition IDL attributes</a>, with
+ the <a href="#concept-uda-input" title="concept-uda-input">input</a> being the result of
+ <a href="#resolve-a-url" title="resolve a url">resolving</a> the element's <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute relative to the
+ element, if there is such an attribute and resolving it is
+ successful, or the empty string otherwise; and the <a href="#concept-uda-setter" title="concept-uda-setter">common setter action</a> being the
+ same as setting the element's <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute to the new output
+ value.</p>
<div class="example">
<p>The <code><a href="#the-a-element">a</a></code> element may be wrapped around entire
@@ -23634,7 +23635,7 @@
readonly attribute unsigned long <a href="#dom-audiotracklist-length" title="dom-AudioTrackList-length">length</a>;
getter <a href="#audiotrack">AudioTrack</a> (in unsigned long index);
<a href="#audiotrack">AudioTrack</a>? <a href="#dom-audiotracklist-gettrackbyid" title="dom-AudioTrackList-getTrackById">getTrackById</a>(in DOMString id);
- attribute <a href="#function">Function</a>? <a href="#handler-tracklist-onchange" title="handler-TrackList-onchange">onchange</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onchange" title="handler-TrackList-onchange">onchange</a>;
};
interface <dfn id="audiotrack" role="button" tabindex="0" aria-haspopup="true">AudioTrack</dfn> {
@@ -23650,7 +23651,7 @@
getter <a href="#videotrack">VideoTrack</a> (in unsigned long index);
<a href="#videotrack">VideoTrack</a>? <a href="#dom-videotracklist-gettrackbyid" title="dom-VideoTrackList-getTrackById">getTrackById</a>(in DOMString id);
readonly attribute long <a href="#dom-videotracklist-selectedindex" title="dom-VideoTrackList-selectedIndex">selectedIndex</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-tracklist-onchange" title="handler-TrackList-onchange">onchange</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onchange" title="handler-TrackList-onchange">onchange</a>;
};
interface <dfn id="videotrack" role="button" tabindex="0" aria-haspopup="true">VideoTrack</dfn> {
@@ -24017,21 +24018,21 @@
attribute double <a href="#dom-mediacontroller-volume" title="dom-MediaController-volume">volume</a>;
attribute boolean <a href="#dom-mediacontroller-muted" title="dom-MediaController-muted">muted</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onemptied" title="handler-MediaController-onemptied">onemptied</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onloadedmetadata" title="handler-MediaController-onloadedmetadata">onloadedmetadata</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onloadeddata" title="handler-MediaController-onloadeddata">onloadeddata</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-oncanplay" title="handler-MediaController-oncanplay">oncanplay</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-oncanplaythrough" title="handler-MediaController-oncanplaythrough">oncanplaythrough</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onplaying" title="handler-MediaController-onplaying">onplaying</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onended" title="handler-MediaController-onended">onended</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onwaiting" title="handler-MediaController-onwaiting">onwaiting</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onemptied" title="handler-MediaController-onemptied">onemptied</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onloadedmetadata" title="handler-MediaController-onloadedmetadata">onloadedmetadata</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onloadeddata" title="handler-MediaController-onloadeddata">onloadeddata</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-oncanplay" title="handler-MediaController-oncanplay">oncanplay</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-oncanplaythrough" title="handler-MediaController-oncanplaythrough">oncanplaythrough</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onplaying" title="handler-MediaController-onplaying">onplaying</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onended" title="handler-MediaController-onended">onended</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onwaiting" title="handler-MediaController-onwaiting">onwaiting</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-ondurationchange" title="handler-MediaController-ondurationchange">ondurationchange</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-ontimeupdate" title="handler-MediaController-ontimeupdate">ontimeupdate</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onplay" title="handler-MediaController-onplay">onplay</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onpause" title="handler-MediaController-onpause">onpause</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onratechange" title="handler-MediaController-onratechange">onratechange</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-mediacontroller-onvolumechange" title="handler-MediaController-onvolumechange">onvolumechange</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-ondurationchange" title="handler-MediaController-ondurationchange">ondurationchange</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-ontimeupdate" title="handler-MediaController-ontimeupdate">ontimeupdate</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onplay" title="handler-MediaController-onplay">onplay</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onpause" title="handler-MediaController-onpause">onpause</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onratechange" title="handler-MediaController-onratechange">onratechange</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onvolumechange" title="handler-MediaController-onvolumechange">onvolumechange</a>;
};</pre><dl class="domintro"><dt><var title="">controller</var> = new <code title="dom-MediaController" id="dom-mediacontroller"><a href="#dom-mediacontroller">MediaController</a></code>()</dt>
<dd>
@@ -25316,8 +25317,8 @@
const unsigned short <a href="#dom-texttrack-loaded" title="dom-TextTrack-LOADED">LOADED</a> = 2;
const unsigned short <a href="#dom-texttrack-error" title="dom-TextTrack-ERROR">ERROR</a> = 3;
readonly attribute unsigned short <a href="#dom-texttrack-readystate" title="dom-TextTrack-readyState">readyState</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-texttrack-onload" title="handler-TextTrack-onload">onload</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-texttrack-onerror" title="handler-TextTrack-onerror">onerror</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onload" title="handler-TextTrack-onload">onload</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onerror" title="handler-TextTrack-onerror">onerror</a>;
const unsigned short <a href="#dom-texttrack-off" title="dom-TextTrack-OFF">OFF</a> = 0;
const unsigned short <a href="#dom-texttrack-hidden" title="dom-TextTrack-HIDDEN">HIDDEN</a> = 1;
@@ -25327,7 +25328,7 @@
readonly attribute <a href="#texttrackcuelist">TextTrackCueList</a>? <a href="#dom-texttrack-cues" title="dom-TextTrack-cues">cues</a>;
readonly attribute <a href="#texttrackcuelist">TextTrackCueList</a>? <a href="#dom-texttrack-activecues" title="dom-TextTrack-activeCues">activeCues</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-texttrack-oncuechange" title="handler-TextTrack-oncuechange">oncuechange</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-oncuechange" title="handler-TextTrack-oncuechange">oncuechange</a>;
};
<a href="#texttrack">TextTrack</a> implements <a href="#eventtarget">EventTarget</a>;
@@ -25725,8 +25726,8 @@
DOMString <a href="#dom-texttrackcue-getcueassource" title="dom-TextTrackCue-getCueAsSource">getCueAsSource</a>();
<a href="#documentfragment">DocumentFragment</a> <a href="#dom-texttrackcue-getcueashtml" title="dom-TextTrackCue-getCueAsHTML">getCueAsHTML</a>();
- attribute <a href="#function">Function</a>? <a href="#handler-texttrackcue-onenter" title="handler-TextTrackCue-onenter">onenter</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-texttrackcue-onexit" title="handler-TextTrackCue-onexit">onexit</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onenter" title="handler-TextTrackCue-onenter">onenter</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onexit" title="handler-TextTrackCue-onexit">onexit</a>;
};
<a href="#texttrackcue">TextTrackCue</a> implements <a href="#eventtarget">EventTarget</a>;</pre><dl class="domintro"><dt><var title="">cue</var> . <a href="#dom-texttrackcue-track" title="dom-TextTrackCue-track">track</a></dt>
<dd>
@@ -26930,18 +26931,15 @@
<code title="attr-hyperlink-rel"><a href="#attr-hyperlink-rel">rel</a></code>, <code title="attr-hyperlink-media"><a href="#attr-hyperlink-media">media</a></code>, <code title="attr-hyperlink-hreflang"><a href="#attr-hyperlink-hreflang">hreflang</a></code>, and <code title="attr-hyperlink-type"><a href="#attr-hyperlink-type">type</a></code> attributes must be omitted
if the <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute is
not present.</p>
-<p>The IDL attributes <dfn id="dom-area-alt" role="button" tabindex="0" aria-haspopup="true"><code>alt</code></dfn>, <dfn id="dom-area-coords" role="button" tabindex="0" aria-haspopup="true"><code>coords</code></dfn>, <dfn id="dom-area-href" role="button" tabindex="0" aria-haspopup="true"><code>href</code></dfn>, <dfn id="dom-area-target" role="button" tabindex="0" aria-haspopup="true"><code>target</code></dfn>,
- <dfn id="dom-area-rel" role="button" tabindex="0" aria-haspopup="true"><code>rel</code></dfn>, <dfn id="dom-area-media" role="button" tabindex="0" aria-haspopup="true"><code>media</code></dfn>, <dfn id="dom-area-hreflang" role="button" tabindex="0" aria-haspopup="true"><code>hreflang</code></dfn>, and <dfn id="dom-area-type" role="button" tabindex="0" aria-haspopup="true"><code>type</code></dfn>, each must
- <a href="#reflect">reflect</a> the respective content attributes of the same
- name.</p>
-
-<p>The IDL attribute <dfn id="dom-area-shape" role="button" tabindex="0" aria-haspopup="true"><code>shape</code></dfn> must
- <a href="#reflect">reflect</a> the <code title="attr-area-shape"><a href="#attr-area-shape">shape</a></code>
- content attribute.</p>
-
-<p>The IDL attribute <dfn id="dom-area-rellist" role="button" tabindex="0" aria-haspopup="true"><code>relList</code></dfn> must
- <a href="#reflect">reflect</a> the <code title="attr-hyperlink-rel"><a href="#attr-hyperlink-rel">rel</a></code>
- content attribute.</p>
+<p>The <code><a href="#the-area-element">area</a></code> element also supports the complement of
+ <a href="#url-decomposition-idl-attributes">URL decomposition IDL attributes</a>, <dfn id="dom-area-protocol" role="button" tabindex="0" aria-haspopup="true"><code>protocol</code></dfn>, <dfn id="dom-area-host" role="button" tabindex="0" aria-haspopup="true"><code>host</code></dfn>, <dfn id="dom-area-port" role="button" tabindex="0" aria-haspopup="true"><code>port</code></dfn>, <dfn id="dom-area-hostname" role="button" tabindex="0" aria-haspopup="true"><code>hostname</code></dfn>, <dfn id="dom-area-pathname" role="button" tabindex="0" aria-haspopup="true"><code>pathname</code></dfn>, <dfn id="dom-area-search" role="button" tabindex="0" aria-haspopup="true"><code>search</code></dfn>, and <dfn id="dom-area-hash" role="button" tabindex="0" aria-haspopup="true"><code>hash</code></dfn>. These must follow the
+ rules given for <a href="#url-decomposition-idl-attributes">URL decomposition IDL attributes</a>, with
+ the <a href="#concept-uda-input" title="concept-uda-input">input</a> being the result of
+ <a href="#resolve-a-url" title="resolve a url">resolving</a> the element's <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute relative to the
+ element, if there is such an attribute and resolving it is
+ successful, or the empty string otherwise; and the <a href="#concept-uda-setter" title="concept-uda-setter">common setter action</a> being the
+ same as setting the element's <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attribute to the new output
+ value.</p>
<h4 id="image-maps"><span class="secno">4.8.14 </span>Image maps</h4><div class="impl">
<h5 id="authoring"><span class="secno">4.8.14.1 </span>Authoring</h5>
@@ -46638,14 +46636,14 @@
void <a href="#dom-appcache-swapcache" title="dom-appcache-swapCache">swapCache</a>();
// events
- attribute <a href="#function">Function</a>? <a href="#handler-appcache-onchecking" title="handler-appcache-onchecking">onchecking</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-appcache-onerror" title="handler-appcache-onerror">onerror</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-appcache-onnoupdate" title="handler-appcache-onnoupdate">onnoupdate</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-appcache-ondownloading" title="handler-appcache-ondownloading">ondownloading</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-appcache-onprogress" title="handler-appcache-onprogress">onprogress</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-appcache-onupdateready" title="handler-appcache-onupdateready">onupdateready</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-appcache-oncached" title="handler-appcache-oncached">oncached</a>;
- attribute <a href="#function">Function</a>? <a href="#handler-appcache-onobsolete" title="handler-appcache-onobsolete">onobsolete</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onchecking" title="handler-appcache-onchecking">onchecking</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onerror" title="handler-appcache-onerror">onerror</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onnoupdate" title="handler-appcache-onnoupdate">onnoupdate</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-ondownloading" title="handler-appcache-ondownloading">ondownloading</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onprogress" title="handler-appcache-onprogress">onprogress</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onupdateready" title="handler-appcache-onupdateready">onupdateready</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-oncached" title="handler-appcache-oncached">oncached</a>;
+ attribute <a href="#function">Function</a>? <a href="#ix-handler-onobsolete" title="handler-appcache-onobsolete">onobsolete</a>;
};
<a href="#applicationcache">ApplicationCache</a> implements <a href="#eventtarget">EventTarget</a>;</pre><dl class="domintro"><dt><var title="">cache</var> = <var title="">window</var> . <code title="dom-applicationCache"><a href="#dom-applicationcache">applicationCache</a></code></dt>
<dd>
@@ -47140,7 +47138,7 @@
entry-point">Jump</a> to the <a href="#concept-script" title="concept-script">script</a>'s <i><a href="#initial-code-entry-point">initial code
entry-point</a></i>.</p>
- <p>Otherwise, <a href="#report-the-error">report the error</a> using the <code title="handler-window-onerror"><a href="#ix-handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event
+ <p>Otherwise, <a href="#report-the-error">report the error</a> using the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event
handlers">event handler</a> of the <a href="#script-s-global-object">script's global
object</a>. If the error is still <i title="concept-error-nothandled"><a href="#concept-error-nothandled">not handled</a></i> after this, then
the error may be reported to the user.</p>
@@ -47254,7 +47252,7 @@
<p>Whenever an uncaught runtime script error occurs in one of the
scripts associated with a <code><a href="#document">Document</a></code>, the user agent must
- <a href="#report-the-error">report the error</a> using the <code title="handler-window-onerror"><a href="#ix-handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event
+ <a href="#report-the-error">report the error</a> using the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> <a href="#event-handlers" title="event
handlers">event handler</a> of the <a href="#script-s-global-object">script's global
object</a>. If the error is still <i title="concept-error-nothandled"><a href="#concept-error-nothandled">not handled</a></i> after this, then
the error may be reported to the user.</p>
@@ -47730,7 +47728,7 @@
<dd>
- <dl class="switch"><dt>If the attribute is the <code title="handler-window-onerror"><a href="#ix-handler-window-onerror">onerror</a></code> attribute of the
+ <dl class="switch"><dt>If the attribute is the <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code> attribute of the
<code><a href="#window">Window</a></code> object</dt>
<dd>Let the function have three arguments, named <code title="">event</code>, <code title="">source</code>, and <code title="">fileno</code>.</dd>
@@ -47974,7 +47972,7 @@
</td></tr><tr><td><dfn id="handler-window-onstorage" role="button" tabindex="0" aria-haspopup="true"><code>onstorage</code></dfn> </td><td> <code title="event-storage">storage</code>
</td></tr><tr><td><dfn id="handler-window-onundo" role="button" tabindex="0" aria-haspopup="true"><code>onundo</code></dfn> </td><td> <code title="event-undo">undo</code>
</td></tr><tr><td><dfn id="handler-window-onunload" role="button" tabindex="0" aria-haspopup="true"><code>onunload</code></dfn> </td><td> <code title="event-unload">unload</code>
- </td></tr></tbody></table><p class="note">The <code title="handler-window-onerror"><a href="#ix-handler-window-onerror">onerror</a></code>
+ </td></tr></tbody></table><p class="note">The <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code>
handler is also used for <a href="#runtime-script-errors">reporting script errors</a>.</p>
</div><div class="impl">
@@ -65927,26 +65925,26 @@
<td><code><a href="#the-html-element">html</a></code></td>
<td><a href="#flow-content" title="Flow content">flow</a></td>
<td><a href="#global-attributes" title="global attributes">globals</a>;
- <code title="handler-window-onafterprint"><a href="#ix-handler-window-onafterprint">onafterprint</a></code>;
- <code title="handler-window-onbeforeprint"><a href="#ix-handler-window-onbeforeprint">onbeforeprint</a></code>;
- <code title="handler-window-onbeforeunload"><a href="#ix-handler-window-onbeforeunload">onbeforeunload</a></code>;
- <code title="handler-window-onblur"><a href="#ix-handler-window-onblur">onblur</a></code>;
- <code title="handler-window-onerror"><a href="#ix-handler-window-onerror">onerror</a></code>;
- <code title="handler-window-onfocus"><a href="#ix-handler-window-onfocus">onfocus</a></code>;
- <code title="handler-window-onhashchange"><a href="#ix-handler-window-onhashchange">onhashchange</a></code>;
- <code title="handler-window-onload"><a href="#ix-handler-window-onload">onload</a></code>;
- <code title="handler-window-onmessage"><a href="#ix-handler-window-onmessage">onmessage</a></code>;
- <code title="handler-window-onoffline"><a href="#ix-handler-window-onoffline">onoffline</a></code>;
- <code title="handler-window-ononline"><a href="#ix-handler-window-ononline">ononline</a></code>;
- <code title="handler-window-onpagehide"><a href="#ix-handler-window-onpagehide">onpagehide</a></code>;
- <code title="handler-window-onpageshow"><a href="#ix-handler-window-onpageshow">onpageshow</a></code>;
- <code title="handler-window-onpopstate"><a href="#ix-handler-window-onpopstate">onpopstate</a></code>;
- <code title="handler-window-onredo"><a href="#ix-handler-window-onredo">onredo</a></code>;
- <code title="handler-window-onresize"><a href="#ix-handler-window-onresize">onresize</a></code>;
- <code title="handler-window-onscroll"><a href="#ix-handler-window-onscroll">onscroll</a></code>;
- <code title="handler-window-onstorage"><a href="#ix-handler-window-onstorage">onstorage</a></code>;
- <code title="handler-window-onundo"><a href="#ix-handler-window-onundo">onundo</a></code>;
- <code title="handler-window-onunload"><a href="#ix-handler-window-onunload">onunload</a></code></td>
+ <code title="handler-window-onafterprint"><a href="#handler-window-onafterprint">onafterprint</a></code>;
+ <code title="handler-window-onbeforeprint"><a href="#handler-window-onbeforeprint">onbeforeprint</a></code>;
+ <code title="handler-window-onbeforeunload"><a href="#handler-window-onbeforeunload">onbeforeunload</a></code>;
+ <code title="handler-window-onblur"><a href="#handler-window-onblur">onblur</a></code>;
+ <code title="handler-window-onerror"><a href="#handler-window-onerror">onerror</a></code>;
+ <code title="handler-window-onfocus"><a href="#handler-window-onfocus">onfocus</a></code>;
+ <code title="handler-window-onhashchange"><a href="#handler-window-onhashchange">onhashchange</a></code>;
+ <code title="handler-window-onload"><a href="#handler-window-onload">onload</a></code>;
+ <code title="handler-window-onmessage"><a href="#handler-window-onmessage">onmessage</a></code>;
+ <code title="handler-window-onoffline"><a href="#handler-window-onoffline">onoffline</a></code>;
+ <code title="handler-window-ononline"><a href="#handler-window-ononline">ononline</a></code>;
+ <code title="handler-window-onpagehide"><a href="#handler-window-onpagehide">onpagehide</a></code>;
+ <code title="handler-window-onpageshow"><a href="#handler-window-onpageshow">onpageshow</a></code>;
+ <code title="handler-window-onpopstate"><a href="#handler-window-onpopstate">onpopstate</a></code>;
+ <code title="handler-window-onredo"><a href="#handler-window-onredo">onredo</a></code>;
+ <code title="handler-window-onresize"><a href="#handler-window-onresize">onresize</a></code>;
+ <code title="handler-window-onscroll"><a href="#handler-window-onscroll">onscroll</a></code>;
+ <code title="handler-window-onstorage"><a href="#handler-window-onstorage">onstorage</a></code>;
+ <code title="handler-window-onundo"><a href="#handler-window-onundo">onundo</a></code>;
+ <code title="handler-window-onunload"><a href="#handler-window-onunload">onunload</a></code></td>
<td><code><a href="#htmlbodyelement">HTMLBodyElement</a></code></td>
</tr><tr><th><code><a href="#the-br-element">br</a></code></th>
<td>Line break, e.g. in poem or postal address</td>
Received on Friday, 1 July 2011 02:50:30 UTC