- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 14 Dec 2010 02:01:13 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/boilerplate In directory hutz:/tmp/cvs-serv30055/boilerplate Added Files: header-w3c-eventsource header-w3c-html-2dcontext header-w3c-html-core header-w3c-html-microdata header-w3c-postmsg header-w3c-websockets header-w3c-webstorage header-w3c-webworkers middle-w3c-api-intro middle-w3c-copyright middle-w3c-feedback middle-w3c-feedback-html middle-w3c-feedback-webapps middle-w3c-html-magic middle-w3c-html-module-conf middle-w3c-html-module-status middle-w3c-html-pp middle-w3c-js-disclaimer middle-w3c-styles middle-w3c-version middle-w3c-webapps-magic middle-w3c-webapps-pp Log Message: boilerplate - initial checkin --- NEW FILE: header-w3c-websockets --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- when publishing, change bits marked ZZZ ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. ZZZ: Set YEAR, SHORTDAY (month/day), and LONGDAY accordingly. They are used by the INSERT FOO bits below. --> <!--SET PUB=0--> <!--SET SHORTSTATUS=WD--> <!--SET LONGSTATUS=Working Draft--> <!--SET YEAR=2010--> <!--SET SHORTDAY=1116--> <!--SET LONGDAY=16 November--> <!--SET TRNAME=websockets--> <!--SET DEVURL=http://dev.w3.org/html5/websockets/--> <!--SET COMPONENT=WebSocket API (editor: Ian Hickson)--> <html lang="en-US-x-Hixie"> <head> <title>The WebSocket API</title> <!--BOILERPLATE middle-w3c-styles--> <!--BOILERPLATE middle-w3c-webapps-magic--> <h1>The WebSocket API</h1> <!--<h2 class="no-num no-toc">(subtitle)</h2>--> <!--BOILERPLATE middle-w3c-version--> <!-- ZZZ: add the new version after it has shipped--> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2009/WD-websockets-20090423/">http://www.w3.org/TR/2009/WD-websockets-20090423/</a> <dd><a href="http://www.w3.org/TR/2009/WD-websockets-20091029/">http://www.w3.org/TR/2009/WD-websockets-20091029/</a></dd> <!-- :ZZZ --> <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl> <!--BOILERPLATE middle-w3c-copyright--> <h2 class="no-num no-toc">Abstract</h2> <p>This specification defines an API that enables Web pages to use the WebSocket protocol for two-way communication with a remote host.</p> <h2 class="no-num no-toc">Status of This document</h2> <!--BOILERPLATE middle-w3c-feedback--> <!--BOILERPLATE middle-w3c-feedback-webapps--> <p>This specification is being developed in conjunction with an Internet Draft for a wire protocol, the WebSocket Protocol, available from the following location:</p> <ul> <li>WebSocket Protocol Internet-Draft: <a href="http://www.whatwg.org/specs/web-socket-protocol/">http://www.whatwg.org/specs/web-socket-protocol/</a></li> </ul> <!-- required patent boilerplate --> <p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/42538/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.</p> <!--BOILERPLATE middle-w3c-webapps-pp--> <h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--toc--> <hr> --- NEW FILE: middle-w3c-version --- <!--PUB-Y--> <h2 class="no-num no-toc">W3C <!--INSERT LONGSTATUS--> <!--INSERT LONGDAY--> <!--INSERT YEAR--></h2> <!--PUB-N--> <h2 class="no-num no-toc">Editor's Draft [DATE 1 January 1970]</h2> <dl> <!--PUB-Y--> <dt>This Version:</dt> <!--PUB-Y--> <dd><a href="http://www.w3.org/TR/<!--INSERT YEAR-->/<!--INSERT SHORTSTATUS-->-<!--INSERT TRNAME-->-<!--INSERT YEAR--><!--INSERT SHORTDAY-->/">http://www.w3.org/TR/<!--INSERT YEAR-->/<!--INSERT SHORTSTATUS-->-<!--INSERT TRNAME-->-<!--INSERT YEAR--><!--INSERT SHORTDAY-->/</a></dd> <dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/<!--INSERT TRNAME-->/">http://www.w3.org/TR/<!--INSERT TRNAME-->/</a></dd> <dt>Latest Editor's Draft:</dt> <dd><a class="latest-link" href="<!--INSERT DEVURL-->"><!--INSERT DEVURL--></a></dd> --- NEW FILE: header-w3c-postmsg --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- when publishing, change bits marked ZZZ ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. ZZZ: Set YEAR, SHORTDAY (month/day), and LONGDAY accordingly. They are used by the INSERT FOO bits below. --> <!--SET PUB=0--> <!--SET SHORTSTATUS=WD--> <!--SET LONGSTATUS=Working Draft--> <!--SET YEAR=2010--> <!--SET SHORTDAY=1116--> <!--SET LONGDAY=16 November--> <!--SET TRNAME=webmessaging--> <!--SET DEVURL=http://dev.w3.org/html5/postmsg/--> <!--SET COMPONENT=Web Messaging (editor: Ian Hickson)--> <html lang="en-US-x-Hixie"> <head> <title>HTML5 Web Messaging</title> <!--BOILERPLATE middle-w3c-styles--> <!--BOILERPLATE middle-w3c-webapps-magic--> <h1>HTML5 Web Messaging</h1> <!--<h2 class="no-num no-toc">(subtitle)</h2>--> <!--BOILERPLATE middle-w3c-version--> <!-- ZZZ: add the new version after it has shipped --> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2010/WD-webmessaging-20101118/">http://www.w3.org/TR/2010/WD-webmessaging-20101118/</a></dd> <!-- :ZZZ --> <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl> <!--BOILERPLATE middle-w3c-copyright--> <h2 class="no-num no-toc">Abstract</h2> <p>This specification defines two mechanism for communicating between browsing contexts in HTML documents.</p> <h2 class="no-num no-toc">Status of This document</h2> <!--BOILERPLATE middle-w3c-feedback--> <!--BOILERPLATE middle-w3c-feedback-webapps--> <!--BOILERPLATE middle-w3c-webapps-pp--> <h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--toc--> <hr> --- NEW FILE: middle-w3c-html-module-status --- <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <!-- context and rationale (required) --> <!-- (this text is from the RDFa+HTML spec --> <p>This specification is an extension to the HTML5 language. All normative content in the HTML5 specification, unless specifically overridden by this specification, is intended to be the basis for this specification.</p> <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> --- NEW FILE: header-w3c-webstorage --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- when publishing, change bits marked ZZZ ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. ZZZ: Set YEAR, SHORTDAY (month/day), and LONGDAY accordingly. They are used by the INSERT FOO bits below. --> <!--SET PUB=0--> <!--SET SHORTSTATUS=WD--> <!--SET LONGSTATUS=Working Draft--> <!--SET YEAR=2010--> <!--SET SHORTDAY=1116--> <!--SET LONGDAY=16 November--> <!--SET TRNAME=webstorage--> <!--SET DEVURL=http://dev.w3.org/html5/webstorage/--> <!--SET COMPONENT=Web Storage (editor: Ian Hickson)--> <html lang="en-US-x-Hixie"> <head> <title>Web Storage</title> <!--BOILERPLATE middle-w3c-styles--> <!--BOILERPLATE middle-w3c-webapps-magic--> <h1>Web Storage</h1> <!--BOILERPLATE middle-w3c-version--> <!-- ZZZ: add the new version after it has shipped--> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2009/WD-webstorage-20090423/">http://www.w3.org/TR/2009/WD-webstorage-20090423/</a> <dd><a href="http://www.w3.org/TR/2009/WD-webstorage-20091029/">http://www.w3.org/TR/2009/WD-webstorage-20091029/</a></dd> <!-- :ZZZ --> <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl> <!--BOILERPLATE middle-w3c-copyright--> <h2 class="no-num no-toc">Abstract</h2> <p>This specification defines an API for persistent data storage of key-value pair data in Web clients.</p> <h2 class="no-num no-toc">Status of This document</h2> <!--BOILERPLATE middle-w3c-feedback--> <!--BOILERPLATE middle-w3c-feedback-webapps--> <!--BOILERPLATE middle-w3c-webapps-pp--> <h2 class="no-num no-toc">Issues</h2> <p>The use of the storage mutex to avoid race conditions is currently considered by certain implementors to be too high a performance burden, to the point where allowing data corruption is considered preferable. Alternatives that do not require a user-agent-wide per-origin script lock are eagerly sought after. If reviewers have any suggestions, they are urged to send them to the addresses given in the previous section.</p> <p>More details regarding this issue are available in these e-mails (as well as <a href="http://lists.whatwg.org/mmsearch.cgi/whatwg-whatwg.org?config=whatwg-whatwg.org&restrict=&exclude=&method=and&format=short&sort=revtime&words=storage+mutex">numerous others</a>):</p> <ul> <li><a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-September/023059.html">http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-September/023059.html</a></li> <li><a href="http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-December/024277.html">http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-December/024277.html</a></li> </ul> <h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--toc--> <hr> --- NEW FILE: middle-w3c-html-pp --- <!-- required patent boilerplate --> <p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/40318/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.</p> --- NEW FILE: middle-w3c-html-magic --- <script> function getCookie(name) { var params = location.search.substr(1).split("&"); for (var index = 0; index < params.length; index++) { if (params[index] == name) return "1"; var data = params[index].split("="); if (data[0] == name) return unescape(data[1]); } var cookies = document.cookie.split("; "); for (var index = 0; index < cookies.length; index++) { var data = cookies[index].split("="); if (data[0] == name) return unescape(data[1]); } return null; } function load(script) { var e = document.createElement('script'); <!--PUB-Y--> e.setAttribute('src', script); <!--PUB-N--> e.setAttribute('src', 'http://www.whatwg.org/specs/web-apps/current-work/' + script + '?' + encodeURIComponent(location) + '&' + encodeURIComponent(document.referrer)); document.body.appendChild(e); } function init() { if (location.search == '?slow-browser') return; var configUI = document.createElement('div'); configUI.id = 'configUI'; document.body.appendChild(configUI); // load('reviewer.js'); // would need cross-site XHR if (document.getElementById('head')) load('toc.js'); load('styler.js'); // load('updater.js'); // would need cross-site XHR load('dfn.js'); // doesn't support split-out specs, but, oh well. // load('status.js'); // would need cross-site XHR if (getCookie('profile') == '1') document.getElementsByTagName('h2')[0].textContent += '; load: ' + (new Date() - loadTimer) + 'ms'; fixBrokenLink(); } </script> </head> <body onload="init()"> <div class="head" id="head"> <p><a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"></a></p> --- NEW FILE: middle-w3c-styles --- <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; } dl, dd { margin-top: 0; margin-bottom: 0; } dt { margin-top: 0.75em; margin-bottom: 0.25em; clear: left; } dt + dt { margin-top: 0; } dd dt { margin-top: 0.25em; margin-bottom: 0; } dd p { margin-top: 0; } dd dl + p { margin-top: 1em; } dd table + p { margin-top: 1em; } p + * > li, dd li { margin: 1em 0; } dt, dfn { font-weight: bold; font-style: normal; } dt dfn { font-style: italic; } pre, code { font-size: inherit; font-family: monospace; font-variant: normal; } pre strong { color: black; font: inherit; font-weight: bold; background: yellow; } pre em { font-weight: bolder; font-style: normal; } @media screen { code { color: orangered; } code :link, code :visited { color: inherit; } } var sub { vertical-align: bottom; font-size: smaller; position: relative; top: 0.1em; } table { border-collapse: collapse; border-style: hidden hidden none hidden; } table thead, table tbody { border-bottom: solid; } table tbody th:first-child { border-left: solid; } table tbody th { text-align: left; } table td, table th { border-left: solid; border-right: solid; border-bottom: solid thin; vertical-align: top; padding: 0.2em; } blockquote { margin: 0 0 0 2em; border: 0; padding: 0; font-style: italic; } .bad, .bad *:not(.XXX) { color: gray; border-color: gray; background: transparent; } .matrix, .matrix td { border: none; text-align: right; } .matrix { margin-left: 2em; } .dice-example { border-collapse: collapse; border-style: hidden solid solid hidden; border-width: thin; margin-left: 3em; } .dice-example caption { width: 30em; font-size: smaller; font-style: italic; padding: 0.75em 0; text-align: left; } .dice-example td, .dice-example th { border: solid thin; width: 1.35em; height: 1.05em; text-align: center; padding: 0; } .toc dfn, h1 dfn, h2 dfn, h3 dfn, h4 dfn, h5 dfn, h6 dfn { font: inherit; } img.extra { float: right; } pre.idl { border: solid thin; background: #EEEEEE; color: black; padding: 0.5em 1em; } pre.idl :link, pre.idl :visited { color: inherit; background: transparent; } pre.css { border: solid thin; background: #FFFFEE; color: black; padding: 0.5em 1em; } pre.css:first-line { color: #AAAA50; } dl.domintro { color: green; margin: 2em 0 2em 2em; padding: 0.5em 1em; border: none; background: #DDFFDD; } hr + dl.domintro, div.impl + dl.domintro { margin-top: 2.5em; margin-bottom: 1.5em; } dl.domintro dt, dl.domintro dt * { color: black; text-decoration: none; } dl.domintro dd { margin: 0.5em 0 1em 2em; padding: 0; } dl.domintro dd p { margin: 0.5em 0; } dl.switch { padding-left: 2em; } dl.switch > dt { text-indent: -1.5em; } dl.switch > dt:before { content: '\21AA'; padding: 0 0.5em 0 0; display: inline-block; width: 1em; text-align: right; line-height: 0.5em; } dl.triple { padding: 0 0 0 1em; } dl.triple dt, dl.triple dd { margin: 0; display: inline } dl.triple dt:after { content: ':'; } dl.triple dd:after { content: '\A'; white-space: pre; } .diff-old { text-decoration: line-through; color: silver; background: transparent; } .diff-chg, .diff-new { text-decoration: underline; color: green; background: transparent; } a .diff-new { border-bottom: 1px blue solid; } h2 { page-break-before: always; } h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } h1 + h2, hr + h2.no-toc { page-break-before: auto; } p > span:not([title=""]):not([class="XXX"]):not([class="impl"]):not([class="note"]), li > span:not([title=""]):not([class="XXX"]):not([class="impl"]):not([class="note"]), { border-bottom: solid #9999CC; } div.head { margin: 0 0 1em; padding: 1em 0 0 0; } div.head p { margin: 0; } div.head h1 { margin: 0; } div.head .logo { float: right; margin: 0 1em; } div.head .logo img { border: none } /* remove border from top image */ div.head dl { margin: 1em 0; } div.head p.copyright, div.head p.alt { font-size: x-small; font-style: oblique; margin: 0; } body > .toc > li { margin-top: 1em; margin-bottom: 1em; } body > .toc.brief > li { margin-top: 0.35em; margin-bottom: 0.35em; } body > .toc > li > * { margin-bottom: 0.5em; } body > .toc > li > * > li > * { margin-bottom: 0.25em; } .toc, .toc li { list-style: none; } .brief { margin-top: 1em; margin-bottom: 1em; line-height: 1.1; } .brief li { margin: 0; padding: 0; } .brief li p { margin: 0; padding: 0; } .category-list { margin-top: -0.75em; margin-bottom: 1em; line-height: 1.5; } .category-list::before { content: '\21D2\A0'; font-size: 1.2em; font-weight: 900; } .category-list li { display: inline; } .category-list li:not(:last-child)::after { content: ', '; } .category-list li > span, .category-list li > a { text-transform: lowercase; } .category-list li * { text-transform: none; } /* don't affect <code> nested in <a> */ .XXX { color: #E50000; background: white; border: solid red; padding: 0.5em; margin: 1em 0; } .XXX > :first-child { margin-top: 0; } p .XXX { line-height: 3em; } .annotation { border: solid thin black; background: #0C479D; color: white; position: relative; margin: 8px 0 20px 0; } .annotation:before { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 6px -6px -6px 6px; background: #333333; z-index: -1; content: ''; } .annotation :link, .annotation :visited { color: inherit; } .annotation :link:hover, .annotation :visited:hover { background: transparent; } .annotation span { border: none ! important; } .note { color: green; background: transparent; font-family: sans-serif; } .warning { color: red; background: transparent; } .note, .warning { font-weight: bolder; font-style: italic; } p.note, div.note { padding: 0.5em 2em; } span.note { padding: 0 2em; } .note p:first-child, .warning p:first-child { margin-top: 0; } .note p:last-child, .warning p:last-child { margin-bottom: 0; } .warning:before { font-style: normal; } p.note:before { content: 'Note: '; } p.warning:before { content: '\26A0 Warning! '; } .bookkeeping:before { display: block; content: 'Bookkeeping details'; font-weight: bolder; font-style: italic; } .bookkeeping { font-size: 0.8em; margin: 2em 0; } .bookkeeping p { margin: 0.5em 2em; display: list-item; list-style: square; } .bookkeeping dt { margin: 0.5em 2em 0; } .bookkeeping dd { margin: 0 3em 0.5em; } h4 { position: relative; z-index: 3; } h4 + .element, h4 + div + .element { margin-top: -2.5em; padding-top: 2em; } .element { background: #EEEEFF; color: black; margin: 0 0 1em 0.15em; padding: 0 1em 0.25em 0.75em; border-left: solid #9999FF 0.25em; position: relative; z-index: 1; } .element:before { position: absolute; z-index: 2; top: 0; left: -1.15em; height: 2em; width: 0.9em; background: #EEEEFF; content: ' '; border-style: none none solid solid; border-color: #9999FF; border-width: 0.25em; } .example { display: block; color: #222222; background: #FCFCFC; border-left: double; margin-left: 2em; padding-left: 1em; } td > .example:only-child { margin: 0 0 0 0.1em; } ul.domTree, ul.domTree ul { padding: 0 0 0 1em; margin: 0; } ul.domTree li { padding: 0; margin: 0; list-style: none; position: relative; } ul.domTree li li { list-style: none; } ul.domTree li:first-child::before { position: absolute; top: 0; height: 0.6em; left: -0.75em; width: 0.5em; border-style: none none solid solid; content: ''; border-width: 0.1em; } ul.domTree li:not(:last-child)::after { position: absolute; top: 0; bottom: -0.6em; left: -0.75em; width: 0.5em; border-style: none none solid solid; content: ''; border-width: 0.1em; } ul.domTree span { font-style: italic; font-family: serif; } ul.domTree .t1 code { color: purple; font-weight: bold; } ul.domTree .t2 { font-style: normal; font-family: monospace; } ul.domTree .t2 .name { color: black; font-weight: bold; } ul.domTree .t2 .value { color: blue; font-weight: normal; } ul.domTree .t3 code, .domTree .t4 code, .domTree .t5 code { color: gray; } ul.domTree .t7 code, .domTree .t8 code { color: green; } ul.domTree .t10 code { color: teal; } body.dfnEnabled dfn { cursor: pointer; } .dfnPanel { display: inline; position: absolute; z-index: 10; height: auto; width: auto; padding: 0.5em 0.75em; font: small sans-serif, Droid Sans Fallback; background: #DDDDDD; color: black; border: outset 0.2em; } .dfnPanel * { margin: 0; padding: 0; font: inherit; text-indent: 0; } .dfnPanel :link, .dfnPanel :visited { color: black; } .dfnPanel p { font-weight: bolder; } .dfnPanel * + p { margin-top: 0.25em; } .dfnPanel li { list-style-position: inside; } #configUI { position: absolute; z-index: 20; top: 10em; right: 1em; width: 11em; font-size: small; } #configUI p { margin: 0.5em 0; padding: 0.3em; background: #EEEEEE; color: black; border: inset thin; } #configUI p label { display: block; } #configUI #updateUI, #configUI .loginUI { text-align: center; } #configUI input[type=button] { display: block; margin: auto; } fieldset { margin: 1em; padding: 0.5em 1em; } fieldset > legend + * { margin-top: 0; } fieldset > :last-child { margin-bottom: 0; } fieldset p { margin: 0.5em 0; } <!--PUB-Y--> .stability { <!--PUB-Y--> position: fixed; <!--PUB-Y--> bottom: 0; <!--PUB-Y--> left: 0; right: 0; <!--PUB-Y--> margin: 0 auto 0 auto; <!--PUB-Y--> width: 50%; <!--PUB-Y--> background: maroon; color: yellow; <!--PUB-Y--> -webkit-border-radius: 1em 1em 0 0; <!--PUB-Y--> -moz-border-radius: 1em 1em 0 0; <!--PUB-Y--> border-radius: 1em 1em 0 0; <!--PUB-Y--> -moz-box-shadow: 0 0 1em #500; <!--PUB-Y--> -webkit-box-shadow: 0 0 1em #500; <!--PUB-Y--> box-shadow: 0 0 1em red; <!--PUB-Y--> padding: 0.5em 1em; <!--PUB-Y--> text-align: center; <!--PUB-Y--> } <!--PUB-Y--> .stability strong { <!--PUB-Y--> display: block; <!--PUB-Y--> } <!--PUB-Y--> .stability input { <!--PUB-Y--> appearance: none; margin: 0; border: 0; padding: 0.25em 0.5em; background: transparent; color: black; <!--PUB-Y--> position: absolute; top: -0.5em; right: 0; font: 1.25em sans-serif; text-align: center; <!--PUB-Y--> } <!--PUB-Y--> .stability input:hover { <!--PUB-Y--> color: white; <!--PUB-Y--> text-shadow: 0 0 2px black; <!--PUB-Y--> } <!--PUB-Y--> .stability input:active { <!--PUB-Y--> padding: 0.3em 0.45em 0.2em 0.55em; <!--PUB-Y--> } <!--PUB-Y--> .stability :link, .stability :visited, <!--PUB-Y--> .stability :link:hover, .stability :visited:hover { <!--PUB-Y--> background: transparent; <!--PUB-Y--> color: white; <!--PUB-Y--> } <!--PUB-Y--> </style> <!--PUB-Y--> <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-<!--INSERT SHORTSTATUS-->"> <!--PUB-N--> <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/W3C-ED"> --- NEW FILE: middle-w3c-webapps-magic --- <script> function getCookie(name) { var params = location.search.substr(1).split("&"); for (var index = 0; index < params.length; index++) { if (params[index] == name) return "1"; var data = params[index].split("="); if (data[0] == name) return unescape(data[1]); } var cookies = document.cookie.split("; "); for (var index = 0; index < cookies.length; index++) { var data = cookies[index].split("="); if (data[0] == name) return unescape(data[1]); } return null; } function load(script) { var e = document.createElement('script'); <!--PUB-Y--> e.setAttribute('src', script); <!--PUB-N--> e.setAttribute('src', 'http://www.whatwg.org/specs/web-apps/current-work/' + script + '?' + encodeURIComponent(location) + '&' + encodeURIComponent(document.referrer)); document.body.appendChild(e); } function init() { if (location.search == '?slow-browser') return; var configUI = document.createElement('div'); configUI.id = 'configUI'; document.body.appendChild(configUI); load('dfn.js'); // doesn't support split-out specs, but, oh well. if (getCookie('profile') == '1') document.getElementsByTagName('h2')[0].textContent += '; load: ' + (new Date() - loadTimer) + 'ms'; fixBrokenLink(); } </script> </head> <body onload="init()"> <div class="head" id="head"> <p><a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"></a></p> --- NEW FILE: middle-w3c-copyright --- <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.org/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p> <!--END database--> <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <p class="alt">The bulk of the text of this specification is also available in the WHATWG <a <!--END w3c-html--> <!--END microdata--> <!--END 2dcontext--> <!--END postmsg--> <!--END html-device--> <!--END websocket-api--> <!--END storage--> <!--END eventsource--> <!--END workers--> class="XXX" <!--START w3c-html--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html" <!--END w3c-html--> <!--START microdata--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html#microdata" <!--END microdata--> <!--START 2dcontext--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html#2dcontext" <!--END 2dcontext--> <!--START postmsg--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html#comms" <!--END postmsg--> <!--START html-device--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html#devices" <!--END html-device--> <!--START websocket-api--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html#network" <!--END websocket-api--> <!--START storage--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html#webstorage" <!--END storage--> <!--START eventsource--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html#eventsource" <!--END eventsource--> <!--START workers--> href="http://www.whatwg.org/specs/web-apps/current-work/complete.html#workers" <!--END workers--> <!--START w3c-html--> <!--START microdata--> <!--START 2dcontext--> <!--START postmsg--> <!--START html-device--> <!--START websocket-api--> <!--START storage--> <!--START eventsource--> <!--START workers--> >Web Applications 1.0</a> specification, under a license that permits reuse of the specification text.</p> <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <!--START database--> </div> <hr class="top"> --- NEW FILE: middle-w3c-api-intro --- <h2>Conformance requirements</h2> <p>All diagrams, examples, and notes in this specification are non-normative, as are all sections explicitly marked non-normative. Everything else in this specification is normative.</p> <p>The key words "MUST", "MUST NOT", "REQUIRED", <!--"SHALL", "SHALL NOT",--> "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in the normative parts of this document are to be interpreted as described in RFC2119. For readability, these words do not appear in all uppercase letters in this specification. <a href="#refsRFC2119">[RFC2119]</a></p> <p>Requirements phrased in the imperative as part of algorithms (such as "strip any leading space characters" or "return false and abort these steps") are to be interpreted with the meaning of the key word ("must", "should", "may", etc) used in introducing the algorithm.</p> <p>Some conformance requirements are phrased as requirements on attributes, methods or objects. Such requirements are to be interpreted as requirements on user agents.</p> <p>Conformance requirements phrased as algorithms or specific steps may be implemented in any manner, so long as the end result is equivalent. (In particular, the algorithms defined in this specification are intended to be easy to follow, and not intended to be performant.)</p> <p>The only conformance class defined by this specification is user agents.</p> <p>User agents may impose implementation-specific limits on otherwise unconstrained inputs, e.g. to prevent denial of service attacks, to guard against running out of memory, or to work around platform-specific limitations.</p> <p>When support for a feature is disabled (e.g. as an emergency measure to mitigate a security problem, or to aid in development, or for performance reasons), user agents must act as if they had no support for the feature whatsoever, and as if the feature was not mentioned in this specification. For example, if a particular feature is accessed via an attribute in a Web IDL interface, the attribute itself would be omitted from the objects that implement that interface — leaving the attribute on the object but making it return null or throw an exception is insufficient.</p> <h3>Dependencies</h3> <p>This specification relies on several other underlying specifications.</p> <dl> <dt>HTML</dt> <dd> <p>Many fundamental concepts from HTML are used by this specification. <a href="#refsHTML">[HTML]</a></p> </dd> <dt>WebIDL</dt> <dd> <p>The IDL blocks in this specification use the semantics of the WebIDL specification. <a href="#refsWEBIDL">[WEBIDL]</a></p> </dd> </dl> <h2>Terminology</h2> <p>The construction "a <code title="">Foo</code> object", where <code title="">Foo</code> is actually an interface, is sometimes used instead of the more accurate "an object implementing the interface <code title="">Foo</code>".</p> <p>The term DOM is used to refer to the API set made available to scripts in Web applications, and does not necessarily imply the existence of an actual <code>Document</code> object or of any other <code>Node</code> objects as defined in the DOM Core specifications. <a href="#refsDOMCORE">[DOMCORE]</a></p> <p>An IDL attribute is said to be <em>getting</em> when its value is being retrieved (e.g. by author script), and is said to be <em>setting</em> when a new value is assigned to it.</p> --- NEW FILE: middle-w3c-webapps-pp --- <!-- required patent boilerplate --> <p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 W3C Patent Policy</a>. W3C maintains a <a rel="disclosure" href="http://www.w3.org/2004/01/pp-impl/42538/status">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the W3C Patent Policy</a>.</p> --- NEW FILE: middle-w3c-feedback --- <!-- intro boilerplate (required) --> <p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the most recently formally published revision of this technical report can be found in the <a href="http://www.w3.org/TR/">W3C technical reports index</a> at http://www.w3.org/TR/.</em></p> <!-- where to send feedback (required) --> <p>If you wish to make comments regarding this document in a manner that is tracked by the W3C, please submit them via using <a href="http://www.w3.org/Bugs/Public/enter_bug.cgi?product=HTML%20WG">our public bug database</a>. If you do not have an account then you can enter feedback using this form:</p> <form action="http://www.whatwg.org/specs/web-apps/current-work/file-spam.cgi" method="post"> <fieldset> <legend>Feedback Comments</legend> <input type=hidden name=id value="top"> <input type=hidden name=component value="<!--INSERT COMPONENT-->"> <input type=hidden name=response value="html"> <p><label for="feedbackBox">Please enter your feedback, carefully indicating the title of the section for which you are submitting feedback, quoting the text that's wrong today if appropriate. If you're suggesting a new feature, it's really important to say <em>what</em> the problem you're trying to solve is. That's more important than the solution, in fact.</label></p> <p><textarea name="text" id="feedbackBox" rows="10" cols="79"></textarea></p> <p class="note">Please don't use section numbers as these tend to change rapidly and make your feedback harder to understand.</p> <script> function checkFeedbackForm(form) { if (form.elements.text.value.match(/ [^ ]+ [^ ]+ [^ ]+ [^ ]+ /)) { form.action = "http://www.whatwg.org/specs/web-apps/current-work/file-bug.cgi"; return true; } else { alert('Please include significantly more detail about exactly what problem you are trying to solve.'); return false; } } </script> <p> <input type="submit" value="Submit feedback" onclick="return checkFeedbackForm(form)"> <small>(Note: Your IP address will be publicly recorded for spam prevention purposes.)</small> </p> </fieldset> </form> --- NEW FILE: header-w3c-html-core --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- when publishing, change bits marked ZZZ ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. ZZZ: Set YEAR, SHORTDAY (month/day), and LONGDAY accordingly. They are used by the INSERT FOO bits below. --> <!--SET PUB=1--> <!--SET SHORTSTATUS=WD--> <!--SET LONGSTATUS=Working Draft--> <!--SET YEAR=2010--> <!--SET SHORTDAY=1116--> <!--SET LONGDAY=16 November--> <!--SET TRNAME=html5--> <!--SET DEVURL=http://dev.w3.org/html5/spec/Overview.html--> <!--SET COMPONENT=HTML Canvas 2D Context (editor: Ian Hickson)--> <html lang="en-US-x-Hixie"> <head> <title>HTML5</title> <!--BOILERPLATE middle-w3c-styles--> <!--BOILERPLATE middle-override-styles--> <!--BOILERPLATE middle-author-mode-links--> <!--BOILERPLATE middle-w3c-html-magic--> <h1>HTML5</h1> <h2 class="no-num no-toc">A vocabulary and associated APIs for HTML and XHTML</h2> <!--BOILERPLATE middle-w3c-version--> <!-- ZZZ: add the new version after it has shipped --> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2010/WD-html5-20100624/">http://www.w3.org/TR/2010/WD-html5-20100624/</a></dd> <dd><a href="http://www.w3.org/TR/2010/WD-html5-20100304/">http://www.w3.org/TR/2010/WD-html5-20100304/</a></dd> <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090825/">http://www.w3.org/TR/2009/WD-html5-20090825/</a></dd> <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090423/">http://www.w3.org/TR/2009/WD-html5-20090423/</a></dd> <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090212/">http://www.w3.org/TR/2009/WD-html5-20090212/</a></dd> <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd> <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080122/">http://www.w3.org/TR/2008/WD-html5-20080122/</a></dd> <!-- :ZZZ --> <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl> <p>This specification is available in the following formats: <a href="Overview.html">single page HTML</a>, <a href="spec.html">multipage HTML</a>, <a href="author/">web developer edition</a>. This is revision $Revision: 1.1 $. </p> <!--BOILERPLATE middle-w3c-copyright--> <h2 class="no-num no-toc">Abstract</h2> <p>This specification defines the 5th major revision of the core language of the World Wide Web: the Hypertext Markup Language (HTML). In this version, new features are introduced to help Web application authors, new elements are introduced based on research into prevailing authoring practices, and special attention has been given to defining clear conformance criteria for user agents in an effort to improve interoperability.</p> <h2 class="no-num no-toc">Status of This document</h2> <!--BOILERPLATE middle-w3c-feedback--> <!--BOILERPLATE middle-w3c-feedback-html--> <!--BOILERPLATE middle-w3c-html-pp--> <h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--toc--> <hr> --- NEW FILE: middle-w3c-feedback-html --- <p>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. <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING SENTENCE TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> Alternatively, you can e-mail feedback to <a href="mailto:whatwg@whatwg.org">whatwg@whatwg.org</a> (<a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">subscribe</a>, <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/">archives</a>). The editor guarantees that all substantive feedback sent to this list will receive a reply. However, such feedback is not considered formal feedback for the W3C process. <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING SENTENCE TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> All feedback is welcome.</p> <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <p>The working groups maintains <a href="http://www.w3.org/Bugs/Public/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassigned_to1=1&emailtype1=exact&email1=ian%40hixie.ch&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=">a list of all bug reports that the editor has not yet tried to address</a> and <a href="http://www.w3.org/html/wg/tracker/products/1">a list of issues for which the chairs have not yet declared a decision</a>. The editor also maintains <a href="http://www.whatwg.org/issues/">a list of all e-mails that he has not yet tried to address</a>. These bugs, issues, and e-mails apply to multiple HTML-related specifications, not just this one.</p> <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <!-- stability (required) --> <p>Implementors should be aware that this specification is not stable. <strong>Implementors who are not taking part in the discussions are likely to find the specification changing out from under them in incompatible ways.</strong> Vendors interested in implementing this specification before it eventually reaches the Candidate Recommendation stage should join the aforementioned mailing lists and take part in the discussions.</p> <div id="multipage-common"> <!--PUB-Y--> <!-- stability warning for TR/ page version --> <!--PUB-Y--> <!-- q.v. http://lists.w3.org/Archives/Public/public-html/2010Oct/0457.html --> <!--PUB-Y--> <p class="stability" id="wip"><strong>This is a work in <!--PUB-Y--> progress!</strong> For the latest updates from the HTML WG, possibly <!--PUB-Y--> including important bug fixes, please look at the <a <!--PUB-Y--> href="<!--INSERT DEVURL-->">editor's draft</a> instead. <!--PUB-Y--> <input type=button onclick="closeWarning(this.parentNode)" value="╳⃝"> <!--PUB-Y--> </p> <!--PUB-Y--> <script> <!--PUB-Y--> function closeWarning(element) { <!--PUB-Y--> element.parentNode.removeChild(element); <!--PUB-Y--> var date = new Date(); <!--PUB-Y--> date.setDate(date.getDate()+4); <!--PUB-Y--> document.cookie = 'hide-obsolescence-warning=1; expires=' + date.toGMTString(); <!--PUB-Y--> } <!--PUB-Y--> if (getCookie('hide-obsolescence-warning') == '1') <!--PUB-Y--> setTimeout(function () { document.getElementById('wip').parentNode.removeChild(document.getElementById('wip')); }, 2000); <!--PUB-Y--> </script> <!--PUB-Y--> <!-- <!--PUB-Y--> <script> <!--PUB-Y--> if (location == '<!--INSERT DEVURL-->') { <!--PUB-Y--> var wip = document.getElementById('wip'); <!--PUB-Y--> wip.parentNode.removeChild(wip); <!--PUB-Y--> } <!--PUB-Y--> </script> <!--PUB-Y--> --> </div> <!-- not everyone agrees with this (requested before html5 fpwd) --> <p>The publication of this document by the W3C as a W3C Working Draft does not imply that all of the participants in the W3C HTML working group endorse the contents of the specification. Indeed, for any section of the specification, one can usually find many members of the working group or of the W3C as a whole who object strongly to the current text, the existence of the section at all, or the idea that the working group should even spend time discussing the concept of that section.</p> <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN 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> and in the <a href="http://svn.whatwg.org/webapps/">WHATWG Subversion repository</a>. The <a href="http://www.whatwg.org/specs/web-apps/current-work/complete.html">latest editor's working copy</a> (which may contain unfinished text in the process of being prepared) contains the latest draft text of this specification (amongst others). For more details, please see the <a href="http://wiki.whatwg.org/wiki/FAQ#What_are_the_various_versions_of_the_spec.3F">WHATWG FAQ</a>.</p></p> <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING LIST TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <p>There are various ways to follow the change history for the HTML specifications:</p> <dl> <dt>E-mail notifications of changes</dt> <dd>HTML-Diffs mailing list (diff-marked HTML versions for each change): <a href="http://lists.w3.org/Archives/Public/public-html-diffs/latest">http://lists.w3.org/Archives/Public/public-html-diffs/latest</a></dd> <dd>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></dd> <dt>Real-time notifications of changes:</dt> <dd>Generated diff-marked HTML versions for each change: <a href="http://twitter.com/HTML5">http://twitter.com/HTML5</a></dd> <dt>Browsable version-control record of all changes:</dt> <dd>CVSWeb interface with side-by-side diffs: <a href="http://dev.w3.org/cvsweb/html5/">http://dev.w3.org/cvsweb/html5/</a></dd> <dd>Annotated summary with unified diffs: <a href="http://html5.org/tools/web-apps-tracker">http://html5.org/tools/web-apps-tracker</a></dd> <dd>Raw Subversion interface: <code>svn checkout http://svn.whatwg.org/webapps/</code></dd> </dl> <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING LIST TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> <!-- status of document, group responsible (required) --> <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 along the W3C Recommendation track. <!--PUB-Y--> This specification is the <!--INSERT LONGDAY--> <!--INSERT YEAR--> <!--INSERT LONGSTATUS-->. <!--PUB-N--> This specification is the [DATE 1 January 1970] Editor's Draft. </p> <!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN 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>.</p> <!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --> --- NEW FILE: header-w3c-html-2dcontext --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- when publishing, change bits marked ZZZ ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. ZZZ: Set YEAR, SHORTDAY, and LONGDAY accordingly. They are used by the INSERT FOO bits below. --> <!--SET PUB=1--> <!--SET SHORTSTATUS=WD--> <!--SET LONGSTATUS=Working Draft--> <!--SET YEAR=2010--> <!--SET SHORTDAY=1116--> <!--SET LONGDAY=16 November--> <!--SET TRNAME=2dcontext--> <!--SET DEVURL=http://dev.w3.org/html5/2dcontext/--> <!--SET COMPONENT=HTML5 spec (editor: Ian Hickson)--> <html lang="en-US-x-Hixie"> <head> <title>HTML Canvas 2D Context</title> <!--BOILERPLATE middle-w3c-styles--> <!--BOILERPLATE middle-override-styles--> <!--BOILERPLATE middle-author-mode-links--> <!--BOILERPLATE middle-w3c-html-magic--> <h1>HTML Canvas 2D Context</h1> <h2 class="no-num no-toc"></h2> <!--BOILERPLATE middle-w3c-version--> <!-- ZZZ: add the new version after it has shipped --> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2010/WD-2dcontext-20100624/">http://www.w3.org/TR/2010/WD-2dcontext-20100624/</a></dd> <dd><a href="http://www.w3.org/TR/2010/WD-2dcontext-20100304/">http://www.w3.org/TR/2010/WD-2dcontext-20100304/</a></dd> <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090825/">http://www.w3.org/TR/2009/WD-html5-20090825/</a></dd> <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090423/">http://www.w3.org/TR/2009/WD-html5-20090423/</a></dd> <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090212/">http://www.w3.org/TR/2009/WD-html5-20090212/</a></dd> <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">http://www.w3.org/TR/2008/WD-html5-20080610/</a></dd> <dd><a href="http://www.w3.org/TR/2008/WD-html5-20080122/">http://www.w3.org/TR/2008/WD-html5-20080122/</a></dd> <!-- :ZZZ --> <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl> <!--BOILERPLATE middle-w3c-copyright--> <h2 class="no-num no-toc">Abstract</h2> <p>This specification defines the 2D Context for the HTML <code>canvas</code> element.</p> <h2 class="no-num no-toc">Status of This document</h2> <!--BOILERPLATE middle-w3c-feedback--> <!--BOILERPLATE middle-w3c-feedback-html--> <!--BOILERPLATE middle-w3c-html-module-status--> <!--BOILERPLATE middle-w3c-html-pp--> <h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--toc--> <hr> <!--BOILERPLATE middle-w3c-html-module-conf--> --- NEW FILE: middle-w3c-html-module-conf --- <h2>Conformance requirements</h2> <p>This specification is an HTML specification. All the conformance requirements, conformance classes, definitions, dependencies, terminology, and typographical conventions described in the core HTML5 specification apply to this specification. <a href="#refsHTML5">[HTML5]</a></p> <p>Interfaces are defined in terms of Web IDL. <a href="#refsWEBIDL">[WEBIDL]</a></p> --- NEW FILE: middle-w3c-feedback-webapps --- <p>You can also e-mail feedback to <a href="mailto:public-webapps@w3.org">public-webapps@w3.org</a> (<a href="mailto:public-webapps-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-webapps/">archives</a>), or <a href="mailto:whatwg@whatwg.org">whatwg@whatwg.org</a> (<a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">subscribe</a>, <a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/">archives</a>). All feedback is welcome.</p> <!-- stability (required) --> <p>Implementors should be aware that this specification is not stable. <strong>Implementors who are not taking part in the discussions are likely to find the specification changing out from under them in incompatible ways.</strong> Vendors interested in implementing this specification before it eventually reaches the Candidate Recommendation stage should join the aforementioned mailing lists and take part in the discussions.</p> <div id="multipage-common"> <!--PUB-Y--> <!-- stability warning for TR/ page version --> <!--PUB-Y--> <!-- q.v. http://lists.w3.org/Archives/Public/public-html/2010Oct/0457.html --> <!--PUB-Y--> <p class="stability" id="wip"><strong>This is a work in <!--PUB-Y--> progress!</strong> For the latest updates from the WebApps WG, possibly <!--PUB-Y--> including important bug fixes, please look at the <a <!--PUB-Y--> href="<!--INSERT DEVURL-->">editor's draft</a> instead. <!--PUB-Y--> <input type=button onclick="closeWarning(this.parentNode)" value="╳⃝"> <!--PUB-Y--> </p> <!--PUB-Y--> <script> <!--PUB-Y--> function closeWarning(element) { <!--PUB-Y--> element.parentNode.removeChild(element); <!--PUB-Y--> var date = new Date(); <!--PUB-Y--> date.setDate(date.getDate()+4); <!--PUB-Y--> document.cookie = 'hide-obsolescence-warning=1; expires=' + date.toGMTString(); <!--PUB-Y--> } <!--PUB-Y--> if (getCookie('hide-obsolescence-warning') == '1') <!--PUB-Y--> setTimeout(function () { document.getElementById('wip').parentNode.removeChild(document.getElementById('wip')); }, 2000); <!--PUB-Y--> </script> <!--PUB-Y--> <!-- <!--PUB-Y--> <script> <!--PUB-Y--> if (location == '<!--INSERT DEVURL-->') { <!--PUB-Y--> var wip = document.getElementById('wip'); <!--PUB-Y--> wip.parentNode.removeChild(wip); <!--PUB-Y--> } <!--PUB-Y--> </script> <!--PUB-Y--> --> </div> <!-- 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="<!--INSERT DEVURL-->">the W3C CVS server</a> and in the <a href="http://svn.whatwg.org/webapps/">WHATWG Subversion repository</a>. The <a href="http://www.whatwg.org/specs/web-apps/current-work/complete.html">latest editor's working copy</a> (which may contain unfinished text in the process of being prepared) contains the latest draft text of this specification (amongst others). For more details, please see the <a href="http://wiki.whatwg.org/wiki/FAQ#What_are_the_various_versions_of_the_spec.3F">WHATWG FAQ</a>.</p></p> <p>Notifications of changes to this specification are sent along with notifications of changes to related specifications using the following mechanisms:</p> <dl> <dt>E-mail notifications of changes</dt> <dd>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></dd> <dt>Browsable version-control record of all changes:</dt> <dd>CVSWeb interface with side-by-side diffs: <a href="http://dev.w3.org/cvsweb/html5/">http://dev.w3.org/cvsweb/html5/</a></dd> <dd>Annotated summary with unified diffs: <a href="http://html5.org/tools/web-apps-tracker">http://html5.org/tools/web-apps-tracker</a></dd> <dd>Raw Subversion interface: <code>svn checkout http://svn.whatwg.org/webapps/</code></dd> </dl> <p>The W3C <a href="http://www.w3.org/2008/webapps/">Web Applications Working Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. <!--PUB-Y--> This specification is the <!--INSERT LONGDAY--> <!--INSERT YEAR--> <!--INSERT LONGSTATUS-->. <!--PUB-N--> This specification is the [DATE 1 January 1970] Editor's Draft. </p> --- NEW FILE: header-w3c-html-microdata --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- when publishing, change bits marked ZZZ ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. ZZZ: Set YEAR, SHORTDAY, and LONGDAY accordingly. They are used by the INSERT FOO bits below. bits marked YYY are for not depending on HTML5 (also see working-copy). --> <!--SET PUB=1--> <!--SET SHORTSTATUS=WD--> <!--SET LONGSTATUS=Working Draft--> <!--SET YEAR=2010--> <!--SET SHORTDAY=1116--> <!--SET LONGDAY=16 November--> <!--SET TRNAME=microdata--> <!--SET DEVURL=http://dev.w3.org/html5/md/--> <!--SET COMPONENT=HTML Microdata (editor: Ian Hickson)--> <html lang="en-US-x-Hixie"> <head> <title>HTML Microdata</title> <!--BOILERPLATE middle-w3c-styles--> <!--BOILERPLATE middle-override-styles--> <!--BOILERPLATE middle-author-mode-links--> <!--BOILERPLATE middle-w3c-html-magic--> <h1>HTML Microdata</h1> <h2 class="no-num no-toc"></h2> <!--BOILERPLATE middle-w3c-version--> <!-- ZZZ: add the new version after it has shipped --> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2010/WD-microdata-20100624/">http://www.w3.org/TR/2010/WD-microdata-20100624/</a></dd> <dd><a href="http://www.w3.org/TR/2010/WD-microdata-20100304/">http://www.w3.org/TR/2010/WD-microdata-20100304/</a></dd> <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090825/">http://www.w3.org/TR/2009/WD-html5-20090825/</a></dd> <!-- :ZZZ --> <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl> <!--BOILERPLATE middle-w3c-copyright--> <h2 class="no-num no-toc">Abstract</h2> <p>This specification defines the HTML microdata mechanism. This mechanism allows machine-readable data to be embedded in HTML documents in an easy-to-write manner, with an unambiguous parsing model. It is compatible with numerous other data formats including RDF and JSON.</p> <h2 class="no-num no-toc">Status of This document</h2> <!--BOILERPLATE middle-w3c-feedback--> <!--BOILERPLATE middle-w3c-feedback-html--> <!--YYY BOILERPLATE middle-w3c-html-module-status--> <!--BOILERPLATE middle-w3c-html-pp--> <h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--toc--> <hr> <!--FIXUP microdata +1--> <h2>Common infrastructure</h2> <p>This specification is designed to be used with a <dfn>host language</dfn> that defines the following terms:</p> <ul class="brief"> <li>DOM <dfn>collections</dfn> <li>The <dfn><code>HTMLCollection</code> interface</dfn> <li><dfn title="reflect">Reflection</dfn> of IDL attributes <li><dfn>Tree order</dfn> in a DOM tree <li>A node's <dfn>home subtree</dfn> <li><dfn>URL</dfn> <li><dfn>Valid URL</dfn> <li><dfn>Absolute URL</dfn> <li><dfn>Resolve a URL</dfn>.</p> <li><dfn>Alphanumeric ASCII characters</dfn> <li><dfn>Space characters</dfn> <li><dfn>Split a string on spaces</dfn> <li><dfn>Converted to ASCII uppercase</dfn> <li><dfn>Prefix match</dfn> <li><dfn>HTML elements</dfn> <li>The <dfn><code>HTMLElement</code></dfn> interface <li>The <dfn><code>HTMLDocument</code></dfn> interface <li><dfn>The <code>title</code> element</dfn> in the context of an <code>HTMLDocument</code> <li><dfn>Flow content</dfn> <li><dfn>Phrasing content</dfn> <li>An element's <dfn title="concept-ID">ID</dfn> <li>An element's <dfn>language</dfn> <li>A set of <dfn>global attributes</dfn> <li><dfn>Boolean attribute</dfn> <li><dfn>Unordered set of unique space-separated tokens</dfn> <li><dfn>Valid non-negative integer</dfn> <li><dfn title="concept-date">Date</dfn> <li><dfn title="concept-time">Time</dfn> <li><dfn title="concept-datetime">Global date and time</dfn> <li><dfn>Valid date string</dfn> <li><dfn>Valid global date and time string</dfn> <li><dfn>The document's current address</dfn> <li><dfn>Drag-and-drop initialization steps</dfn> <li>The <dfn>list of dragged nodes</dfn> </ul> <p>The <span>host language</span> also defines the elements used in this specification.</p> <!-- YYY <h3>Dependencies</h3> <p>This specification depends on the Web IDL and HTML5 specifications. <a href="#refsWEBIDL">[WEBIDL]</a> <a href="#refsHTML5">[HTML5]</a></p> <h3>Terminology</h3> <p>This specification relies heavily on the HTML5 specification to define underlying terms.</p> <p>HTML5 defines the concept of DOM <dfn>collections</dfn> and the <dfn><code>HTMLCollection</code></dfn> interface, as well as the concept of IDL attributes <dfn title="reflect">reflecting</dfn> content attributes. It also defines <dfn>tree order</dfn> and the concept of a node's <dfn>home subtree</dfn>.</p> <p>HTML5 defines the terms <dfn>URL</dfn>, <dfn>valid URL</dfn>, <dfn>absolute URL</dfn>, and <dfn>resolve a URL</dfn>.</p> <p>HTML5 defines the terms <dfn>alphanumeric ASCII characters</dfn>, <dfn>space characters</dfn> <dfn>split a string on spaces</dfn>, <dfn>converted to ASCII uppercase</dfn>, and <dfn>prefix match</dfn>.</p> <p>HTML5 defines the meaning of the term <dfn>HTML elements</dfn>, as well as all the elements referenced in this specification. It also defines the <dfn><code>HTMLElement</code></dfn> and <dfn><code>HTMLDocument</code></dfn> interfaces. It defines the specific concept of <dfn>the <code>title</code> element</dfn> in the context of an <code>HTMLDocument</code>. In the context of content models it defines the terms <dfn>flow content</dfn> and <dfn>phrasing content</dfn>. It also defines what an element's <dfn title="concept-ID">ID</dfn> or <dfn>language</dfn> is in HTML.</p> <p>HTML5 defines the set of <dfn>global attributes</dfn>, as well as terms used in describing attributes and their processing, such as the concept of a <dfn>boolean attribute</dfn>, of an <dfn>unordered set of unique space-separated tokens</dfn>, of a <dfn>valid non-negative integer</dfn>, of a <dfn title="concept-date">date</dfn>, a <dfn title="concept-time">time</dfn>, a <dfn title="concept-datetime">global date and time</dfn>, a <dfn>valid date string</dfn>, and a <dfn>valid global date and time string</dfn>.</p> <p>HTML5 defines what <dfn>the document's current address</dfn> is.</p> <p>Finally, HTML5 also defines the concepts of <dfn>drag-and-drop initialization steps</dfn> and of the <dfn>list of dragged nodes</dfn>, which come up in the context of drag-and-drop interfaces.</p> --> <!--FIXUP microdata -1--> --- NEW FILE: header-w3c-eventsource --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- when publishing, change bits marked ZZZ ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. ZZZ: Set YEAR, SHORTDAY (month/day), and LONGDAY accordingly. They are used by the INSERT FOO bits below. --> <!--SET PUB=0--> <!--SET SHORTSTATUS=WD--> <!--SET LONGSTATUS=Working Draft--> <!--SET YEAR=2010--> <!--SET SHORTDAY=1116--> <!--SET LONGDAY=16 November--> <!--SET TRNAME=eventsource--> <!--SET DEVURL=http://dev.w3.org/html5/eventsource/--> <!--SET COMPONENT=Server-Sent Events (editor: Ian Hickson)--> <html lang="en-US-x-Hixie"> <head> <title>Server-Sent Events</title> <!--BOILERPLATE middle-w3c-styles--> <!--BOILERPLATE middle-w3c-webapps-magic--> <h1>Server-Sent Events</h1> <!--<h2 class="no-num no-toc">(subtitle)</h2>--> <!--BOILERPLATE middle-w3c-version--> <!-- ZZZ: add the new version after it has shipped --> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2009/WD-eventsource-20090423/">http://www.w3.org/TR/2009/WD-eventsource-20090423/</a> <dd><a href="http://www.w3.org/TR/2009/WD-eventsource-20091029/">http://www.w3.org/TR/2009/WD-eventsource-20091029/</a></dd> <!-- :ZZZ --> <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl> <!--BOILERPLATE middle-w3c-copyright--> <h2 class="no-num no-toc">Abstract</h2> <p>This specification defines an API for opening an HTTP connection for receiving push notifications from a server in the form of DOM events. The API is designed such that it can be extended to work with other push notification schemes such as Push SMS.</p> <h2 class="no-num no-toc">Status of This document</h2> <!--BOILERPLATE middle-w3c-feedback--> <!--BOILERPLATE middle-w3c-feedback-webapps--> <!--BOILERPLATE middle-w3c-webapps-pp--> <h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--toc--> <hr> --- NEW FILE: middle-w3c-js-disclaimer --- <p>The term "JavaScript" is used to refer to ECMA262, rather than the official term ECMAScript, since the term JavaScript is more widely known. <a href="#refsECMA262">[ECMA262]</a></p> --- NEW FILE: header-w3c-webworkers --- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- when publishing, change bits marked ZZZ ZZZ: Set PUB to 1 for TR/ drafts, 0 for dev drafts; PUB-Y lines are used if it's 1 and PUB-N lines if it's 0. ZZZ: Set YEAR, SHORTDAY (month/day), and LONGDAY accordingly. They are used by the INSERT FOO bits below. --> <!--SET PUB=0--> <!--SET SHORTSTATUS=WD--> <!--SET LONGSTATUS=Working Draft--> <!--SET YEAR=2010--> <!--SET SHORTDAY=1116--> <!--SET LONGDAY=16 November--> <!--SET TRNAME=workers--> <!--SET DEVURL=http://dev.w3.org/html5/workers/--> <!--SET COMPONENT=Web Workers (editor: Ian Hickson)--> <html lang="en-US-x-Hixie"> <head> <title>Web Workers</title> <!--BOILERPLATE middle-w3c-styles--> <!--BOILERPLATE middle-w3c-webapps-magic--> <h1>Web Workers</h1> <!--<h2 class="no-num no-toc">(subtitle)</h2>--> <!--BOILERPLATE middle-w3c-version--> <!-- ZZZ: add the new version after it has shipped--> <dt>Previous Versions:</dt> <dd><a href="http://www.w3.org/TR/2009/WD-workers-20090423/">http://www.w3.org/TR/2009/WD-workers-20090423/</a> <dd><a href="http://www.w3.org/TR/2009/WD-workers-20091029/">http://www.w3.org/TR/2009/WD-workers-20091029/</a></dd> <!-- :ZZZ --> <dt>Editor:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl> <!--BOILERPLATE middle-w3c-copyright--> <h2 class="no-num no-toc">Abstract</h2> <p>This specification defines an API that allows Web application authors to spawn background workers running scripts in parallel to their main page. This allows for thread-like operation with message-passing as the coordination mechanism.</p> <h2 class="no-num no-toc">Status of This document</h2> <!--BOILERPLATE middle-w3c-feedback--> <!--BOILERPLATE middle-w3c-feedback-webapps--> <!--BOILERPLATE middle-w3c-webapps-pp--> <h2 class="no-num no-toc" id="contents">Table of Contents</h2> <!--toc--> <hr>
Received on Tuesday, 14 December 2010 02:01:18 UTC