- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 27 Jul 2010 06:09:48 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup In directory hutz:/tmp/cvs-serv9067 Modified Files: Overview.html a.html area.html audio.html base.html blockquote.html command.checkbox.html command.command.html command.radio.html datatypes.html del.html embed.html form.html forms-attributes.html global-attributes.html html.html iframe.html img.html input.email.html input.image.html input.url.html ins.html link.html object.html output.html q.html script.html source.html spec.html style.css td.html terminology.html th.html video.html Log Message: checkpointing some further datatype-documentation changes designed for greater user-friendliness and better alignment with the wording in the HTML5 spec Index: th.html =================================================================== RCS file: /sources/public/html5/markup/th.html,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- th.html 26 Jul 2010 04:06:25 -0000 1.65 +++ th.html 27 Jul 2010 06:09:45 -0000 1.66 @@ -78,7 +78,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/tabular-data.html#attr-tdth-headers">ⓘ</a></span> <a class="attribute-name" id="th.attrs.headers" title="th.attrs.headers" href="th.html#th.attrs.headers">headers</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.idrefs">set of ID references</a> + <a href="datatypes.html#common.data.idrefs">list of ID references</a> </span> </dt> <dd>Identifies one or more <a href="th.html#th" class="element">th</a> Index: Overview.html =================================================================== RCS file: /sources/public/html5/markup/Overview.html,v retrieving revision 1.440 retrieving revision 1.441 diff -u -d -r1.440 -r1.441 --- Overview.html 26 Jul 2010 04:06:25 -0000 1.440 +++ Overview.html 27 Jul 2010 06:09:43 -0000 1.441 @@ -10,7 +10,7 @@ <div class="head"> <div><a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"></a></div> <h1>HTML: The Markup Language Reference</h1> -<h2>W3C Editor’s Draft <em>26 July 2010</em> +<h2>W3C Editor’s Draft <em>27 July 2010</em> </h2> <dl> <dt>Latest Editor’s Draft:</dt> @@ -66,7 +66,7 @@ reports index</a> at http://www.w3.org/TR/. </em></p> <p> - This document is the 26 July 2010 Editor’s Draft of + This document is the 27 July 2010 Editor’s Draft of <cite>HTML: The Markup Language Reference</cite>. If you’d like to comment on this document, the preferred Index: input.email.html =================================================================== RCS file: /sources/public/html5/markup/input.email.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- input.email.html 24 Jul 2010 17:15:25 -0000 1.61 +++ input.email.html 27 Jul 2010 06:09:45 -0000 1.62 @@ -67,7 +67,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-input-element.html#attr-input-value">ⓘ</a></span> <a class="attribute-name" id="input.email.attrs.value.multiple" title="input.email.attrs.value.multiple" href="input.email.html#input.email.attrs.value.multiple">value</a> = <span class="attr-values"> - <a href="datatypes.html#form.data.emailaddresslist">e-mail address list</a> + <a href="datatypes.html#form.data.emailaddresslist">list of e-mail addresses</a> </span> </dt> <dd>A list of e-mail addresses.</dd> Index: iframe.html =================================================================== RCS file: /sources/public/html5/markup/iframe.html,v retrieving revision 1.72 retrieving revision 1.73 diff -u -d -r1.72 -r1.73 --- iframe.html 24 Jul 2010 17:15:25 -0000 1.72 +++ iframe.html 27 Jul 2010 06:09:45 -0000 1.73 @@ -51,7 +51,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-iframe-src">ⓘ</a></span> <a class="attribute-name" id="iframe.attrs.src" title="iframe.attrs.src" href="iframe.html#iframe.attrs.src">src</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of a page that the nested <a href="terminology.html#context">browsing context</a> is to contain.</dd> @@ -78,11 +78,81 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-iframe-sandbox">ⓘ</a></span> <a class="attribute-name" id="iframe.attrs.sandbox" title="iframe.attrs.sandbox" href="iframe.html#iframe.attrs.sandbox">sandbox</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.sandbox-allow-list">sandbox allow list</a> + <a href="datatypes.html#common.data.sandbox-allow-list">sandbox “allow” keywords list</a> </span> <span class="new-feature" title="This markup feature is newly added in HTML5.">NEW</span> </dt> - <dd>Instructs the UA to enable a set of extra restrictions on any - content hosted by the <code><a href="iframe.html#iframe">iframe</a></code>.</dd> + <dd>Instructs the UA to “sandbox” the + <a href="iframe.html#iframe">iframe</a> + by disallowing/disabling various features, and then + (optionally) re-allowing/re-enabling particular features.</dd> +<dd>The presence of this attribute—even if no value is given + (that is, the attribute is specified using + <a href="syntax.html#syntax-attr-empty">empty attribute syntax</a>) + or even if the value consists only of + <a href="terminology.html#space">space characters</a>—instructs the UA to + enforce all the following default sandbox restrictions: + <ul> +<li> +<b>plugins</b> + are disallowed/disabled within the + <a href="iframe.html#iframe">iframe</a> +</li> + <li> +<b>forms</b> + are disallowed/disabled within the + <a href="iframe.html#iframe">iframe</a> +</li> + <li> +<b>scripts</b> + are disallowed/disabled within the + <a href="iframe.html#iframe">iframe</a> +</li> + <li> +<b>links to other + <a href="terminology.html#context">browsing contexts</a></b> + are disallowed/disabled within the + <a href="iframe.html#iframe">iframe</a> +</li> + <li> +<b>same-origin treatment</b> + of the content hosted by the + <a href="iframe.html#iframe">iframe</a> + and the content which hosts the + <a href="iframe.html#iframe">iframe</a> + is disallowed/disabled; the + <a href="iframe.html#iframe">iframe</a> + is instead treated as being from a + unique origin</li> + </ul> +</dd> +<dd>If any + <a href="datatypes.html#common.data.sandbox-allow-list">sandbox “allow” keywords</a> + are given, they instruct the UA to override particular + default sandbox restrictions by re-allowing/re-enabling + certain features, as follows: + <ul> +<li> +<code>allow-forms</code>: re-enables forms</li> + <li> +<code>allow-scripts</code>: re-enables scripts</li> + <li> +<code>allow-top-navigation</code>: re-enables links + within the content of the + <a href="iframe.html#iframe">iframe</a> + to navigate to its + <a href="terminology.html#top-level-context">top-level browsing context</a> +</li> + <li> +<code>allow-same-origin</code>: re-enables + same-origin treatment of the content hosted by the + <a href="iframe.html#iframe">iframe</a> + and the content which hosts the + <a href="iframe.html#iframe">iframe</a> + (instead of forcing the + <a href="iframe.html#iframe">iframe</a> + into a unique origin)</li> + </ul> +</dd> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-iframe-seamless">ⓘ</a></span> <a class="attribute-name" id="iframe.attrs.seamless" title="iframe.attrs.seamless" href="iframe.html#iframe.attrs.seamless">seamless</a> = <span class="attr-values"> Index: ins.html =================================================================== RCS file: /sources/public/html5/markup/ins.html,v retrieving revision 1.59 retrieving revision 1.60 diff -u -d -r1.59 -r1.60 --- ins.html 24 Jul 2010 17:15:26 -0000 1.59 +++ ins.html 27 Jul 2010 06:09:45 -0000 1.60 @@ -48,7 +48,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/edits.html#attr-mod-cite">ⓘ</a></span> <a class="attribute-name" id="ins.attrs.cite" title="ins.attrs.cite" href="ins.html#ins.attrs.cite">cite</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of a document that explains why the text was added.</dd> Index: html.html =================================================================== RCS file: /sources/public/html5/markup/html.html,v retrieving revision 1.57 retrieving revision 1.58 diff -u -d -r1.57 -r1.58 --- html.html 24 Jul 2010 17:15:25 -0000 1.57 +++ html.html 27 Jul 2010 06:09:44 -0000 1.58 @@ -47,7 +47,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/semantics.html#attr-html-manifest">ⓘ</a></span> <a class="attribute-name" id="html.attrs.manifest" title="html.attrs.manifest" href="html.html#html.attrs.manifest">manifest</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> <span class="new-feature" title="This markup feature is newly added in HTML5.">NEW</span> </dt> <dd>The address of the document’s <dfn id="manifest">application cache manifest</dfn> (which Index: global-attributes.html =================================================================== RCS file: /sources/public/html5/markup/global-attributes.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- global-attributes.html 26 Jul 2010 04:06:25 -0000 1.6 +++ global-attributes.html 27 Jul 2010 06:09:44 -0000 1.7 @@ -50,7 +50,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/editing.html#the-accesskey-attribute">ⓘ</a></span> <a class="attribute-name" id="common.attrs.accesskey" title="common.attrs.accesskey" href="global-attributes.html#common.attrs.accesskey">accesskey</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.keylabellist">key-label list</a> + <a href="datatypes.html#common.data.keylabellist">list of key labels</a> </span> <span class="changed-feature" title="The meaning, structure, or purpose of this markup feature has changed in HTML5.">CHANGED</span> </dt> <dd>A key label or list of key labels with which to @@ -567,7 +567,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/elements.html#the-xml:base-attribute-xml-only">ⓘ</a></span> <a class="attribute-name" id="common.attrs.xmlbase" title="common.attrs.xmlbase" href="global-attributes.html#common.attrs.xmlbase">xml:base</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>As defined in the XML Base specification <a href="references.html#refsXMLBase">[XMLBase]</a>.</dd> Index: script.html =================================================================== RCS file: /sources/public/html5/markup/script.html,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- script.html 24 Jul 2010 17:15:27 -0000 1.68 +++ script.html 27 Jul 2010 06:09:45 -0000 1.69 @@ -68,7 +68,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/scripting-1.html#attr-script-src">ⓘ</a></span> <a class="attribute-name" id="script.attrs.src" title="script.attrs.src" href="script.html#script.attrs.src">src</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of the external script to use.</dd> Index: audio.html =================================================================== RCS file: /sources/public/html5/markup/audio.html,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- audio.html 24 Jul 2010 17:15:23 -0000 1.69 +++ audio.html 27 Jul 2010 06:09:44 -0000 1.70 @@ -112,7 +112,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/video.html#attr-media-src">ⓘ</a></span> <a class="attribute-name" id="audio.attrs.src" title="audio.attrs.src" href="audio.html#audio.attrs.src">src</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The URL for the audio stream.</dd> Index: command.command.html =================================================================== RCS file: /sources/public/html5/markup/command.command.html,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- command.command.html 24 Jul 2010 17:15:23 -0000 1.56 +++ command.command.html 27 Jul 2010 06:09:44 -0000 1.57 @@ -58,7 +58,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/interactive-elements.html#attr-command-icon">ⓘ</a></span> <a class="attribute-name" id="command.command.attrs.icon" title="command.command.attrs.icon" href="command.command.html#command.command.attrs.icon">icon</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL for an image that represents the command.</dd> Index: link.html =================================================================== RCS file: /sources/public/html5/markup/link.html,v retrieving revision 1.64 retrieving revision 1.65 diff -u -d -r1.64 -r1.65 --- link.html 26 Jul 2010 04:06:25 -0000 1.64 +++ link.html 27 Jul 2010 06:09:45 -0000 1.65 @@ -51,7 +51,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/links.html#attr-hyperlink-href">ⓘ</a></span> <a class="attribute-name" id="link.attrs.href" title="link.attrs.href" href="link.html#link.attrs.href">href</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL that provides the destination of the <a href="link.html#link" class="element">link</a>.</dd> Index: area.html =================================================================== RCS file: /sources/public/html5/markup/area.html,v retrieving revision 1.70 retrieving revision 1.71 diff -u -d -r1.70 -r1.71 --- area.html 26 Jul 2010 04:06:25 -0000 1.70 +++ area.html 27 Jul 2010 06:09:44 -0000 1.71 @@ -66,7 +66,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/links.html#attr-hyperlink-href">ⓘ</a></span> <a class="attribute-name" id="area.attrs.href" title="area.attrs.href" href="area.html#area.attrs.href">href</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL that provides the destination of the hyperlink for this Index: a.html =================================================================== RCS file: /sources/public/html5/markup/a.html,v retrieving revision 1.76 retrieving revision 1.77 diff -u -d -r1.76 -r1.77 --- a.html 26 Jul 2010 04:06:25 -0000 1.76 +++ a.html 27 Jul 2010 06:09:44 -0000 1.77 @@ -65,7 +65,7 @@ </dd> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/links.html#attr-hyperlink-href">ⓘ</a></span> <a class="attribute-name" id="a.attrs.href" title="a.attrs.href" href="a.html#a.attrs.href">href</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL that provides the destination of the hyperlink. If the Index: object.html =================================================================== RCS file: /sources/public/html5/markup/object.html,v retrieving revision 1.69 retrieving revision 1.70 diff -u -d -r1.69 -r1.70 --- object.html 26 Jul 2010 04:06:25 -0000 1.69 +++ object.html 27 Jul 2010 06:09:45 -0000 1.70 @@ -64,7 +64,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-object-data">ⓘ</a></span> <a class="attribute-name" id="object.attrs.data" title="object.attrs.data" href="object.html#object.attrs.data">data</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of the content.</dd> Index: terminology.html =================================================================== RCS file: /sources/public/html5/markup/terminology.html,v retrieving revision 1.35 retrieving revision 1.36 diff -u -d -r1.35 -r1.36 --- terminology.html 15 Jul 2010 15:36:16 -0000 1.35 +++ terminology.html 27 Jul 2010 06:09:45 -0000 1.36 @@ -97,6 +97,12 @@ <li>U+000D CARRIAGE RETURN (CR)</li> </ul> </dd> + <dt><dfn id="top-level-context" title="top-level-context">top-level browsing context</dfn></dt> + <dd>A + <a href="terminology.html#top-level-context">top-level browsing context</a> + is as defined in + <a href="references.html#refsHTML5">[HTML5]</a>. + </dd> <dt><dfn id="transparent" title="transparent">transparent</dfn></dt> <dd>If the content model of a particular element <var>foo</var> is described as <i>transparent</i>, it means: Index: img.html =================================================================== RCS file: /sources/public/html5/markup/img.html,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- img.html 26 Jul 2010 04:06:25 -0000 1.68 +++ img.html 27 Jul 2010 06:09:45 -0000 1.69 @@ -50,7 +50,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/embedded-content-1.html#attr-img-src">ⓘ</a></span> <a class="attribute-name" id="img.attrs.src" title="img.attrs.src" href="img.html#img.attrs.src">src</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL referencing a non-interactive, optionally animated, image that is neither paged nor scripted.</dd> Index: datatypes.html =================================================================== RCS file: /sources/public/html5/markup/datatypes.html,v retrieving revision 1.52 retrieving revision 1.53 diff -u -d -r1.52 -r1.53 --- datatypes.html 26 Jul 2010 04:06:25 -0000 1.52 +++ datatypes.html 27 Jul 2010 06:09:44 -0000 1.53 @@ -9,8 +9,8 @@ <body> <h2 class="chunkpagetitle"><a href="Overview.html">HTML: The Markup Language Reference</a></h2> <div class="nav"> -<span class="nav-prev"><a href="forms-attributes.html">« forms attributes</a></span> -<span class="nav-next"><a href="references.html">references »</a></span> +<span class="nav-prev"><a href="forms-attributes.html">« forms attributes</a></span> +<span class="nav-next"><a href="references.html">references »</a></span> </div> <div id="datatypes" class="section"> <h2>9. Datatypes <a class="hash" href="#datatypes">#</a> <a class="toc-bak" href="Overview.html#datatypes-toc">T</a> @@ -32,7 +32,7 @@ <a href="syntax.html#normal-character-data">normal character data</a>.</p> <p>The <a href="syntax.html#syntax-attributes">Attributes</a> section of this document describes additional restrictions on strings in - attribute values — in particular, restrictions for the + attribute values — in particular, restrictions for the following cases:</p> <ul> <li><a href="syntax.html#attr-value-unquoted">unquoted attribute values</a></li> @@ -41,8 +41,28 @@ </ul> </div> </div> +<div id="data-comma-separated-strings-def" class="section"> + <h2 class="common-subhead">9.02. <dfn id="data-comma-separated-strings">Set of comma-separated strings</dfn> <a class="hash" href="#data-comma-separated-strings-def">#</a> +</h2> + <div class="datatype-desc">Zero or more + <a href="datatypes.html#data-string">strings</a> + that are themselves each zero or more characters, each + optionally with leading and/or trailing + <a href="terminology.html#space">space characters</a>, + and each separated from the next by a single + "<code title="U+002C COMMA">,</code>" + (comma) character. Each string itself + <a href="terminology.html#must-requirement">must</a> + not begin or end with any + <a href="terminology.html#space">space characters</a>, + and each string itself + <a href="terminology.html#must-requirement">must</a> + not contain any + "<code title="U+002C COMMA">,</code>" + (comma) characters.</div> + </div> <div id="data-token-def" class="section"> - <h2 class="common-subhead">9.02. <dfn id="data-token">Token</dfn> <a class="hash" href="#data-token-def">#</a> + <h2 class="common-subhead">9.03. <dfn id="data-token">Token</dfn> <a class="hash" href="#data-token-def">#</a> </h2> <div class="datatype-desc">A <a href="datatypes.html#data-string">string</a> @@ -50,7 +70,7 @@ <a href="terminology.html#space">space characters</a>.</div> </div> <div id="common.data.tokens-def" class="section"> - <h2 class="common-subhead">9.03. <dfn id="common.data.tokens">Set of space-separated tokens</dfn> <a class="hash" href="#common.data.tokens-def">#</a> + <h2 class="common-subhead">9.04. <dfn id="common.data.tokens">Set of space-separated tokens</dfn> <a class="hash" href="#common.data.tokens-def">#</a> </h2> <div class="datatype-desc">A @@ -60,14 +80,22 @@ </div> <div id="data-unordered-tokens-def" class="section"> -<h2 class="common-subhead">9.04. <dfn id="data-unordered-tokens">Unordered set of unique space-separated tokens</dfn> <a class="hash" href="#data-unordered-tokens-def">#</a> +<h2 class="common-subhead">9.05. <dfn id="data-unordered-tokens">Unordered set of unique space-separated tokens</dfn> <a class="hash" href="#data-unordered-tokens-def">#</a> </h2> <div class="datatype-desc">A <a href="datatypes.html#common.data.tokens">set of space-separated tokens</a> in which none of the tokens are duplicated.</div> </div> +<div id="data-ordered-tokens-def" class="section"> +<h2 class="common-subhead">9.06. <dfn id="data-ordered-tokens">Ordered set of unique space-separated tokens</dfn> <a class="hash" href="#data-ordered-tokens-def">#</a> +</h2> + <div class="datatype-desc">A + <a href="datatypes.html#common.data.tokens">set of space-separated tokens</a> + in which none of the tokens are duplicated, + but in which the order of the tokens is meaningful.</div> + </div> <div id="common.data.browsing-context-name-def" class="section"> - <h2 class="common-subhead">9.05. <dfn id="common.data.browsing-context-name">Browsing-context name</dfn> <a class="hash" href="#common.data.browsing-context-name-def">#</a> + <h2 class="common-subhead">9.07. <dfn id="common.data.browsing-context-name">Browsing-context name</dfn> <a class="hash" href="#common.data.browsing-context-name-def">#</a> </h2> <div class="datatype-desc">Any @@ -88,7 +116,7 @@ </div> <div id="common.data.browsing-context-name-or-keyword-def" class="section"> - <h2 class="common-subhead">9.06. <dfn id="common.data.browsing-context-name-or-keyword">Browsing-context name or keyword</dfn> <a class="hash" href="#common.data.browsing-context-name-or-keyword-def">#</a> + <h2 class="common-subhead">9.08. <dfn id="common.data.browsing-context-name-or-keyword">Browsing-context name or keyword</dfn> <a class="hash" href="#common.data.browsing-context-name-or-keyword-def">#</a> </h2> <div class="datatype-desc">Any @@ -114,7 +142,7 @@ </div> <div id="common.data.id-def" class="section"> - <h2 class="common-subhead">9.07. <dfn id="common.data.id">ID</dfn> <a class="hash" href="#common.data.id-def">#</a> + <h2 class="common-subhead">9.09. <dfn id="common.data.id">ID</dfn> <a class="hash" href="#common.data.id-def">#</a> </h2> <div class="datatype-desc">Any @@ -131,17 +159,19 @@ </li> </ul> </div> - <p class="note">Previous versions of HTML placed greater - restrictions on the content of - <a href="datatypes.html#common.data.id">ID</a> - values (for example, they did not permit - <a href="datatypes.html#common.data.id">ID</a> - values to begin with a number).</p> + <div class="note"> + <p>Previous versions of HTML placed greater + restrictions on the content of + <a href="datatypes.html#common.data.id">ID</a> + values (for example, they did not permit + <a href="datatypes.html#common.data.id">ID</a> + values to begin with a number).</p> + </div> </div> <div id="common.data.idref-def" class="section"> - <h2 class="common-subhead">9.08. <dfn id="common.data.idref">ID reference</dfn> <a class="hash" href="#common.data.idref-def">#</a> + <h2 class="common-subhead">9.10. <dfn id="common.data.idref">ID reference</dfn> <a class="hash" href="#common.data.idref-def">#</a> </h2> <div class="datatype-desc">A valid @@ -155,7 +185,7 @@ </div> <div id="common.data.idrefs-def" class="section"> - <h2 class="common-subhead">9.09. <dfn id="common.data.idrefs">Set of ID references</dfn> <a class="hash" href="#common.data.idrefs-def">#</a> + <h2 class="common-subhead">9.11. <dfn id="common.data.idrefs">List of ID references</dfn> <a class="hash" href="#common.data.idrefs-def">#</a> </h2> <div class="datatype-desc">An @@ -166,7 +196,7 @@ </div> <div id="common.data.name-def" class="section"> - <h2 class="common-subhead">9.10. <dfn id="common.data.name">Name</dfn> <a class="hash" href="#common.data.name-def">#</a> + <h2 class="common-subhead">9.12. <dfn id="common.data.name">Name</dfn> <a class="hash" href="#common.data.name-def">#</a> </h2> <div class="datatype-desc">Any @@ -187,7 +217,7 @@ </div> <div id="common.data.hash-name-def" class="section"> - <h2 class="common-subhead">9.11. <dfn id="common.data.hash-name">Hash-name reference</dfn> <a class="hash" href="#common.data.hash-name-def">#</a> + <h2 class="common-subhead">9.13. <dfn id="common.data.hash-name">Hash-name reference</dfn> <a class="hash" href="#common.data.hash-name-def">#</a> </h2> <div class="datatype-desc">A @@ -205,11 +235,11 @@ </div> <div id="common.data.integer-def" class="section"> - <h2 class="common-subhead">9.12. <dfn id="common.data.integer">Integer</dfn> <a class="hash" href="#common.data.integer-def">#</a> + <h2 class="common-subhead">9.14. <dfn id="common.data.integer">Integer</dfn> <a class="hash" href="#common.data.integer-def">#</a> </h2> <div class="datatype-desc">One or more characters in the range - <code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>, + <code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>, optionally prefixed with a "<code title="U+002D HYPHEN-MINUS">-</code>" character.</div> @@ -217,7 +247,7 @@ </div> <div id="common.data.integer.positive-def" class="section"> - <h2 class="common-subhead">9.13. <dfn id="common.data.integer.positive">Positive integer</dfn> <a class="hash" href="#common.data.integer.positive-def">#</a> + <h2 class="common-subhead">9.15. <dfn id="common.data.integer.positive">Positive integer</dfn> <a class="hash" href="#common.data.integer.positive-def">#</a> </h2> <div class="datatype-desc">Any @@ -233,16 +263,16 @@ </div> <div id="common.data.integer.non-negative-def" class="section"> - <h2 class="common-subhead">9.14. <dfn id="common.data.integer.non-negative">Non-negative integer</dfn> <a class="hash" href="#common.data.integer.non-negative-def">#</a> + <h2 class="common-subhead">9.16. <dfn id="common.data.integer.non-negative">Non-negative integer</dfn> <a class="hash" href="#common.data.integer.non-negative-def">#</a> </h2> <div class="datatype-desc">One or more characters in the range - <code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>.</div> + <code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>.</div> </div> <div id="common.data.float-def" class="section"> - <h2 class="common-subhead">9.15. <dfn id="common.data.float">Float</dfn> <a class="hash" href="#common.data.float-def">#</a> + <h2 class="common-subhead">9.17. <dfn id="common.data.float">Float</dfn> <a class="hash" href="#common.data.float-def">#</a> </h2> <div class="datatype-desc">A float consists of the following @@ -252,7 +282,7 @@ "<code title="U+002D HYPHEN-MINUS">-</code>" character.</li> <li>One or more characters in the range - "<code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>".</li> + "<code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>".</li> <li>Optionally, the following parts, in exactly the following order: <ol> @@ -260,7 +290,7 @@ "<code title="U+002E FULL STOP">.</code>" character</li> <li>one or more characters in the range - "<code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>"</li> + "<code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>"</li> </ol> </li> <li>Optionally, the following parts, in exactly the @@ -277,7 +307,7 @@ "<code title="U+002B PLUS SIGN">+</code>" character</li> <li>One or more characters in the range - "<code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>".</li> + "<code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE ">0—9</code>".</li> </ol> </li> </ol> @@ -286,7 +316,7 @@ </div> <div id="common.data.float.positive-def" class="section"> - <h2 class="common-subhead">9.16. <dfn id="common.data.float.positive">Positive float</dfn> <a class="hash" href="#common.data.float.positive-def">#</a> + <h2 class="common-subhead">9.18. <dfn id="common.data.float.positive">Positive float</dfn> <a class="hash" href="#common.data.float.positive-def">#</a> </h2> <div class="datatype-desc">A @@ -302,7 +332,7 @@ </div> <div id="common.data.float.non-negative-def" class="section"> - <h2 class="common-subhead">9.17. <dfn id="common.data.float.non-negative">Non-negative float</dfn> <a class="hash" href="#common.data.float.non-negative-def">#</a> + <h2 class="common-subhead">9.19. <dfn id="common.data.float.non-negative">Non-negative float</dfn> <a class="hash" href="#common.data.float.non-negative-def">#</a> </h2> <div class="datatype-desc">A @@ -318,7 +348,7 @@ </div> <div id="common.data.datetime-def" class="section"> - <h2 class="common-subhead">9.18. <dfn id="common.data.datetime">Date-time</dfn> <a class="hash" href="#common.data.datetime-def">#</a> + <h2 class="common-subhead">9.20. <dfn id="common.data.datetime">Date-time</dfn> <a class="hash" href="#common.data.datetime-def">#</a> </h2> <div class="datatype-desc">A valid @@ -347,7 +377,7 @@ </div> <div id="common.data.date-or-time-def" class="section"> - <h2 class="common-subhead">9.19. <dfn id="common.data.date-or-time">Date or time</dfn> <a class="hash" href="#common.data.date-or-time-def">#</a> + <h2 class="common-subhead">9.21. <dfn id="common.data.date-or-time">Date or time</dfn> <a class="hash" href="#common.data.date-or-time-def">#</a> </h2> <div class="datatype-desc">Any one of the following: @@ -360,31 +390,48 @@ </div> - <div id="common.data.uri-def" class="section"> - <h2 class="common-subhead">9.20. <dfn id="common.data.uri">URI</dfn> <a class="hash" href="#common.data.uri-def">#</a> + <div id="data-url-no-spaces-def" class="section"> +<h2 class="common-subhead">9.22. <dfn id="data-url-no-spaces">URL</dfn> <a class="hash" href="#data-url-no-spaces-def">#</a> </h2> - <div class="datatype-desc">An - <dfn id="data.iri-ref" title="data.iri-ref">IRI-reference</dfn>, + <dfn id="data.iri-ref" title="data.iri-ref">IRI reference</dfn>, as defined in RFC 3987 - <a href="references.html#refsRFC3987">[RFC3987]</a>. + <a href="references.html#refsRFC3987">[RFC3987]</a>.</div> + <div class="note"> + <p>The empty string is a valid + <a href="datatypes.html#data.iri-ref">IRI reference</a>, + so the empty string is allowed anywhere this reference lists + <a href="datatypes.html#data-url-no-spaces">URL</a> + as being allowed.</p> </div> - <p class="note">The empty string is a valid - <a href="datatypes.html#data.iri-ref">IRI-reference</a>, - so the empty string is allowed as the value of any - attribute for which this reference lists - <a href="datatypes.html#common.data.uri">URI</a> - as the allowed datatype.</p> <div class="example"> <p>Example:</p> <pre><code>http://example.org/hello</code></pre> </div> + </div> +<div id="common.data.uri-def" class="section"> + <h2 class="common-subhead">9.23. <dfn id="common.data.uri">URL potentially surrounded by spaces</dfn> <a class="hash" href="#common.data.uri-def">#</a> +</h2> + + <div class="datatype-desc">An + <dfn id="data.iri-ref" title="data.iri-ref">IRI reference</dfn>, + as defined in RFC 3987 + <a href="references.html#refsRFC3987">[RFC3987]</a>, + optionally with leading and/or trailing + <a href="terminology.html#space">space characters</a>.</div> + <div class="note"> + <p>The empty string is a valid + <a href="datatypes.html#data.iri-ref">IRI reference</a>, + so the empty string is allowed anywhere this reference lists + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> + as being allowed.</p> + </div> </div> <div id="common.data.uri.absolute-def" class="section"> - <h2 class="common-subhead">9.21. <dfn id="common.data.uri.absolute">Absolute URI</dfn> <a class="hash" href="#common.data.uri.absolute-def">#</a> + <h2 class="common-subhead">9.24. <dfn id="common.data.uri.absolute">Absolute URL</dfn> <a class="hash" href="#common.data.uri.absolute-def">#</a> </h2> <div class="datatype-desc">An @@ -402,12 +449,11 @@ </div> <div id="common.data.sizes-def" class="section"> - <h2 class="common-subhead">9.22. <dfn id="common.data.sizes">Sizes</dfn> <a class="hash" href="#common.data.sizes-def">#</a> + <h2 class="common-subhead">9.25. <dfn id="common.data.sizes">Sizes</dfn> <a class="hash" href="#common.data.sizes-def">#</a> </h2> - <div class="datatype-desc">An unordered set of unique - space-separated - <a href="datatypes.html#data-token">tokens</a>, + <div class="datatype-desc">An + <a href="datatypes.html#data-unordered-tokens">unordered set of unique space-separated tokens</a>, each of which <a href="terminology.html#must-requirement">must</a> be one of the following: @@ -426,7 +472,7 @@ </div> <div id="common.data.mimetype-def" class="section"> - <h2 class="common-subhead">9.23. <dfn id="common.data.mimetype">MIME type</dfn> <a class="hash" href="#common.data.mimetype-def">#</a> + <h2 class="common-subhead">9.26. <dfn id="common.data.mimetype">MIME type</dfn> <a class="hash" href="#common.data.mimetype-def">#</a> </h2> <div class="datatype-desc">A string that identifies a valid @@ -436,7 +482,7 @@ </div> <div id="common.data.charset-def" class="section"> - <h2 class="common-subhead">9.24. <dfn id="common.data.charset">Character encoding name</dfn> <a class="hash" href="#common.data.charset-def">#</a> + <h2 class="common-subhead">9.27. <dfn id="common.data.charset">Character encoding name</dfn> <a class="hash" href="#common.data.charset-def">#</a> </h2> <div class="datatype-desc"> @@ -447,7 +493,7 @@ for any <dfn id="character-set-name" title="character-set-name">character set name</dfn> given in a <code>Name</code> or <code>Alias</code> field - labeled as “preferred MIME name” in the IANA + labeled as “preferred MIME name” in the IANA <cite>Character Sets</cite> registry <a href="references.html#refsIANACHARSET">[IANACHARSET]</a>, if there is one; or if none of the <code>Alias</code> @@ -464,7 +510,7 @@ </div> <div id="common.data.meta-charset-def" class="section"> - <h2 class="common-subhead">9.25. <dfn id="common.data.meta-charset">Meta-charset string</dfn> <a class="hash" href="#common.data.meta-charset-def">#</a> + <h2 class="common-subhead">9.28. <dfn id="common.data.meta-charset">Meta-charset string</dfn> <a class="hash" href="#common.data.meta-charset-def">#</a> </h2> <div class="datatype-desc">The following parts, in exactly @@ -484,7 +530,7 @@ </div> <div id="common.data.refresh-def" class="section"> - <h2 class="common-subhead">9.26. <dfn id="common.data.refresh">Refresh value</dfn> <a class="hash" href="#common.data.refresh-def">#</a> + <h2 class="common-subhead">9.29. <dfn id="common.data.refresh">Refresh value</dfn> <a class="hash" href="#common.data.refresh-def">#</a> </h2> <div class="datatype-desc">Any one of the following: @@ -505,7 +551,7 @@ for the string "<code>url=</code>".</li> <li>A - <a href="datatypes.html#common.data.uri">URI</a>.</li> + <a href="datatypes.html#data-url-no-spaces">URL</a>.</li> </ol> </li> </ul> @@ -514,7 +560,7 @@ </div> <div id="common.data.default-style-def" class="section"> - <h2 class="common-subhead">9.27. <dfn id="common.data.default-style">Default-style name</dfn> <a class="hash" href="#common.data.default-style-def">#</a> + <h2 class="common-subhead">9.30. <dfn id="common.data.default-style">Default-style name</dfn> <a class="hash" href="#common.data.default-style-def">#</a> </h2> <div class="datatype-desc">A @@ -523,7 +569,7 @@ </div> <div id="common.data.mediaquery-def" class="section"> - <h2 class="common-subhead">9.28. <dfn id="common.data.mediaquery">Media-query list</dfn> <a class="hash" href="#common.data.mediaquery-def">#</a> + <h2 class="common-subhead">9.31. <dfn id="common.data.mediaquery">Media-query list</dfn> <a class="hash" href="#common.data.mediaquery-def">#</a> </h2> <div class="datatype-desc">A valid @@ -534,7 +580,7 @@ </div> <div id="common.data.langcode-def" class="section"> - <h2 class="common-subhead">9.29. <dfn id="common.data.langcode">Language tag</dfn> <a class="hash" href="#common.data.langcode-def">#</a> + <h2 class="common-subhead">9.32. <dfn id="common.data.langcode">Language tag</dfn> <a class="hash" href="#common.data.langcode-def">#</a> </h2> <div class="datatype-desc">A valid @@ -545,12 +591,12 @@ </div> <div id="common.data.keylabellist-def" class="section"> - <h2 class="common-subhead">9.30. <dfn id="common.data.keylabellist">Key-label list</dfn> <a class="hash" href="#common.data.keylabellist-def">#</a> + <h2 class="common-subhead">9.33. <dfn id="common.data.keylabellist">List of key labels</dfn> <a class="hash" href="#common.data.keylabellist-def">#</a> </h2> - <div class="datatype-desc">An ordered set of unique - space-separated <a href="datatypes.html#data-token">tokens</a>, each of - which + <div class="datatype-desc">An + <a href="datatypes.html#data-ordered-tokens">ordered set of unique space-separated tokens</a>, + each of which <a href="terminology.html#must-requirement">must</a> be exactly one Unicode code point in length.</div> @@ -558,7 +604,7 @@ </div> <div id="common.data.zero-def" class="section"> - <h2 class="common-subhead">9.31. <dfn id="common.data.zero">Zero</dfn> <a class="hash" href="#common.data.zero-def">#</a> + <h2 class="common-subhead">9.34. <dfn id="common.data.zero">Zero</dfn> <a class="hash" href="#common.data.zero-def">#</a> </h2> <div class="datatype-desc">The literal string @@ -567,7 +613,7 @@ </div> <div id="common.data.rectangle-def" class="section"> - <h2 class="common-subhead">9.32. <dfn id="common.data.rectangle">Rectangle</dfn> <a class="hash" href="#common.data.rectangle-def">#</a> + <h2 class="common-subhead">9.35. <dfn id="common.data.rectangle">Rectangle</dfn> <a class="hash" href="#common.data.rectangle-def">#</a> </h2> <div class="datatype-desc">A comma-separated list of four @@ -598,7 +644,7 @@ </div> <div id="common.data.circle-def" class="section"> - <h2 class="common-subhead">9.33. <dfn id="common.data.circle">Circle</dfn> <a class="hash" href="#common.data.circle-def">#</a> + <h2 class="common-subhead">9.36. <dfn id="common.data.circle">Circle</dfn> <a class="hash" href="#common.data.circle-def">#</a> </h2> <div class="datatype-desc">A comma-separated list of three @@ -622,7 +668,7 @@ </div> <div id="common.data.polygon-def" class="section"> - <h2 class="common-subhead">9.34. <dfn id="common.data.polygon">Polygon</dfn> <a class="hash" href="#common.data.polygon-def">#</a> + <h2 class="common-subhead">9.37. <dfn id="common.data.polygon">Polygon</dfn> <a class="hash" href="#common.data.polygon-def">#</a> </h2> <div class="datatype-desc">A comma-separated list of at @@ -638,26 +684,38 @@ </div> <div id="common.data.sandbox-allow-list-def" class="section"> - <h2 class="common-subhead">9.35. <dfn id="common.data.sandbox-allow-list">Sandbox allow list</dfn> <a class="hash" href="#common.data.sandbox-allow-list-def">#</a> + <h2 class="common-subhead">9.38. <dfn id="common.data.sandbox-allow-list">Sandbox “allow” keywords list</dfn> <a class="hash" href="#common.data.sandbox-allow-list-def">#</a> </h2> - <div class="datatype-desc">An unordered set of unique - space-separated - <a href="datatypes.html#data-token">tokens</a>, each of which is a + <div class="datatype-desc"> + <p>An + <a href="datatypes.html#data-unordered-tokens">unordered set of unique space-separated tokens</a>, + each of which is a <a href="terminology.html#case-insensitive">case-insensitive match</a> - for one of the following literal strings: + for one of the following literal strings:</p> <ul> -<li>"<code>allow-same-origin</code>"</li> - <li>"<code>allow-forms</code>"</li> +<li>"<code>allow-forms</code>"</li> <li>"<code>allow-scripts</code>"</li> <li>"<code>allow-top-navigation</code>"</li> + <li>"<code>allow-same-origin</code>"</li> </ul> +<div class="note"> + <p>Because an + <a href="datatypes.html#data-unordered-tokens">unordered set of unique space-separated tokens</a> + can contain zero tokens, this datatype also allows the following:</p> + <ul> +<li>the empty string</li> + <li>any string consisting only of + <a href="terminology.html#space">space characters</a> +</li> + </ul> </div> + </div> </div> <div id="form.data.mimetypelist-def" class="section"> - <h2 class="common-subhead">9.36. <dfn id="form.data.mimetypelist">MIME-type list</dfn> <a class="hash" href="#form.data.mimetypelist-def">#</a> + <h2 class="common-subhead">9.39. <dfn id="form.data.mimetypelist">MIME-type list</dfn> <a class="hash" href="#form.data.mimetypelist-def">#</a> </h2> <div class="datatype-desc">A set of comma-separated <a href="datatypes.html#data-token">tokens</a>, @@ -667,18 +725,20 @@ </div> <div id="form.data.charsetlist-def" class="section"> - <h2 class="common-subhead">9.37. <dfn id="form.data.charsetlist">Character-encoding name list</dfn> <a class="hash" href="#form.data.charsetlist-def">#</a> + <h2 class="common-subhead">9.40. <dfn id="form.data.charsetlist">List of character-encoding names</dfn> <a class="hash" href="#form.data.charsetlist-def">#</a> </h2> - <div class="datatype-desc">A set of comma-separated <a href="datatypes.html#data-token">tokens</a>, - each of which is a valid <a href="datatypes.html#common.data.charset">character encoding name</a> that specifies an - <a href="syntax.html#ascii-compatible">ASCII-compatible character - encoding</a>.</div> + <div class="datatype-desc">An + <a href="datatypes.html#data-ordered-tokens">ordered set of unique space-separated tokens</a>, + each of which + <a href="terminology.html#must-requirement">must</a> + be a valid <a href="datatypes.html#common.data.charset">character encoding name</a> that specifies an + <a href="syntax.html#ascii-compatible">ASCII-compatible character encoding</a>.</div> </div> <div id="form.data.pattern-def" class="section"> - <h2 class="common-subhead">9.38. <dfn id="form.data.pattern">Pattern</dfn> <a class="hash" href="#form.data.pattern-def">#</a> + <h2 class="common-subhead">9.41. <dfn id="form.data.pattern">Pattern</dfn> <a class="hash" href="#form.data.pattern-def">#</a> </h2> <div class="datatype-desc">A regular expression that @@ -688,7 +748,7 @@ </div> <div id="form.data.datetime-local-def" class="section"> - <h2 class="common-subhead">9.39. <dfn id="form.data.datetime-local">Local date-time</dfn> <a class="hash" href="#form.data.datetime-local-def">#</a> + <h2 class="common-subhead">9.42. <dfn id="form.data.datetime-local">Local date-time</dfn> <a class="hash" href="#form.data.datetime-local-def">#</a> </h2> <div class="datatype-desc">The following parts, in exactly @@ -709,7 +769,7 @@ </div> <div id="form.data.date-def" class="section"> - <h2 class="common-subhead">9.40. <dfn id="form.data.date">Date</dfn> <a class="hash" href="#form.data.date-def">#</a> + <h2 class="common-subhead">9.43. <dfn id="form.data.date">Date</dfn> <a class="hash" href="#form.data.date-def">#</a> </h2> <div class="datatype-desc">A valid @@ -728,7 +788,7 @@ </div> <div id="form.data.month-def" class="section"> - <h2 class="common-subhead">9.41. <dfn id="form.data.month">Month</dfn> <a class="hash" href="#form.data.month-def">#</a> + <h2 class="common-subhead">9.44. <dfn id="form.data.month">Month</dfn> <a class="hash" href="#form.data.month-def">#</a> </h2> <div class="datatype-desc">The following parts, in exactly the @@ -750,7 +810,7 @@ </div> <div id="form.data.week-def" class="section"> - <h2 class="common-subhead">9.42. <dfn id="form.data.week">Week</dfn> <a class="hash" href="#form.data.week-def">#</a> + <h2 class="common-subhead">9.45. <dfn id="form.data.week">Week</dfn> <a class="hash" href="#form.data.week-def">#</a> </h2> <div class="datatype-desc">The following parts, in exactly @@ -775,7 +835,7 @@ </div> <div id="form.data.time-def" class="section"> - <h2 class="common-subhead">9.43. <dfn id="form.data.time">Time</dfn> <a class="hash" href="#form.data.time-def">#</a> + <h2 class="common-subhead">9.46. <dfn id="form.data.time">Time</dfn> <a class="hash" href="#form.data.time-def">#</a> </h2> <div class="datatype-desc">A valid @@ -792,7 +852,7 @@ </div> <div id="form.data.emailaddress-def" class="section"> - <h2 class="common-subhead">9.44. <dfn id="form.data.emailaddress">E-mail address</dfn> <a class="hash" href="#form.data.emailaddress-def">#</a> + <h2 class="common-subhead">9.47. <dfn id="form.data.emailaddress">E-mail address</dfn> <a class="hash" href="#form.data.emailaddress-def">#</a> </h2> <div class="datatype-desc"> @@ -800,7 +860,7 @@ <a href="references.html#refsABNF">[ABNF]</a> production:</p> <pre><code>1*( atext / "." ) "@" ldh-str 1*( "." ldh-str )</code></pre> - <p>…where + <p>…where <dfn id="data-atext" title="data-atext">atext</dfn> is as defined in RFC 5322 <a href="references.html#refsRFC5322">[RFC5322]</a>, @@ -817,16 +877,18 @@ </div> <div id="form.data.emailaddresslist-def" class="section"> - <h2 class="common-subhead">9.45. <dfn id="form.data.emailaddresslist">E-mail address list</dfn> <a class="hash" href="#form.data.emailaddresslist-def">#</a> + <h2 class="common-subhead">9.48. <dfn id="form.data.emailaddresslist">List of e-mail addresses</dfn> <a class="hash" href="#form.data.emailaddresslist-def">#</a> </h2> - <div class="datatype-desc">A set of comma-separated <a href="datatypes.html#data-token">tokens</a>, each of which is a valid + <div class="datatype-desc">A + <a href=".html#data-comma-separated-tokens">set of unique space-separated tokens</a>, + each of which is a valid <a href="datatypes.html#form.data.emailaddress">email address</a>.</div> </div> <div id="form.data.color-def" class="section"> - <h2 class="common-subhead">9.46. <dfn id="form.data.color">Color</dfn> <a class="hash" href="#form.data.color-def">#</a> + <h2 class="common-subhead">9.49. <dfn id="form.data.color">Color</dfn> <a class="hash" href="#form.data.color-def">#</a> </h2> <div class="datatype-desc">A string exactly seven @@ -837,10 +899,10 @@ "<code title="U+0023 NUMBER SIGN">#</code>" character.</li> <li>Six characters in the range - <code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE">0–9</code>, - <code title="U+0061 LATIN SMALL LETTER A–U+0066 LATIN SMALL LETTER F">a–f</code>, + <code title="U+0030 DIGIT ZERO–U+0039 DIGIT NINE">0–9</code>, + <code title="U+0061 LATIN SMALL LETTER A–U+0066 LATIN SMALL LETTER F">a–f</code>, and - <code title="U+0041 LATIN CAPITAL LETTER A–U+0046 LATIN CAPITAL LETTER F">A–F</code>.</li> + <code title="U+0041 LATIN CAPITAL LETTER A–U+0046 LATIN CAPITAL LETTER F">A–F</code>.</li> </ol> </div> @@ -849,8 +911,8 @@ </div> <hr class="footerbreak"> <div class="nav"> -<span class="nav-prev"><a href="forms-attributes.html">« forms attributes</a></span> -<span class="nav-next"><a href="references.html">references »</a></span> +<span class="nav-prev"><a href="forms-attributes.html">« forms attributes</a></span> +<span class="nav-next"><a href="references.html">references »</a></span> </div> </body> </html> Index: command.radio.html =================================================================== RCS file: /sources/public/html5/markup/command.radio.html,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- command.radio.html 24 Jul 2010 17:15:24 -0000 1.56 +++ command.radio.html 27 Jul 2010 06:09:44 -0000 1.57 @@ -71,7 +71,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/interactive-elements.html#attr-command-icon">ⓘ</a></span> <a class="attribute-name" id="command.radio.attrs.icon" title="command.radio.attrs.icon" href="command.radio.html#command.radio.attrs.icon">icon</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL for an image that represents the command.</dd> Index: embed.html =================================================================== RCS file: /sources/public/html5/markup/embed.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- embed.html 24 Jul 2010 17:15:24 -0000 1.61 +++ embed.html 27 Jul 2010 06:09:44 -0000 1.62 @@ -48,7 +48,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-embed-src">ⓘ</a></span> <a class="attribute-name" id="embed.attrs.src" title="embed.attrs.src" href="embed.html#embed.attrs.src">src</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of the content being embedded.</dd> Index: del.html =================================================================== RCS file: /sources/public/html5/markup/del.html,v retrieving revision 1.58 retrieving revision 1.59 diff -u -d -r1.58 -r1.59 --- del.html 24 Jul 2010 17:15:24 -0000 1.58 +++ del.html 27 Jul 2010 06:09:44 -0000 1.59 @@ -48,7 +48,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/edits.html#attr-mod-cite">ⓘ</a></span> <a class="attribute-name" id="del.attrs.cite" title="del.attrs.cite" href="del.html#del.attrs.cite">cite</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of a document that explains why the text was deleted.</dd> Index: input.image.html =================================================================== RCS file: /sources/public/html5/markup/input.image.html,v retrieving revision 1.62 retrieving revision 1.63 diff -u -d -r1.62 -r1.63 --- input.image.html 24 Jul 2010 17:15:25 -0000 1.62 +++ input.image.html 27 Jul 2010 06:09:45 -0000 1.63 @@ -77,7 +77,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/number-state.html#attr-input-src">ⓘ</a></span> <a class="attribute-name" id="input.image.attrs.src" title="input.image.attrs.src" href="input.image.html#input.image.attrs.src">src</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>Specifies the location of an image.</dd> Index: command.checkbox.html =================================================================== RCS file: /sources/public/html5/markup/command.checkbox.html,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- command.checkbox.html 24 Jul 2010 17:15:23 -0000 1.56 +++ command.checkbox.html 27 Jul 2010 06:09:44 -0000 1.57 @@ -65,7 +65,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/interactive-elements.html#attr-command-icon">ⓘ</a></span> <a class="attribute-name" id="command.checkbox.attrs.icon" title="command.checkbox.attrs.icon" href="command.checkbox.html#command.checkbox.attrs.icon">icon</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL for an image that represents the command.</dd> Index: q.html =================================================================== RCS file: /sources/public/html5/markup/q.html,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- q.html 24 Jul 2010 17:15:27 -0000 1.54 +++ q.html 27 Jul 2010 06:09:45 -0000 1.55 @@ -46,7 +46,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/text-level-semantics.html#attr-q-cite">ⓘ</a></span> <a class="attribute-name" id="q.attrs.cite" title="q.attrs.cite" href="q.html#q.attrs.cite">cite</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>Specifies the address of the source of the quoted text.</dd> Index: blockquote.html =================================================================== RCS file: /sources/public/html5/markup/blockquote.html,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- blockquote.html 24 Jul 2010 17:15:23 -0000 1.54 +++ blockquote.html 27 Jul 2010 06:09:44 -0000 1.55 @@ -47,7 +47,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/grouping-content.html#attr-blockquote-cite">ⓘ</a></span> <a class="attribute-name" id="blockquote.attrs.cite" title="blockquote.attrs.cite" href="blockquote.html#blockquote.attrs.cite">cite</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL referencing the original source for the quoted material.</dd> Index: td.html =================================================================== RCS file: /sources/public/html5/markup/td.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- td.html 26 Jul 2010 04:06:25 -0000 1.61 +++ td.html 27 Jul 2010 06:09:45 -0000 1.62 @@ -66,7 +66,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/tabular-data.html#attr-tdth-headers">ⓘ</a></span> <a class="attribute-name" id="td.attrs.headers" title="td.attrs.headers" href="td.html#td.attrs.headers">headers</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.idrefs">set of ID references</a> + <a href="datatypes.html#common.data.idrefs">list of ID references</a> </span> </dt> <dd>Identifies one or more <a href="th.html#th" class="element">th</a> Index: style.css =================================================================== RCS file: /sources/public/html5/markup/style.css,v retrieving revision 1.119 retrieving revision 1.120 diff -u -d -r1.119 -r1.120 --- style.css 26 Jul 2010 04:06:25 -0000 1.119 +++ style.css 27 Jul 2010 06:09:45 -0000 1.120 @@ -481,7 +481,7 @@ box-shadow: 4px 4px 4px #888; } -.note:before { +.note > p:first-child:before { content: "Note: "; font-weight: bold; } Index: base.html =================================================================== RCS file: /sources/public/html5/markup/base.html,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- base.html 24 Jul 2010 17:15:23 -0000 1.60 +++ base.html 27 Jul 2010 06:09:44 -0000 1.61 @@ -49,7 +49,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/semantics.html#attr-base-href">ⓘ</a></span> <a class="attribute-name" id="base.attrs.href" title="base.attrs.href" href="base.html#base.attrs.href">href</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The base URL for the document.</dd> Index: spec.html =================================================================== RCS file: /sources/public/html5/markup/spec.html,v retrieving revision 1.250 retrieving revision 1.251 diff -u -d -r1.250 -r1.251 --- spec.html 26 Jul 2010 04:06:25 -0000 1.250 +++ spec.html 27 Jul 2010 06:09:45 -0000 1.251 @@ -10,7 +10,7 @@ <div class="head"> <div><a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"></a></div> <h1>HTML: The Markup Language Reference</h1> -<h2>W3C Editor’s Draft <em>26 July 2010</em> +<h2>W3C Editor’s Draft <em>27 July 2010</em> </h2> <dl> <dt>Latest Editor’s Draft:</dt> @@ -65,7 +65,7 @@ reports index</a> at http://www.w3.org/TR/. </em></p> <p> - This document is the 26 July 2010 Editor’s Draft of + This document is the 27 July 2010 Editor’s Draft of <cite>HTML: The Markup Language Reference</cite>. If you’d like to comment on this document, the preferred @@ -790,7 +790,7 @@ defined in the <a href="http://dev.w3.org/html5/spec/">HTML5: A vocabulary and associated APIs for HTML and XHTML</a> full specification. - <a href="references.html#refsHTML5">[HTML5]</a>. + <a href="#refsHTML5">[HTML5]</a>. <p class="note">This reference does not itself normatively define any requirements.</p> </dd> @@ -825,6 +825,12 @@ <li>U+000D CARRIAGE RETURN (CR)</li> </ul> </dd> + <dt><dfn id="top-level-context" title="top-level-context">top-level browsing context</dfn></dt> + <dd>A + <a href="#top-level-context">top-level browsing context</a> + is as defined in + <a href="#refsHTML5">[HTML5]</a>. + </dd> <dt><dfn id="transparent" title="transparent">transparent</dfn></dt> <dd>If the content model of a particular element <var>foo</var> is described as <i>transparent</i>, it means: @@ -2744,7 +2750,7 @@ </dd> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/links.html#attr-hyperlink-href">ⓘ</a></span> <a class="attribute-name" id="a.attrs.href" title="a.attrs.href" href="#a.attrs.href">href</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL that provides the destination of the hyperlink. If the @@ -3188,7 +3194,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/links.html#attr-hyperlink-href">ⓘ</a></span> <a class="attribute-name" id="area.attrs.href" title="area.attrs.href" href="#area.attrs.href">href</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL that provides the destination of the hyperlink for this @@ -3599,7 +3605,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/video.html#attr-media-src">ⓘ</a></span> <a class="attribute-name" id="audio.attrs.src" title="audio.attrs.src" href="#audio.attrs.src">src</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The URL for the audio stream.</dd> @@ -3764,7 +3770,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/semantics.html#attr-base-href">ⓘ</a></span> <a class="attribute-name" id="base.attrs.href" title="base.attrs.href" href="#base.attrs.href">href</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The base URL for the document.</dd> @@ -3903,7 +3909,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/grouping-content.html#attr-blockquote-cite">ⓘ</a></span> <a class="attribute-name" id="blockquote.attrs.cite" title="blockquote.attrs.cite" href="#blockquote.attrs.cite">cite</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL referencing the original source for the quoted material.</dd> @@ -5224,7 +5230,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/interactive-elements.html#attr-command-icon">ⓘ</a></span> <a class="attribute-name" id="command.command.attrs.icon" title="command.command.attrs.icon" href="#command.command.attrs.icon">icon</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL for an image that represents the command.</dd> @@ -5330,7 +5336,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/interactive-elements.html#attr-command-icon">ⓘ</a></span> <a class="attribute-name" id="command.radio.attrs.icon" title="command.radio.attrs.icon" href="#command.radio.attrs.icon">icon</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL for an image that represents the command.</dd> @@ -5430,7 +5436,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/interactive-elements.html#attr-command-icon">ⓘ</a></span> <a class="attribute-name" id="command.checkbox.attrs.icon" title="command.checkbox.attrs.icon" href="#command.checkbox.attrs.icon">icon</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL for an image that represents the command.</dd> @@ -5686,7 +5692,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/edits.html#attr-mod-cite">ⓘ</a></span> <a class="attribute-name" id="del.attrs.cite" title="del.attrs.cite" href="#del.attrs.cite">cite</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of a document that explains why the text was deleted.</dd> @@ -6249,7 +6255,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-embed-src">ⓘ</a></span> <a class="attribute-name" id="embed.attrs.src" title="embed.attrs.src" href="#embed.attrs.src">src</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of the content being embedded.</dd> @@ -6679,7 +6685,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/association-of-controls-and-forms.html#attr-fs-action">ⓘ</a></span> <a class="attribute-name" id="form.attrs.action" title="form.attrs.action" href="#form.attrs.action">action</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The submission action for the form.</dd> @@ -6700,7 +6706,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/forms.html#attr-form-accept-charset">ⓘ</a></span> <a class="attribute-name" id="form.attrs.accept-charset" title="form.attrs.accept-charset" href="#form.attrs.accept-charset">accept-charset</a> = <span class="attr-values"> - <a href="#form.data.charsetlist">character-encoding name list</a> + <a href="#form.data.charsetlist">list of character-encoding names</a> </span> </dt> <dd>Specifies the character encodings used for form submission.</dd> @@ -7712,7 +7718,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/semantics.html#attr-html-manifest">ⓘ</a></span> <a class="attribute-name" id="html.attrs.manifest" title="html.attrs.manifest" href="#html.attrs.manifest">manifest</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> <span class="new-feature" title="This markup feature is newly added in HTML5.">NEW</span> </dt> <dd>The address of the document’s <dfn id="manifest">application cache manifest</dfn> (which @@ -7903,7 +7909,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-iframe-src">ⓘ</a></span> <a class="attribute-name" id="iframe.attrs.src" title="iframe.attrs.src" href="#iframe.attrs.src">src</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of a page that the nested <a href="#context">browsing context</a> is to contain.</dd> @@ -7930,11 +7936,81 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-iframe-sandbox">ⓘ</a></span> <a class="attribute-name" id="iframe.attrs.sandbox" title="iframe.attrs.sandbox" href="#iframe.attrs.sandbox">sandbox</a> = <span class="attr-values"> - <a href="#common.data.sandbox-allow-list">sandbox allow list</a> + <a href="#common.data.sandbox-allow-list">sandbox “allow” keywords list</a> </span> <span class="new-feature" title="This markup feature is newly added in HTML5.">NEW</span> </dt> - <dd>Instructs the UA to enable a set of extra restrictions on any - content hosted by the <code><a href="#iframe">iframe</a></code>.</dd> + <dd>Instructs the UA to “sandbox” the + <a href="#iframe">iframe</a> + by disallowing/disabling various features, and then + (optionally) re-allowing/re-enabling particular features.</dd> +<dd>The presence of this attribute—even if no value is given + (that is, the attribute is specified using + <a href="#syntax-attr-empty">empty attribute syntax</a>) + or even if the value consists only of + <a href="#space">space characters</a>—instructs the UA to + enforce all the following default sandbox restrictions: + <ul> +<li> +<b>plugins</b> + are disallowed/disabled within the + <a href="#iframe">iframe</a> +</li> + <li> +<b>forms</b> + are disallowed/disabled within the + <a href="#iframe">iframe</a> +</li> + <li> +<b>scripts</b> + are disallowed/disabled within the + <a href="#iframe">iframe</a> +</li> + <li> +<b>links to other + <a href="#context">browsing contexts</a></b> + are disallowed/disabled within the + <a href="#iframe">iframe</a> +</li> + <li> +<b>same-origin treatment</b> + of the content hosted by the + <a href="#iframe">iframe</a> + and the content which hosts the + <a href="#iframe">iframe</a> + is disallowed/disabled; the + <a href="#iframe">iframe</a> + is instead treated as being from a + unique origin</li> + </ul> +</dd> +<dd>If any + <a href="#common.data.sandbox-allow-list">sandbox “allow” keywords</a> + are given, they instruct the UA to override particular + default sandbox restrictions by re-allowing/re-enabling + certain features, as follows: + <ul> +<li> +<code>allow-forms</code>: re-enables forms</li> + <li> +<code>allow-scripts</code>: re-enables scripts</li> + <li> +<code>allow-top-navigation</code>: re-enables links + within the content of the + <a href="#iframe">iframe</a> + to navigate to its + <a href="#top-level-context">top-level browsing context</a> +</li> + <li> +<code>allow-same-origin</code>: re-enables + same-origin treatment of the content hosted by the + <a href="#iframe">iframe</a> + and the content which hosts the + <a href="#iframe">iframe</a> + (instead of forcing the + <a href="#iframe">iframe</a> + into a unique origin)</li> + </ul> +</dd> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-iframe-seamless">ⓘ</a></span> <a class="attribute-name" id="iframe.attrs.seamless" title="iframe.attrs.seamless" href="#iframe.attrs.seamless">seamless</a> = <span class="attr-values"> @@ -8072,7 +8148,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/embedded-content-1.html#attr-img-src">ⓘ</a></span> <a class="attribute-name" id="img.attrs.src" title="img.attrs.src" href="#img.attrs.src">src</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL referencing a non-interactive, optionally animated, image that is neither paged nor scripted.</dd> @@ -9750,7 +9826,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/number-state.html#attr-input-src">ⓘ</a></span> <a class="attribute-name" id="input.image.attrs.src" title="input.image.attrs.src" href="#input.image.attrs.src">src</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>Specifies the location of an image.</dd> @@ -11397,7 +11473,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-input-element.html#attr-input-value">ⓘ</a></span> <a class="attribute-name" id="input.email.attrs.value.multiple" title="input.email.attrs.value.multiple" href="#input.email.attrs.value.multiple">value</a> = <span class="attr-values"> - <a href="#form.data.emailaddresslist">e-mail address list</a> + <a href="#form.data.emailaddresslist">list of e-mail addresses</a> </span> </dt> <dd>A list of e-mail addresses.</dd> @@ -11572,7 +11648,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-input-element.html#attr-input-value">ⓘ</a></span> <a class="attribute-name" id="input.url.attrs.value" title="input.url.attrs.value" href="#input.url.attrs.value">value</a> = <span class="attr-values"> "" - <span class="postfix or">or</span> <a href="#common.data.uri.absolute">absolute URI</a> + <span class="postfix or">or</span> <a href="#common.data.uri.absolute">absolute URL</a> </span> </dt> <dd>An absolute URL.</dd> @@ -12216,7 +12292,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/edits.html#attr-mod-cite">ⓘ</a></span> <a class="attribute-name" id="ins.attrs.cite" title="ins.attrs.cite" href="#ins.attrs.cite">cite</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of a document that explains why the text was added.</dd> @@ -12774,7 +12850,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/links.html#attr-hyperlink-href">ⓘ</a></span> <a class="attribute-name" id="link.attrs.href" title="link.attrs.href" href="#link.attrs.href">href</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>A URL that provides the destination of the <a href="#link" class="element">link</a>.</dd> @@ -14172,7 +14248,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-iframe-element.html#attr-object-data">ⓘ</a></span> <a class="attribute-name" id="object.attrs.data" title="object.attrs.data" href="#object.attrs.data">data</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of the content.</dd> @@ -14675,7 +14751,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-button-element.html#attr-output-for">ⓘ</a></span> <a class="attribute-name" id="output.attrs.for" title="output.attrs.for" href="#output.attrs.for">for</a> = <span class="attr-values"> - <a href="#common.data.idrefs">set of ID references</a> + <a href="#common.data.idrefs">list of ID references</a> </span> </dt> <dd>Identifies one or more elements associated with the calculation whose result this @@ -15158,7 +15234,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/text-level-semantics.html#attr-q-cite">ⓘ</a></span> <a class="attribute-name" id="q.attrs.cite" title="q.attrs.cite" href="#q.attrs.cite">cite</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>Specifies the address of the source of the quoted text.</dd> @@ -15546,7 +15622,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/scripting-1.html#attr-script-src">ⓘ</a></span> <a class="attribute-name" id="script.attrs.src" title="script.attrs.src" href="#script.attrs.src">src</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of the external script to use.</dd> @@ -15985,7 +16061,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/video.html#attr-source-src">ⓘ</a></span> <a class="attribute-name" id="source.attrs.src" title="source.attrs.src" href="#source.attrs.src">src</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of the <a href="#media-source">media source</a>.</dd> @@ -16829,7 +16905,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/tabular-data.html#attr-tdth-headers">ⓘ</a></span> <a class="attribute-name" id="td.attrs.headers" title="td.attrs.headers" href="#td.attrs.headers">headers</a> = <span class="attr-values"> - <a href="#common.data.idrefs">set of ID references</a> + <a href="#common.data.idrefs">list of ID references</a> </span> </dt> <dd>Identifies one or more <a href="#th" class="element">th</a> @@ -17283,7 +17359,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/tabular-data.html#attr-tdth-headers">ⓘ</a></span> <a class="attribute-name" id="th.attrs.headers" title="th.attrs.headers" href="#th.attrs.headers">headers</a> = <span class="attr-values"> - <a href="#common.data.idrefs">set of ID references</a> + <a href="#common.data.idrefs">list of ID references</a> </span> </dt> <dd>Identifies one or more <a href="#th" class="element">th</a> @@ -18041,7 +18117,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/video.html#attr-video-poster">ⓘ</a></span> <a class="attribute-name" id="video.attrs.poster" title="video.attrs.poster" href="#video.attrs.poster">poster</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of an image file for the UA to show while no video data is available.</dd> @@ -18060,7 +18136,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/video.html#attr-media-src">ⓘ</a></span> <a class="attribute-name" id="video.attrs.src" title="video.attrs.src" href="#video.attrs.src">src</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The URL for the video.</dd> @@ -18331,7 +18407,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/editing.html#the-accesskey-attribute">ⓘ</a></span> <a class="attribute-name" id="common.attrs.accesskey" title="common.attrs.accesskey" href="#common.attrs.accesskey">accesskey</a> = <span class="attr-values"> - <a href="#common.data.keylabellist">key-label list</a> + <a href="#common.data.keylabellist">list of key labels</a> </span> <span class="changed-feature" title="The meaning, structure, or purpose of this markup feature has changed in HTML5.">CHANGED</span> </dt> <dd>A key label or list of key labels with which to @@ -18848,7 +18924,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/elements.html#the-xml:base-attribute-xml-only">ⓘ</a></span> <a class="attribute-name" id="common.attrs.xmlbase" title="common.attrs.xmlbase" href="#common.attrs.xmlbase">xml:base</a> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>As defined in the XML Base specification <a href="#refsXMLBase">[XMLBase]</a>.</dd> @@ -18915,7 +18991,7 @@ with which to associate the element.</dd> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/association-of-controls-and-forms.html#attr-fs-formaction">ⓘ</a></span> <dfn class="attribute-name" id="shared-form.attrs.formaction" title="shared-form.attrs.formaction">formaction</dfn> = <span class="attr-values"> - <a href="#common.data.uri">URI</a> + <a href="#common.data.uri">URL potentially surrounded by spaces</a> </span> <span class="new-feature" title="This markup feature is newly added in HTML5.">NEW</span><a class="hash" href="#shared-form.attrs.formaction">#</a> </dt> <dd>The form-submission action for the element.</dd> @@ -19066,8 +19142,28 @@ </ul> </div> </div> +<div id="data-comma-separated-strings-def" class="section"> + <h2 class="common-subhead">9.02. <dfn id="data-comma-separated-strings">Set of comma-separated strings</dfn> <a class="hash" href="#data-comma-separated-strings-def">#</a> +</h2> + <div class="datatype-desc">Zero or more + <a href="#data-string">strings</a> + that are themselves each zero or more characters, each + optionally with leading and/or trailing + <a href="#space">space characters</a>, + and each separated from the next by a single + "<code title="U+002C COMMA">,</code>" + (comma) character. Each string itself + <a href="#must-requirement">must</a> + not begin or end with any + <a href="#space">space characters</a>, + and each string itself + <a href="#must-requirement">must</a> + not contain any + "<code title="U+002C COMMA">,</code>" + (comma) characters.</div> + </div> <div id="data-token-def" class="section"> - <h2 class="common-subhead">9.02. <dfn id="data-token">Token</dfn> <a class="hash" href="#data-token-def">#</a> + <h2 class="common-subhead">9.03. <dfn id="data-token">Token</dfn> <a class="hash" href="#data-token-def">#</a> </h2> <div class="datatype-desc">A <a href="#data-string">string</a> @@ -19075,7 +19171,7 @@ <a href="#space">space characters</a>.</div> </div> <div id="common.data.tokens-def" class="section"> - <h2 class="common-subhead">9.03. <dfn id="common.data.tokens">Set of space-separated tokens</dfn> <a class="hash" href="#common.data.tokens-def">#</a> + <h2 class="common-subhead">9.04. <dfn id="common.data.tokens">Set of space-separated tokens</dfn> <a class="hash" href="#common.data.tokens-def">#</a> </h2> <div class="datatype-desc">A @@ -19085,14 +19181,22 @@ </div> <div id="data-unordered-tokens-def" class="section"> -<h2 class="common-subhead">9.04. <dfn id="data-unordered-tokens">Unordered set of unique space-separated tokens</dfn> <a class="hash" href="#data-unordered-tokens-def">#</a> +<h2 class="common-subhead">9.05. <dfn id="data-unordered-tokens">Unordered set of unique space-separated tokens</dfn> <a class="hash" href="#data-unordered-tokens-def">#</a> </h2> <div class="datatype-desc">A <a href="#common.data.tokens">set of space-separated tokens</a> in which none of the tokens are duplicated.</div> </div> +<div id="data-ordered-tokens-def" class="section"> +<h2 class="common-subhead">9.06. <dfn id="data-ordered-tokens">Ordered set of unique space-separated tokens</dfn> <a class="hash" href="#data-ordered-tokens-def">#</a> +</h2> + <div class="datatype-desc">A + <a href="#common.data.tokens">set of space-separated tokens</a> + in which none of the tokens are duplicated, + but in which the order of the tokens is meaningful.</div> + </div> <div id="common.data.browsing-context-name-def" class="section"> - <h2 class="common-subhead">9.05. <dfn id="common.data.browsing-context-name">Browsing-context name</dfn> <a class="hash" href="#common.data.browsing-context-name-def">#</a> + <h2 class="common-subhead">9.07. <dfn id="common.data.browsing-context-name">Browsing-context name</dfn> <a class="hash" href="#common.data.browsing-context-name-def">#</a> </h2> <div class="datatype-desc">Any @@ -19113,7 +19217,7 @@ </div> <div id="common.data.browsing-context-name-or-keyword-def" class="section"> - <h2 class="common-subhead">9.06. <dfn id="common.data.browsing-context-name-or-keyword">Browsing-context name or keyword</dfn> <a class="hash" href="#common.data.browsing-context-name-or-keyword-def">#</a> + <h2 class="common-subhead">9.08. <dfn id="common.data.browsing-context-name-or-keyword">Browsing-context name or keyword</dfn> <a class="hash" href="#common.data.browsing-context-name-or-keyword-def">#</a> </h2> <div class="datatype-desc">Any @@ -19139,7 +19243,7 @@ </div> <div id="common.data.id-def" class="section"> - <h2 class="common-subhead">9.07. <dfn id="common.data.id">ID</dfn> <a class="hash" href="#common.data.id-def">#</a> + <h2 class="common-subhead">9.09. <dfn id="common.data.id">ID</dfn> <a class="hash" href="#common.data.id-def">#</a> </h2> <div class="datatype-desc">Any @@ -19156,17 +19260,19 @@ </li> </ul> </div> - <p class="note">Previous versions of HTML placed greater - restrictions on the content of - <a href="#common.data.id">ID</a> - values (for example, they did not permit - <a href="#common.data.id">ID</a> - values to begin with a number).</p> + <div class="note"> + <p>Previous versions of HTML placed greater + restrictions on the content of + <a href="#common.data.id">ID</a> + values (for example, they did not permit + <a href="#common.data.id">ID</a> + values to begin with a number).</p> + </div> </div> <div id="common.data.idref-def" class="section"> - <h2 class="common-subhead">9.08. <dfn id="common.data.idref">ID reference</dfn> <a class="hash" href="#common.data.idref-def">#</a> + <h2 class="common-subhead">9.10. <dfn id="common.data.idref">ID reference</dfn> <a class="hash" href="#common.data.idref-def">#</a> </h2> <div class="datatype-desc">A valid @@ -19180,7 +19286,7 @@ </div> <div id="common.data.idrefs-def" class="section"> - <h2 class="common-subhead">9.09. <dfn id="common.data.idrefs">Set of ID references</dfn> <a class="hash" href="#common.data.idrefs-def">#</a> + <h2 class="common-subhead">9.11. <dfn id="common.data.idrefs">List of ID references</dfn> <a class="hash" href="#common.data.idrefs-def">#</a> </h2> <div class="datatype-desc">An @@ -19191,7 +19297,7 @@ </div> <div id="common.data.name-def" class="section"> - <h2 class="common-subhead">9.10. <dfn id="common.data.name">Name</dfn> <a class="hash" href="#common.data.name-def">#</a> + <h2 class="common-subhead">9.12. <dfn id="common.data.name">Name</dfn> <a class="hash" href="#common.data.name-def">#</a> </h2> <div class="datatype-desc">Any @@ -19212,7 +19318,7 @@ </div> <div id="common.data.hash-name-def" class="section"> - <h2 class="common-subhead">9.11. <dfn id="common.data.hash-name">Hash-name reference</dfn> <a class="hash" href="#common.data.hash-name-def">#</a> + <h2 class="common-subhead">9.13. <dfn id="common.data.hash-name">Hash-name reference</dfn> <a class="hash" href="#common.data.hash-name-def">#</a> </h2> <div class="datatype-desc">A @@ -19230,7 +19336,7 @@ </div> <div id="common.data.integer-def" class="section"> - <h2 class="common-subhead">9.12. <dfn id="common.data.integer">Integer</dfn> <a class="hash" href="#common.data.integer-def">#</a> + <h2 class="common-subhead">9.14. <dfn id="common.data.integer">Integer</dfn> <a class="hash" href="#common.data.integer-def">#</a> </h2> <div class="datatype-desc">One or more characters in the range @@ -19242,7 +19348,7 @@ </div> <div id="common.data.integer.positive-def" class="section"> - <h2 class="common-subhead">9.13. <dfn id="common.data.integer.positive">Positive integer</dfn> <a class="hash" href="#common.data.integer.positive-def">#</a> + <h2 class="common-subhead">9.15. <dfn id="common.data.integer.positive">Positive integer</dfn> <a class="hash" href="#common.data.integer.positive-def">#</a> </h2> <div class="datatype-desc">Any @@ -19258,7 +19364,7 @@ </div> <div id="common.data.integer.non-negative-def" class="section"> - <h2 class="common-subhead">9.14. <dfn id="common.data.integer.non-negative">Non-negative integer</dfn> <a class="hash" href="#common.data.integer.non-negative-def">#</a> + <h2 class="common-subhead">9.16. <dfn id="common.data.integer.non-negative">Non-negative integer</dfn> <a class="hash" href="#common.data.integer.non-negative-def">#</a> </h2> <div class="datatype-desc">One or more characters in the range @@ -19267,7 +19373,7 @@ </div> <div id="common.data.float-def" class="section"> - <h2 class="common-subhead">9.15. <dfn id="common.data.float">Float</dfn> <a class="hash" href="#common.data.float-def">#</a> + <h2 class="common-subhead">9.17. <dfn id="common.data.float">Float</dfn> <a class="hash" href="#common.data.float-def">#</a> </h2> <div class="datatype-desc">A float consists of the following @@ -19311,7 +19417,7 @@ </div> <div id="common.data.float.positive-def" class="section"> - <h2 class="common-subhead">9.16. <dfn id="common.data.float.positive">Positive float</dfn> <a class="hash" href="#common.data.float.positive-def">#</a> + <h2 class="common-subhead">9.18. <dfn id="common.data.float.positive">Positive float</dfn> <a class="hash" href="#common.data.float.positive-def">#</a> </h2> <div class="datatype-desc">A @@ -19327,7 +19433,7 @@ </div> <div id="common.data.float.non-negative-def" class="section"> - <h2 class="common-subhead">9.17. <dfn id="common.data.float.non-negative">Non-negative float</dfn> <a class="hash" href="#common.data.float.non-negative-def">#</a> + <h2 class="common-subhead">9.19. <dfn id="common.data.float.non-negative">Non-negative float</dfn> <a class="hash" href="#common.data.float.non-negative-def">#</a> </h2> <div class="datatype-desc">A @@ -19343,7 +19449,7 @@ </div> <div id="common.data.datetime-def" class="section"> - <h2 class="common-subhead">9.18. <dfn id="common.data.datetime">Date-time</dfn> <a class="hash" href="#common.data.datetime-def">#</a> + <h2 class="common-subhead">9.20. <dfn id="common.data.datetime">Date-time</dfn> <a class="hash" href="#common.data.datetime-def">#</a> </h2> <div class="datatype-desc">A valid @@ -19372,7 +19478,7 @@ </div> <div id="common.data.date-or-time-def" class="section"> - <h2 class="common-subhead">9.19. <dfn id="common.data.date-or-time">Date or time</dfn> <a class="hash" href="#common.data.date-or-time-def">#</a> + <h2 class="common-subhead">9.21. <dfn id="common.data.date-or-time">Date or time</dfn> <a class="hash" href="#common.data.date-or-time-def">#</a> </h2> <div class="datatype-desc">Any one of the following: @@ -19385,31 +19491,48 @@ </div> - <div id="common.data.uri-def" class="section"> - <h2 class="common-subhead">9.20. <dfn id="common.data.uri">URI</dfn> <a class="hash" href="#common.data.uri-def">#</a> + <div id="data-url-no-spaces-def" class="section"> +<h2 class="common-subhead">9.22. <dfn id="data-url-no-spaces">URL</dfn> <a class="hash" href="#data-url-no-spaces-def">#</a> </h2> - <div class="datatype-desc">An - <dfn id="data.iri-ref" title="data.iri-ref">IRI-reference</dfn>, + <dfn id="data.iri-ref" title="data.iri-ref">IRI reference</dfn>, as defined in RFC 3987 - <a href="#refsRFC3987">[RFC3987]</a>. + <a href="#refsRFC3987">[RFC3987]</a>.</div> + <div class="note"> + <p>The empty string is a valid + <a href="#data.iri-ref">IRI reference</a>, + so the empty string is allowed anywhere this reference lists + <a href="#data-url-no-spaces">URL</a> + as being allowed.</p> </div> - <p class="note">The empty string is a valid - <a href="#data.iri-ref">IRI-reference</a>, - so the empty string is allowed as the value of any - attribute for which this reference lists - <a href="#common.data.uri">URI</a> - as the allowed datatype.</p> <div class="example"> <p>Example:</p> <pre><code>http://example.org/hello</code></pre> </div> + </div> +<div id="common.data.uri-def" class="section"> + <h2 class="common-subhead">9.23. <dfn id="common.data.uri">URL potentially surrounded by spaces</dfn> <a class="hash" href="#common.data.uri-def">#</a> +</h2> + + <div class="datatype-desc">An + <dfn id="data.iri-ref" title="data.iri-ref">IRI reference</dfn>, + as defined in RFC 3987 + <a href="#refsRFC3987">[RFC3987]</a>, + optionally with leading and/or trailing + <a href="#space">space characters</a>.</div> + <div class="note"> + <p>The empty string is a valid + <a href="#data.iri-ref">IRI reference</a>, + so the empty string is allowed anywhere this reference lists + <a href="#common.data.uri">URL potentially surrounded by spaces</a> + as being allowed.</p> + </div> </div> <div id="common.data.uri.absolute-def" class="section"> - <h2 class="common-subhead">9.21. <dfn id="common.data.uri.absolute">Absolute URI</dfn> <a class="hash" href="#common.data.uri.absolute-def">#</a> + <h2 class="common-subhead">9.24. <dfn id="common.data.uri.absolute">Absolute URL</dfn> <a class="hash" href="#common.data.uri.absolute-def">#</a> </h2> <div class="datatype-desc">An @@ -19427,12 +19550,11 @@ </div> <div id="common.data.sizes-def" class="section"> - <h2 class="common-subhead">9.22. <dfn id="common.data.sizes">Sizes</dfn> <a class="hash" href="#common.data.sizes-def">#</a> + <h2 class="common-subhead">9.25. <dfn id="common.data.sizes">Sizes</dfn> <a class="hash" href="#common.data.sizes-def">#</a> </h2> - <div class="datatype-desc">An unordered set of unique - space-separated - <a href="#data-token">tokens</a>, + <div class="datatype-desc">An + <a href="#data-unordered-tokens">unordered set of unique space-separated tokens</a>, each of which <a href="#must-requirement">must</a> be one of the following: @@ -19451,7 +19573,7 @@ </div> <div id="common.data.mimetype-def" class="section"> - <h2 class="common-subhead">9.23. <dfn id="common.data.mimetype">MIME type</dfn> <a class="hash" href="#common.data.mimetype-def">#</a> + <h2 class="common-subhead">9.26. <dfn id="common.data.mimetype">MIME type</dfn> <a class="hash" href="#common.data.mimetype-def">#</a> </h2> <div class="datatype-desc">A string that identifies a valid @@ -19461,7 +19583,7 @@ </div> <div id="common.data.charset-def" class="section"> - <h2 class="common-subhead">9.24. <dfn id="common.data.charset">Character encoding name</dfn> <a class="hash" href="#common.data.charset-def">#</a> + <h2 class="common-subhead">9.27. <dfn id="common.data.charset">Character encoding name</dfn> <a class="hash" href="#common.data.charset-def">#</a> </h2> <div class="datatype-desc"> @@ -19489,7 +19611,7 @@ </div> <div id="common.data.meta-charset-def" class="section"> - <h2 class="common-subhead">9.25. <dfn id="common.data.meta-charset">Meta-charset string</dfn> <a class="hash" href="#common.data.meta-charset-def">#</a> + <h2 class="common-subhead">9.28. <dfn id="common.data.meta-charset">Meta-charset string</dfn> <a class="hash" href="#common.data.meta-charset-def">#</a> </h2> <div class="datatype-desc">The following parts, in exactly @@ -19509,7 +19631,7 @@ </div> <div id="common.data.refresh-def" class="section"> - <h2 class="common-subhead">9.26. <dfn id="common.data.refresh">Refresh value</dfn> <a class="hash" href="#common.data.refresh-def">#</a> + <h2 class="common-subhead">9.29. <dfn id="common.data.refresh">Refresh value</dfn> <a class="hash" href="#common.data.refresh-def">#</a> </h2> <div class="datatype-desc">Any one of the following: @@ -19530,7 +19652,7 @@ for the string "<code>url=</code>".</li> <li>A - <a href="#common.data.uri">URI</a>.</li> + <a href="#data-url-no-spaces">URL</a>.</li> </ol> </li> </ul> @@ -19539,7 +19661,7 @@ </div> <div id="common.data.default-style-def" class="section"> - <h2 class="common-subhead">9.27. <dfn id="common.data.default-style">Default-style name</dfn> <a class="hash" href="#common.data.default-style-def">#</a> + <h2 class="common-subhead">9.30. <dfn id="common.data.default-style">Default-style name</dfn> <a class="hash" href="#common.data.default-style-def">#</a> </h2> <div class="datatype-desc">A @@ -19548,7 +19670,7 @@ </div> <div id="common.data.mediaquery-def" class="section"> - <h2 class="common-subhead">9.28. <dfn id="common.data.mediaquery">Media-query list</dfn> <a class="hash" href="#common.data.mediaquery-def">#</a> + <h2 class="common-subhead">9.31. <dfn id="common.data.mediaquery">Media-query list</dfn> <a class="hash" href="#common.data.mediaquery-def">#</a> </h2> <div class="datatype-desc">A valid @@ -19559,7 +19681,7 @@ </div> <div id="common.data.langcode-def" class="section"> - <h2 class="common-subhead">9.29. <dfn id="common.data.langcode">Language tag</dfn> <a class="hash" href="#common.data.langcode-def">#</a> + <h2 class="common-subhead">9.32. <dfn id="common.data.langcode">Language tag</dfn> <a class="hash" href="#common.data.langcode-def">#</a> </h2> <div class="datatype-desc">A valid @@ -19570,12 +19692,12 @@ </div> <div id="common.data.keylabellist-def" class="section"> - <h2 class="common-subhead">9.30. <dfn id="common.data.keylabellist">Key-label list</dfn> <a class="hash" href="#common.data.keylabellist-def">#</a> + <h2 class="common-subhead">9.33. <dfn id="common.data.keylabellist">List of key labels</dfn> <a class="hash" href="#common.data.keylabellist-def">#</a> </h2> - <div class="datatype-desc">An ordered set of unique - space-separated <a href="#data-token">tokens</a>, each of - which + <div class="datatype-desc">An + <a href="#data-ordered-tokens">ordered set of unique space-separated tokens</a>, + each of which <a href="#must-requirement">must</a> be exactly one Unicode code point in length.</div> @@ -19583,7 +19705,7 @@ </div> <div id="common.data.zero-def" class="section"> - <h2 class="common-subhead">9.31. <dfn id="common.data.zero">Zero</dfn> <a class="hash" href="#common.data.zero-def">#</a> + <h2 class="common-subhead">9.34. <dfn id="common.data.zero">Zero</dfn> <a class="hash" href="#common.data.zero-def">#</a> </h2> <div class="datatype-desc">The literal string @@ -19592,7 +19714,7 @@ </div> <div id="common.data.rectangle-def" class="section"> - <h2 class="common-subhead">9.32. <dfn id="common.data.rectangle">Rectangle</dfn> <a class="hash" href="#common.data.rectangle-def">#</a> + <h2 class="common-subhead">9.35. <dfn id="common.data.rectangle">Rectangle</dfn> <a class="hash" href="#common.data.rectangle-def">#</a> </h2> <div class="datatype-desc">A comma-separated list of four @@ -19623,7 +19745,7 @@ </div> <div id="common.data.circle-def" class="section"> - <h2 class="common-subhead">9.33. <dfn id="common.data.circle">Circle</dfn> <a class="hash" href="#common.data.circle-def">#</a> + <h2 class="common-subhead">9.36. <dfn id="common.data.circle">Circle</dfn> <a class="hash" href="#common.data.circle-def">#</a> </h2> <div class="datatype-desc">A comma-separated list of three @@ -19647,7 +19769,7 @@ </div> <div id="common.data.polygon-def" class="section"> - <h2 class="common-subhead">9.34. <dfn id="common.data.polygon">Polygon</dfn> <a class="hash" href="#common.data.polygon-def">#</a> + <h2 class="common-subhead">9.37. <dfn id="common.data.polygon">Polygon</dfn> <a class="hash" href="#common.data.polygon-def">#</a> </h2> <div class="datatype-desc">A comma-separated list of at @@ -19663,26 +19785,38 @@ </div> <div id="common.data.sandbox-allow-list-def" class="section"> - <h2 class="common-subhead">9.35. <dfn id="common.data.sandbox-allow-list">Sandbox allow list</dfn> <a class="hash" href="#common.data.sandbox-allow-list-def">#</a> + <h2 class="common-subhead">9.38. <dfn id="common.data.sandbox-allow-list">Sandbox “allow” keywords list</dfn> <a class="hash" href="#common.data.sandbox-allow-list-def">#</a> </h2> - <div class="datatype-desc">An unordered set of unique - space-separated - <a href="#data-token">tokens</a>, each of which is a + <div class="datatype-desc"> + <p>An + <a href="#data-unordered-tokens">unordered set of unique space-separated tokens</a>, + each of which is a <a href="#case-insensitive">case-insensitive match</a> - for one of the following literal strings: + for one of the following literal strings:</p> <ul> -<li>"<code>allow-same-origin</code>"</li> - <li>"<code>allow-forms</code>"</li> +<li>"<code>allow-forms</code>"</li> <li>"<code>allow-scripts</code>"</li> <li>"<code>allow-top-navigation</code>"</li> + <li>"<code>allow-same-origin</code>"</li> </ul> +<div class="note"> + <p>Because an + <a href="#data-unordered-tokens">unordered set of unique space-separated tokens</a> + can contain zero tokens, this datatype also allows the following:</p> + <ul> +<li>the empty string</li> + <li>any string consisting only of + <a href="#space">space characters</a> +</li> + </ul> </div> + </div> </div> <div id="form.data.mimetypelist-def" class="section"> - <h2 class="common-subhead">9.36. <dfn id="form.data.mimetypelist">MIME-type list</dfn> <a class="hash" href="#form.data.mimetypelist-def">#</a> + <h2 class="common-subhead">9.39. <dfn id="form.data.mimetypelist">MIME-type list</dfn> <a class="hash" href="#form.data.mimetypelist-def">#</a> </h2> <div class="datatype-desc">A set of comma-separated <a href="#data-token">tokens</a>, @@ -19692,18 +19826,20 @@ </div> <div id="form.data.charsetlist-def" class="section"> - <h2 class="common-subhead">9.37. <dfn id="form.data.charsetlist">Character-encoding name list</dfn> <a class="hash" href="#form.data.charsetlist-def">#</a> + <h2 class="common-subhead">9.40. <dfn id="form.data.charsetlist">List of character-encoding names</dfn> <a class="hash" href="#form.data.charsetlist-def">#</a> </h2> - <div class="datatype-desc">A set of comma-separated <a href="#data-token">tokens</a>, - each of which is a valid <a href="#common.data.charset">character encoding name</a> that specifies an - <a href="#ascii-compatible">ASCII-compatible character - encoding</a>.</div> + <div class="datatype-desc">An + <a href="#data-ordered-tokens">ordered set of unique space-separated tokens</a>, + each of which + <a href="#must-requirement">must</a> + be a valid <a href="#common.data.charset">character encoding name</a> that specifies an + <a href="#ascii-compatible">ASCII-compatible character encoding</a>.</div> </div> <div id="form.data.pattern-def" class="section"> - <h2 class="common-subhead">9.38. <dfn id="form.data.pattern">Pattern</dfn> <a class="hash" href="#form.data.pattern-def">#</a> + <h2 class="common-subhead">9.41. <dfn id="form.data.pattern">Pattern</dfn> <a class="hash" href="#form.data.pattern-def">#</a> </h2> <div class="datatype-desc">A regular expression that @@ -19713,7 +19849,7 @@ </div> <div id="form.data.datetime-local-def" class="section"> - <h2 class="common-subhead">9.39. <dfn id="form.data.datetime-local">Local date-time</dfn> <a class="hash" href="#form.data.datetime-local-def">#</a> + <h2 class="common-subhead">9.42. <dfn id="form.data.datetime-local">Local date-time</dfn> <a class="hash" href="#form.data.datetime-local-def">#</a> </h2> <div class="datatype-desc">The following parts, in exactly @@ -19734,7 +19870,7 @@ </div> <div id="form.data.date-def" class="section"> - <h2 class="common-subhead">9.40. <dfn id="form.data.date">Date</dfn> <a class="hash" href="#form.data.date-def">#</a> + <h2 class="common-subhead">9.43. <dfn id="form.data.date">Date</dfn> <a class="hash" href="#form.data.date-def">#</a> </h2> <div class="datatype-desc">A valid @@ -19753,7 +19889,7 @@ </div> <div id="form.data.month-def" class="section"> - <h2 class="common-subhead">9.41. <dfn id="form.data.month">Month</dfn> <a class="hash" href="#form.data.month-def">#</a> + <h2 class="common-subhead">9.44. <dfn id="form.data.month">Month</dfn> <a class="hash" href="#form.data.month-def">#</a> </h2> <div class="datatype-desc">The following parts, in exactly the @@ -19775,7 +19911,7 @@ </div> <div id="form.data.week-def" class="section"> - <h2 class="common-subhead">9.42. <dfn id="form.data.week">Week</dfn> <a class="hash" href="#form.data.week-def">#</a> + <h2 class="common-subhead">9.45. <dfn id="form.data.week">Week</dfn> <a class="hash" href="#form.data.week-def">#</a> </h2> <div class="datatype-desc">The following parts, in exactly @@ -19800,7 +19936,7 @@ </div> <div id="form.data.time-def" class="section"> - <h2 class="common-subhead">9.43. <dfn id="form.data.time">Time</dfn> <a class="hash" href="#form.data.time-def">#</a> + <h2 class="common-subhead">9.46. <dfn id="form.data.time">Time</dfn> <a class="hash" href="#form.data.time-def">#</a> </h2> <div class="datatype-desc">A valid @@ -19817,7 +19953,7 @@ </div> <div id="form.data.emailaddress-def" class="section"> - <h2 class="common-subhead">9.44. <dfn id="form.data.emailaddress">E-mail address</dfn> <a class="hash" href="#form.data.emailaddress-def">#</a> + <h2 class="common-subhead">9.47. <dfn id="form.data.emailaddress">E-mail address</dfn> <a class="hash" href="#form.data.emailaddress-def">#</a> </h2> <div class="datatype-desc"> @@ -19842,16 +19978,18 @@ </div> <div id="form.data.emailaddresslist-def" class="section"> - <h2 class="common-subhead">9.45. <dfn id="form.data.emailaddresslist">E-mail address list</dfn> <a class="hash" href="#form.data.emailaddresslist-def">#</a> + <h2 class="common-subhead">9.48. <dfn id="form.data.emailaddresslist">List of e-mail addresses</dfn> <a class="hash" href="#form.data.emailaddresslist-def">#</a> </h2> - <div class="datatype-desc">A set of comma-separated <a href="#data-token">tokens</a>, each of which is a valid + <div class="datatype-desc">A + <a href="#data-comma-separated-tokens">set of unique space-separated tokens</a>, + each of which is a valid <a href="#form.data.emailaddress">email address</a>.</div> </div> <div id="form.data.color-def" class="section"> - <h2 class="common-subhead">9.46. <dfn id="form.data.color">Color</dfn> <a class="hash" href="#form.data.color-def">#</a> + <h2 class="common-subhead">9.49. <dfn id="form.data.color">Color</dfn> <a class="hash" href="#form.data.color-def">#</a> </h2> <div class="datatype-desc">A string exactly seven Index: form.html =================================================================== RCS file: /sources/public/html5/markup/form.html,v retrieving revision 1.63 retrieving revision 1.64 diff -u -d -r1.63 -r1.64 --- form.html 24 Jul 2010 17:15:24 -0000 1.63 +++ form.html 27 Jul 2010 06:09:44 -0000 1.64 @@ -53,7 +53,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/association-of-controls-and-forms.html#attr-fs-action">ⓘ</a></span> <a class="attribute-name" id="form.attrs.action" title="form.attrs.action" href="form.html#form.attrs.action">action</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The submission action for the form.</dd> @@ -74,7 +74,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/forms.html#attr-form-accept-charset">ⓘ</a></span> <a class="attribute-name" id="form.attrs.accept-charset" title="form.attrs.accept-charset" href="form.html#form.attrs.accept-charset">accept-charset</a> = <span class="attr-values"> - <a href="datatypes.html#form.data.charsetlist">character-encoding name list</a> + <a href="datatypes.html#form.data.charsetlist">list of character-encoding names</a> </span> </dt> <dd>Specifies the character encodings used for form submission.</dd> Index: video.html =================================================================== RCS file: /sources/public/html5/markup/video.html,v retrieving revision 1.71 retrieving revision 1.72 diff -u -d -r1.71 -r1.72 --- video.html 24 Jul 2010 17:15:29 -0000 1.71 +++ video.html 27 Jul 2010 06:09:45 -0000 1.72 @@ -114,7 +114,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/video.html#attr-video-poster">ⓘ</a></span> <a class="attribute-name" id="video.attrs.poster" title="video.attrs.poster" href="video.html#video.attrs.poster">poster</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of an image file for the UA to show while no video data is available.</dd> @@ -133,7 +133,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/video.html#attr-media-src">ⓘ</a></span> <a class="attribute-name" id="video.attrs.src" title="video.attrs.src" href="video.html#video.attrs.src">src</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The URL for the video.</dd> Index: source.html =================================================================== RCS file: /sources/public/html5/markup/source.html,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- source.html 24 Jul 2010 17:15:27 -0000 1.65 +++ source.html 27 Jul 2010 06:09:45 -0000 1.66 @@ -53,7 +53,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/video.html#attr-source-src">ⓘ</a></span> <a class="attribute-name" id="source.attrs.src" title="source.attrs.src" href="source.html#source.attrs.src">src</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> </dt> <dd>The address of the <a href="source.html#media-source">media source</a>.</dd> Index: output.html =================================================================== RCS file: /sources/public/html5/markup/output.html,v retrieving revision 1.60 retrieving revision 1.61 diff -u -d -r1.60 -r1.61 --- output.html 26 Jul 2010 04:06:25 -0000 1.60 +++ output.html 27 Jul 2010 06:09:45 -0000 1.61 @@ -48,7 +48,7 @@ <dl class="attr-defs"> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-button-element.html#attr-output-for">ⓘ</a></span> <a class="attribute-name" id="output.attrs.for" title="output.attrs.for" href="output.html#output.attrs.for">for</a> = <span class="attr-values"> - <a href="datatypes.html#common.data.idrefs">set of ID references</a> + <a href="datatypes.html#common.data.idrefs">list of ID references</a> </span> </dt> <dd>Identifies one or more elements associated with the calculation whose result this Index: forms-attributes.html =================================================================== RCS file: /sources/public/html5/markup/forms-attributes.html,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- forms-attributes.html 26 Jul 2010 04:06:25 -0000 1.23 +++ forms-attributes.html 27 Jul 2010 06:09:44 -0000 1.24 @@ -63,7 +63,7 @@ with which to associate the element.</dd> <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/association-of-controls-and-forms.html#attr-fs-formaction">ⓘ</a></span> <dfn class="attribute-name" id="shared-form.attrs.formaction" title="shared-form.attrs.formaction">formaction</dfn> = <span class="attr-values"> - <a href="datatypes.html#common.data.uri">URI</a> + <a href="datatypes.html#common.data.uri">URL potentially surrounded by spaces</a> </span> <span class="new-feature" title="This markup feature is newly added in HTML5.">NEW</span><a class="hash" href="forms-attributes.html#shared-form.attrs.formaction">#</a> </dt> <dd>The form-submission action for the element.</dd> Index: input.url.html =================================================================== RCS file: /sources/public/html5/markup/input.url.html,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- input.url.html 24 Jul 2010 17:15:26 -0000 1.61 +++ input.url.html 27 Jul 2010 06:09:45 -0000 1.62 @@ -66,7 +66,7 @@ <dt> <span class="spec-link"><a title="Read about this attribute in the HTML5 spec" href="http://dev.w3.org/html5/spec-author-view/the-input-element.html#attr-input-value">ⓘ</a></span> <a class="attribute-name" id="input.url.attrs.value" title="input.url.attrs.value" href="input.url.html#input.url.attrs.value">value</a> = <span class="attr-values"> "" - <span class="postfix or">or</span> <a href="datatypes.html#common.data.uri.absolute">absolute URI</a> + <span class="postfix or">or</span> <a href="datatypes.html#common.data.uri.absolute">absolute URL</a> </span> </dt> <dd>An absolute URL.</dd>
Received on Tuesday, 27 July 2010 06:09:54 UTC