[html5] r4992 - [acgiow] (0) Allow spaces around URLs in most attributes (not itemtype or xmlns) [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sun Apr 11 22:48:34 PDT 2010
Author: ianh
Date: 2010-04-11 22:48:33 -0700 (Sun, 11 Apr 2010)
New Revision: 4992
Modified:
complete.html
index
source
Log:
[acgiow] (0) Allow spaces around URLs in most attributes (not itemtype or xmlns). Require that UAs strip spaces around <input type=url value> URLs.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9354
Modified: complete.html
===================================================================
--- complete.html 2010-04-09 04:14:30 UTC (rev 4991)
+++ complete.html 2010-04-12 05:48:33 UTC (rev 4992)
@@ -186,7 +186,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
- <h2 class="no-num no-toc">Draft Standard — 9 April 2010</h2>
+ <h2 class="no-num no-toc">Draft Standard — 12 April 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -5645,9 +5645,19 @@
<li><p>The <a href=#url>URL</a> is a valid IRI reference and the <a href="#document's-character-encoding" title="document's character encoding">character encoding</a> of
the URL's <code><a href=#document>Document</a></code> is UTF-8 or UTF-16. <a href=#refsRFC3987>[RFC3987]</a></li>
- </ul><p>A <a href=#url>URL</a> is a <dfn id=valid-non-empty-url>valid non-empty URL</dfn> if it is a
+ </ul><p>A string is a <dfn id=valid-non-empty-url>valid non-empty URL</dfn> if it is a
<a href=#valid-url>valid URL</a> but it is not the empty string.</p>
+ <p>A string is a <dfn id=valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</dfn> if, after <a href=#strip-leading-and-trailing-whitespace title="strip leading and trailing
+ whitespace">stripping leading and trailing whitespace</a> from
+ it, it is a <a href=#valid-url>valid URL</a>.</p>
+
+ <p>A string is a <dfn id=valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</dfn> if, after <a href=#strip-leading-and-trailing-whitespace title="strip leading and trailing
+ whitespace">stripping leading and trailing whitespace</a> from
+ it, it is a <a href=#valid-non-empty-url>valid non-empty URL</a>.</p>
+
<div class=impl>
<p>To <dfn id=parse-a-url>parse a URL</dfn> <var title="">url</var> into its
@@ -11607,7 +11617,8 @@
attribute gives the address of the document's <a href=#application-cache>application
cache</a> <a href=#concept-appcache-manifest title=concept-appcache-manifest>manifest</a>, if there is
one. If the attribute is present, the attribute's value must be a
- <a href=#valid-non-empty-url>valid non-empty URL</a>.</p>
+ <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>.</p>
<p>The <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute
only <a href=#concept-appcache-init title=concept-appcache-init>has an effect</a> during
@@ -11813,7 +11824,8 @@
<p>A <code><a href=#the-base-element>base</a></code> element must have either an <code title=attr-base-href><a href=#attr-base-href>href</a></code> attribute, a <code title=attr-base-target><a href=#attr-base-target>target</a></code> attribute, or both.</p>
<p>The <dfn id=attr-base-href title=attr-base-href><code>href</code></dfn> content
- attribute, if specified, must contain a <a href=#valid-url>valid URL</a>.</p>
+ attribute, if specified, must contain a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially
+ surrounded by spaces</a>.</p>
<p>A <code><a href=#the-base-element>base</a></code> element, if it has an <code title=attr-base-href><a href=#attr-base-href>href</a></code> attribute, must come before any
other elements in the tree that have attributes defined as taking
@@ -11915,8 +11927,8 @@
document to other resources.</p>
<p>The destination of the link(s) is given by the <dfn id=attr-link-href title=attr-link-href><code>href</code></dfn> attribute, which must
- be present and must contain a <a href=#valid-non-empty-url>valid non-empty
- URL</a>. <span class=impl>If the <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute is absent, then the
+ be present and must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially
+ surrounded by spaces</a>. <span class=impl>If the <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute is absent, then the
element does not define a link.</span></p>
@@ -13577,13 +13589,13 @@
<p>The <dfn id=attr-script-src title=attr-script-src><code>src</code></dfn>
attribute, if specified, gives the address of the external script
- resource to use. The value of the attribute must be a <a href=#valid-non-empty-url>valid
- non-empty URL</a> identifying a script resource of the type given
- by the <code title=attr-script-type><a href=#attr-script-type>type</a></code> attribute, if the
- attribute is present, or of the type "<code title="">text/javascript</code>", if the attribute is absent. A
- resource is a script resource of a given type if that type
- identifies a scripting language and the resource conforms with the
- requirements of that language's specification.</p>
+ resource to use. The value of the attribute must be a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid
+ non-empty URL potentially surrounded by spaces</a> identifying a
+ script resource of the type given by the <code title=attr-script-type><a href=#attr-script-type>type</a></code> attribute, if the attribute is
+ present, or of the type "<code title="">text/javascript</code>", if
+ the attribute is absent. A resource is a script resource of a given
+ type if that type identifies a scripting language and the resource
+ conforms with the requirements of that language's specification.</p>
<p>The <dfn id=attr-script-charset title=attr-script-charset><code>charset</code></dfn>
attribute gives the character encoding of the external script
@@ -16309,10 +16321,10 @@
attribute.</p>
<p>If the <code title=attr-blockquote-cite><a href=#attr-blockquote-cite>cite</a></code> attribute
- is present, it must be a <a href=#valid-url>valid URL</a>. <span class=impl>To obtain the corresponding citation link, the value of
- the attribute must be <a href=#resolve-a-url title="resolve a url">resolved</a>
- relative to the element. User agents should allow users to follow
- such citation links.</span></p>
+ is present, it must be a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</a>. <span class=impl>To obtain the corresponding
+ citation link, the value of the attribute must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element. User
+ agents should allow users to follow such citation links.</span></p>
<div class=impl>
@@ -17665,11 +17677,10 @@
screenplay.</p>
<p>If the <code title=attr-q-cite><a href=#attr-q-cite>cite</a></code> attribute is
- present, it must be a <a href=#valid-url>valid URL</a>. <span class=impl>To
- obtain the corresponding citation link, the value of the attribute
- must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the
- element. User agents should allow users to follow such citation
- links.</span></p>
+ present, it must be a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</a>. <span class=impl>To obtain the corresponding
+ citation link, the value of the attribute must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element. User
+ agents should allow users to follow such citation links.</span></p>
<p>The <code><a href=#the-q-element>q</a></code> element must not be used in place of quotation
marks that do not represent quotes; for example, it is inappropriate
@@ -19340,11 +19351,12 @@
change.</p>
<p>If the <code title=attr-mod-cite><a href=#attr-mod-cite>cite</a></code> attribute is
- present, it must be a <a href=#valid-url>valid URL</a> that explains the
- change. <span class=impl>To obtain the corresponding citation
- link, the value of the attribute must be <a href=#resolve-a-url title="resolve a
- url">resolved</a> relative to the element. User agents should
- allow users to follow such citation links.</span></p>
+ present, it must be a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</a> that explains the change. <span class=impl>To obtain
+ the corresponding citation link, the value of the attribute must be
+ <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the
+ element. User agents should allow users to follow such citation
+ links.</span></p>
<p>The <dfn id=attr-mod-datetime title=attr-mod-datetime><code>datetime</code></dfn>
@@ -19567,9 +19579,10 @@
<code><a href=#the-img-element>img</a></code> element's <a href=#fallback-content>fallback content</a>.</p>
<p>The <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute must be
- present, and must contain a <a href=#valid-non-empty-url>valid non-empty URL</a>
- referencing a non-interactive, optionally animated, image resource
- that is neither paged nor scripted.</p>
+ present, and must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially
+ surrounded by spaces</a> referencing a non-interactive,
+ optionally animated, image resource that is neither paged nor
+ scripted.</p>
<p class=note>Images can thus be static bitmaps (e.g. PNGs, GIFs,
JPEGs), single-page vector documents (single-page PDFs, XML files
@@ -20970,7 +20983,8 @@
<p>The <dfn id=attr-iframe-src title=attr-iframe-src><code>src</code></dfn> attribute
gives the address of a page that the <a href=#nested-browsing-context>nested browsing
context</a> is to contain. The attribute, if present, must be a
- <a href=#valid-non-empty-url>valid non-empty URL</a>.</p>
+ <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>.</p>
<p>The <dfn id=attr-iframe-srcdoc title=attr-iframe-srcdoc><code>srcdoc</code></dfn>
attribute gives the content of the page that the <a href=#nested-browsing-context>nested
@@ -21774,7 +21788,8 @@
<p>The <dfn id=attr-embed-src title=attr-embed-src><code>src</code></dfn> attribute
gives the address of the resource being embedded. The attribute, if
- present, must contain a <a href=#valid-non-empty-url>valid non-empty URL</a>.</p>
+ present, must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially
+ surrounded by spaces</a>.</p>
<p>The <dfn id=attr-embed-type title=attr-embed-type><code>type</code></dfn>
attribute, if present, gives the <a href=#mime-type>MIME type</a> by which the
@@ -22063,8 +22078,8 @@
<p>The <dfn id=attr-object-data title=attr-object-data><code>data</code></dfn>
attribute, if present, specifies the address of the resource. If
- present, the attribute must be a <a href=#valid-non-empty-url>valid non-empty
- URL</a>.</p>
+ present, the attribute must be a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty
+ URL potentially surrounded by spaces</a>.</p>
<p>The <dfn id=attr-object-type title=attr-object-type><code>type</code></dfn>
attribute, if present, specifies the type of the resource. If
@@ -22863,8 +22878,9 @@
<p>The <dfn id=attr-video-poster title=attr-video-poster><code>poster</code></dfn>
attribute gives the address of an image file that the user agent can
show while no video data is available. The attribute, if present,
- must contain a <a href=#valid-non-empty-url>valid non-empty URL</a>. <span class=impl>If the specified resource is to be used, then, when the
- element is created or when the <code title=attr-video-poster><a href=#attr-video-poster>poster</a></code> attribute is set, if its
+ must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>. <span class=impl>If the specified resource is to be
+ used, then, when the element is created or when the <code title=attr-video-poster><a href=#attr-video-poster>poster</a></code> attribute is set, if its
value is not the empty string, its value must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element, and
if that is successful, the resulting <a href=#absolute-url>absolute URL</a> must
be <a href=#fetch title=fetch>fetched</a>, from the element's
@@ -23256,8 +23272,8 @@
<p>The <dfn id=attr-source-src title=attr-source-src><code>src</code></dfn> attribute
gives the address of the <a href=#media-resource>media resource</a>. The value must
- be a <a href=#valid-non-empty-url>valid non-empty URL</a>. This attribute must be
- present.</p>
+ be a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>. This attribute must be present.</p>
<p>The <dfn id=attr-source-type title=attr-source-type><code>type</code></dfn>
attribute gives the type of the <a href=#media-resource>media resource</a>, to help
@@ -23614,8 +23630,8 @@
<p>The <dfn id=attr-media-src title=attr-media-src><code>src</code></dfn> content
attribute on <a href=#media-element title="media element">media elements</a> gives
the address of the media resource (video, audio) to show. The
- attribute, if present, must contain a <a href=#valid-non-empty-url>valid non-empty
- URL</a>.</p>
+ attribute, if present, must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty
+ URL potentially surrounded by spaces</a>.</p>
<div class=impl>
@@ -35061,13 +35077,15 @@
</div>
<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-url title="valid
- URL">valid</a> <a href=#absolute-url>absolute URL</a>.</p>
+ specified, must have a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially
+ surrounded by spaces</a> that is also an <a href=#absolute-url>absolute
+ URL</a>.</p>
<div class=impl>
<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
- follows</strong>: <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
+ follows</strong>: <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>, then <a href=#strip-leading-and-trailing-whitespace>strip leading and
+ trailing whitespace</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
<p><strong>Constraint validation</strong>: While the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element is not a <a href=#valid-url title="valid URL">valid</a> <a href=#absolute-url>absolute URL</a>, the
element is <a href=#suffering-from-a-type-mismatch>suffering from a type mismatch</a>.</p>
@@ -37295,9 +37313,9 @@
button</a>.</p>
<hr><p>The image is given by the <dfn id=attr-input-src title=attr-input-src><code>src</code></dfn> attribute. The <code title=attr-input-src><a href=#attr-input-src>src</a></code> attribute must be present, and
- must contain a <a href=#valid-non-empty-url>valid non-empty URL</a> referencing a
- non-interactive, optionally animated, image resource that is neither
- paged nor scripted.</p>
+ must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a> referencing a non-interactive, optionally animated,
+ image resource that is neither paged nor scripted.</p>
<div class=impl>
@@ -41200,7 +41218,7 @@
<hr><p>The <dfn id=attr-fs-action title=attr-fs-action><code>action</code></dfn> and
<dfn id=attr-fs-formaction title=attr-fs-formaction><code>formaction</code></dfn>
content attributes, if specified, must have a value that is a
- <a href=#valid-url>valid URL</a>.</p>
+ <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by spaces</a>.</p>
<p>The <dfn id=concept-fs-action title=concept-fs-action>action</dfn> of an element is
the value of the element's <code title=attr-fs-formaction><a href=#attr-fs-formaction>formaction</a></code> attribute, if the
@@ -45420,13 +45438,16 @@
<p>The <dfn id=attr-command-icon title=attr-command-icon><code>icon</code></dfn>
attribute gives a picture that represents the command. If the
attribute is specified, the attribute's value must contain a
- <a href=#valid-non-empty-url>valid non-empty URL</a>. <span class=impl>To obtain the
- <a href=#absolute-url>absolute URL</a> of the icon when the attribute's value is
- not the empty string, the attribute's value must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element. When
- the attribute is absent, or its value is the empty string, or <a href=#resolve-a-url title="resolve a url">resolving</a> its value fails, there is no
- icon.</span></p> <!-- this is affected by the base URL being
- changed, so users of this should cache the image once they've
- fetched it once, at least until the relative url changes again -->
+ <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>. <span class=impl>To obtain the <a href=#absolute-url>absolute
+ URL</a> of the icon when the attribute's value is not the empty
+ string, the attribute's value must be <a href=#resolve-a-url title="resolve a
+ url">resolved</a> relative to the element. When the attribute is
+ absent, or its value is the empty string, or <a href=#resolve-a-url title="resolve a
+ url">resolving</a> its value fails, there is no icon.</span></p>
+ <!-- this is affected by the base URL being changed, so users of
+ this should cache the image once they've fetched it once, at least
+ until the relative url changes again -->
<p>The <dfn id=attr-command-disabled title=attr-command-disabled><code>disabled</code></dfn> attribute
is a <a href=#boolean-attribute>boolean attribute</a> that, if present, indicates that
@@ -46750,8 +46771,9 @@
<p>The <dfn id=attr-hyperlink-href title=attr-hyperlink-href><code>href</code></dfn>
attribute on <code><a href=#the-a-element>a</a></code> and <code><a href=#the-area-element>area</a></code> elements must have
- a value that is a <a href=#valid-url>valid URL</a>. This <a href=#url>URL</a> is
- the <i>destination resource</i> of the hyperlink.</p>
+ a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</a>. This <a href=#url>URL</a> is the <i>destination
+ resource</i> of the hyperlink.</p>
<p class=note>The <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
attribute on <code><a href=#the-a-element>a</a></code> and <code><a href=#the-area-element>area</a></code> elements is not
@@ -49298,7 +49320,8 @@
Web.</p>
<p>The <code title=attr-itemid><a href=#attr-itemid>itemid</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-url>valid URL</a>.</p>
+ specified, must have a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially
+ surrounded by spaces</a>.</p>
<p>The <dfn id=global-identifier>global identifier</dfn> of an <a href=#concept-item title=concept-item>item</a> is the value of its element's <code title=attr-itemid><a href=#attr-itemid>itemid</a></code> attribute, if it has one, <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element on
which the attribute is specified. If the <code title=attr-itemid><a href=#attr-itemid>itemid</a></code> attribute is missing or if
@@ -54068,7 +54091,7 @@
<p>The method has four arguments, though they are all optional.</p>
<p>The first argument, <var title="">url</var>, must be a
- <a href=#valid-url>valid URL</a> for a page to load in the browsing
+ <a href=#valid-non-empty-url>valid non-empty URL</a> for a page to load in the browsing
context. If no arguments are provided, or if the first argument is
the empty string, then the <var title="">url</var> argument defaults
to "<code><a href=#about:blank>about:blank</a></code>". The argument must be <a href=#resolve-a-url title="resolve a url">resolved</a> to an <a href=#absolute-url>absolute
@@ -87859,7 +87882,7 @@
<tr><th> <code title="">action</code>
<td> <code title=attr-fs-action><a href=#attr-fs-action>form</a></code>
<td> <a href=#url>URL</a> to use for <a href=#form-submission>form submission</a>
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">alt</code>
<td> <code title=attr-area-alt><a href=#attr-area-alt>area</a></code>;
<code title=attr-img-alt><a href=#attr-img-alt>img</a></code>;
@@ -87911,7 +87934,7 @@
<code title=attr-mod-cite><a href=#attr-mod-cite>ins</a></code>;
<code title=attr-q-cite><a href=#attr-q-cite>q</a></code>
<td> Link to the source of the quotation or more information about the edit
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">class</code>
<td> <a href=#classes title=attr-class>HTML elements</a>
<td> Classes to which the element belongs
@@ -87949,7 +87972,7 @@
<tr><th> <code title="">data</code>
<td> <code title=attr-object-data><a href=#attr-object-data>object</a></code>
<td> Address of the resource
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">datetime</code>
<td> <code title=attr-mod-datetime><a href=#attr-mod-datetime>del</a></code>;
<code title=attr-mod-datetime><a href=#attr-mod-datetime>ins</a></code>
@@ -88013,7 +88036,7 @@
<td> <code title=attr-fs-formaction><a href=#attr-fs-formaction>button</a></code>;
<code title=attr-fs-formaction><a href=#attr-fs-formaction>input</a></code>
<td> <a href=#url>URL</a> to use for <a href=#form-submission>form submission</a>
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">formenctype</code>
<td> <code title=attr-fs-formenctype><a href=#attr-fs-formenctype>button</a></code>;
<code title=attr-fs-formenctype><a href=#attr-fs-formenctype>input</a></code>
@@ -88061,15 +88084,15 @@
<td> <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>a</a></code>;
<code title=attr-hyperlink-href><a href=#attr-hyperlink-href>area</a></code>
<td> Address of the <a href=#hyperlink>hyperlink</a>
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">href</code>
<td> <code title=attr-link-href><a href=#attr-link-href>link</a></code>
<td> Address of the <a href=#hyperlink>hyperlink</a>
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">href</code>
<td> <code title=attr-base-href><a href=#attr-base-href>base</a></code>
<td> <a href=#document-base-url>Document base URL</a>
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">hreflang</code>
<td> <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>a</a></code>;
<code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>area</a></code>;
@@ -88083,7 +88106,7 @@
<tr><th> <code title="">icon</code>
<td> <code title=attr-command-icon><a href=#attr-command-icon>command</a></code>
<td> Icon for the command
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">id</code>
<td> <a href=#the-id-attribute title=attr-id>HTML elements</a>
<td> The element's <a href=#concept-id title=concept-id>ID</a>
@@ -88096,7 +88119,7 @@
<tr><th> <code title="">itemid</code>
<td> <a href=#attr-itemid title=attr-itemid>HTML elements</a>
<td> <a href=#global-identifier>Global identifier</a> for a microdata item
- <td> <a href=#valid-url title="valid URL">Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">itemprop</code>
<td> <a href=#names:-the-itemprop-attribute title=attr-itemprop>HTML elements</a>
<td> <a href=#property-names>Property names</a> of a microdata item
@@ -88112,7 +88135,7 @@
<tr><th> <code title="">itemtype</code>
<td> <a href=#attr-itemtype title=attr-itemtype>HTML elements</a>
<td> <a href=#item-type>Item type</a> of a microdata item
- <td> <a href=#absolute-url title="absolute url">Valid absolute URL</a>*
+ <td> <a href=#absolute-url title="absolute URL">Valid absolute URL</a>*
<tr><th> <code title="">keytype</code>
<td> <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keygen</a></code>
@@ -88145,7 +88168,7 @@
<tr><th> <code title="">manifest</code>
<td> <code title=attr-html-manifest><a href=#attr-html-manifest>html</a></code>
<td> <a href=#concept-appcache-manifest title=concept-appcache-manifest>Application cache manifest</a>
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">max</code>
<td> <code title=attr-input-max><a href=#attr-input-max>input</a></code>
<td> Maximum value
@@ -88247,7 +88270,7 @@
<tr><th> <code title="">poster</code>
<td> <code title=attr-video-poster><a href=#attr-video-poster>video</a></code>
<td> Poster frame to show prior to video playback
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">preload</code>
<td> <code title=attr-media-preload><a href=#attr-media-preload>audio</a></code>;
<code title=attr-media-preload><a href=#attr-media-preload>video</a></code>
@@ -88353,7 +88376,7 @@
<code title=attr-source-src><a href=#attr-source-src>source</a></code>;
<code title=attr-media-src><a href=#attr-media-src>video</a></code>
<td> Address of the resource
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">srcdoc</code>
<td> <code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>iframe</a></code>
<td> A document to render in the <code><a href=#the-iframe-element>iframe</a></code>
Modified: index
===================================================================
--- index 2010-04-09 04:14:30 UTC (rev 4991)
+++ index 2010-04-12 05:48:33 UTC (rev 4992)
@@ -190,7 +190,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
- <h2 class="no-num no-toc">Draft Standard — 9 April 2010</h2>
+ <h2 class="no-num no-toc">Draft Standard — 12 April 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -5543,9 +5543,19 @@
<li><p>The <a href=#url>URL</a> is a valid IRI reference and the <a href="#document's-character-encoding" title="document's character encoding">character encoding</a> of
the URL's <code><a href=#document>Document</a></code> is UTF-8 or UTF-16. <a href=#refsRFC3987>[RFC3987]</a></li>
- </ul><p>A <a href=#url>URL</a> is a <dfn id=valid-non-empty-url>valid non-empty URL</dfn> if it is a
+ </ul><p>A string is a <dfn id=valid-non-empty-url>valid non-empty URL</dfn> if it is a
<a href=#valid-url>valid URL</a> but it is not the empty string.</p>
+ <p>A string is a <dfn id=valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</dfn> if, after <a href=#strip-leading-and-trailing-whitespace title="strip leading and trailing
+ whitespace">stripping leading and trailing whitespace</a> from
+ it, it is a <a href=#valid-url>valid URL</a>.</p>
+
+ <p>A string is a <dfn id=valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</dfn> if, after <a href=#strip-leading-and-trailing-whitespace title="strip leading and trailing
+ whitespace">stripping leading and trailing whitespace</a> from
+ it, it is a <a href=#valid-non-empty-url>valid non-empty URL</a>.</p>
+
<div class=impl>
<p>To <dfn id=parse-a-url>parse a URL</dfn> <var title="">url</var> into its
@@ -11505,7 +11515,8 @@
attribute gives the address of the document's <a href=#application-cache>application
cache</a> <a href=#concept-appcache-manifest title=concept-appcache-manifest>manifest</a>, if there is
one. If the attribute is present, the attribute's value must be a
- <a href=#valid-non-empty-url>valid non-empty URL</a>.</p>
+ <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>.</p>
<p>The <code title=attr-html-manifest><a href=#attr-html-manifest>manifest</a></code> attribute
only <a href=#concept-appcache-init title=concept-appcache-init>has an effect</a> during
@@ -11711,7 +11722,8 @@
<p>A <code><a href=#the-base-element>base</a></code> element must have either an <code title=attr-base-href><a href=#attr-base-href>href</a></code> attribute, a <code title=attr-base-target><a href=#attr-base-target>target</a></code> attribute, or both.</p>
<p>The <dfn id=attr-base-href title=attr-base-href><code>href</code></dfn> content
- attribute, if specified, must contain a <a href=#valid-url>valid URL</a>.</p>
+ attribute, if specified, must contain a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially
+ surrounded by spaces</a>.</p>
<p>A <code><a href=#the-base-element>base</a></code> element, if it has an <code title=attr-base-href><a href=#attr-base-href>href</a></code> attribute, must come before any
other elements in the tree that have attributes defined as taking
@@ -11813,8 +11825,8 @@
document to other resources.</p>
<p>The destination of the link(s) is given by the <dfn id=attr-link-href title=attr-link-href><code>href</code></dfn> attribute, which must
- be present and must contain a <a href=#valid-non-empty-url>valid non-empty
- URL</a>. <span class=impl>If the <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute is absent, then the
+ be present and must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially
+ surrounded by spaces</a>. <span class=impl>If the <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute is absent, then the
element does not define a link.</span></p>
@@ -13475,13 +13487,13 @@
<p>The <dfn id=attr-script-src title=attr-script-src><code>src</code></dfn>
attribute, if specified, gives the address of the external script
- resource to use. The value of the attribute must be a <a href=#valid-non-empty-url>valid
- non-empty URL</a> identifying a script resource of the type given
- by the <code title=attr-script-type><a href=#attr-script-type>type</a></code> attribute, if the
- attribute is present, or of the type "<code title="">text/javascript</code>", if the attribute is absent. A
- resource is a script resource of a given type if that type
- identifies a scripting language and the resource conforms with the
- requirements of that language's specification.</p>
+ resource to use. The value of the attribute must be a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid
+ non-empty URL potentially surrounded by spaces</a> identifying a
+ script resource of the type given by the <code title=attr-script-type><a href=#attr-script-type>type</a></code> attribute, if the attribute is
+ present, or of the type "<code title="">text/javascript</code>", if
+ the attribute is absent. A resource is a script resource of a given
+ type if that type identifies a scripting language and the resource
+ conforms with the requirements of that language's specification.</p>
<p>The <dfn id=attr-script-charset title=attr-script-charset><code>charset</code></dfn>
attribute gives the character encoding of the external script
@@ -16207,10 +16219,10 @@
attribute.</p>
<p>If the <code title=attr-blockquote-cite><a href=#attr-blockquote-cite>cite</a></code> attribute
- is present, it must be a <a href=#valid-url>valid URL</a>. <span class=impl>To obtain the corresponding citation link, the value of
- the attribute must be <a href=#resolve-a-url title="resolve a url">resolved</a>
- relative to the element. User agents should allow users to follow
- such citation links.</span></p>
+ is present, it must be a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</a>. <span class=impl>To obtain the corresponding
+ citation link, the value of the attribute must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element. User
+ agents should allow users to follow such citation links.</span></p>
<div class=impl>
@@ -17563,11 +17575,10 @@
screenplay.</p>
<p>If the <code title=attr-q-cite><a href=#attr-q-cite>cite</a></code> attribute is
- present, it must be a <a href=#valid-url>valid URL</a>. <span class=impl>To
- obtain the corresponding citation link, the value of the attribute
- must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the
- element. User agents should allow users to follow such citation
- links.</span></p>
+ present, it must be a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</a>. <span class=impl>To obtain the corresponding
+ citation link, the value of the attribute must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element. User
+ agents should allow users to follow such citation links.</span></p>
<p>The <code><a href=#the-q-element>q</a></code> element must not be used in place of quotation
marks that do not represent quotes; for example, it is inappropriate
@@ -19238,11 +19249,12 @@
change.</p>
<p>If the <code title=attr-mod-cite><a href=#attr-mod-cite>cite</a></code> attribute is
- present, it must be a <a href=#valid-url>valid URL</a> that explains the
- change. <span class=impl>To obtain the corresponding citation
- link, the value of the attribute must be <a href=#resolve-a-url title="resolve a
- url">resolved</a> relative to the element. User agents should
- allow users to follow such citation links.</span></p>
+ present, it must be a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</a> that explains the change. <span class=impl>To obtain
+ the corresponding citation link, the value of the attribute must be
+ <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the
+ element. User agents should allow users to follow such citation
+ links.</span></p>
<p>The <dfn id=attr-mod-datetime title=attr-mod-datetime><code>datetime</code></dfn>
@@ -19465,9 +19477,10 @@
<code><a href=#the-img-element>img</a></code> element's <a href=#fallback-content>fallback content</a>.</p>
<p>The <code title=attr-img-src><a href=#attr-img-src>src</a></code> attribute must be
- present, and must contain a <a href=#valid-non-empty-url>valid non-empty URL</a>
- referencing a non-interactive, optionally animated, image resource
- that is neither paged nor scripted.</p>
+ present, and must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially
+ surrounded by spaces</a> referencing a non-interactive,
+ optionally animated, image resource that is neither paged nor
+ scripted.</p>
<p class=note>Images can thus be static bitmaps (e.g. PNGs, GIFs,
JPEGs), single-page vector documents (single-page PDFs, XML files
@@ -20868,7 +20881,8 @@
<p>The <dfn id=attr-iframe-src title=attr-iframe-src><code>src</code></dfn> attribute
gives the address of a page that the <a href=#nested-browsing-context>nested browsing
context</a> is to contain. The attribute, if present, must be a
- <a href=#valid-non-empty-url>valid non-empty URL</a>.</p>
+ <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>.</p>
<p>The <dfn id=attr-iframe-srcdoc title=attr-iframe-srcdoc><code>srcdoc</code></dfn>
attribute gives the content of the page that the <a href=#nested-browsing-context>nested
@@ -21675,7 +21689,8 @@
<p>The <dfn id=attr-embed-src title=attr-embed-src><code>src</code></dfn> attribute
gives the address of the resource being embedded. The attribute, if
- present, must contain a <a href=#valid-non-empty-url>valid non-empty URL</a>.</p>
+ present, must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially
+ surrounded by spaces</a>.</p>
<p>The <dfn id=attr-embed-type title=attr-embed-type><code>type</code></dfn>
attribute, if present, gives the <a href=#mime-type>MIME type</a> by which the
@@ -21964,8 +21979,8 @@
<p>The <dfn id=attr-object-data title=attr-object-data><code>data</code></dfn>
attribute, if present, specifies the address of the resource. If
- present, the attribute must be a <a href=#valid-non-empty-url>valid non-empty
- URL</a>.</p>
+ present, the attribute must be a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty
+ URL potentially surrounded by spaces</a>.</p>
<p>The <dfn id=attr-object-type title=attr-object-type><code>type</code></dfn>
attribute, if present, specifies the type of the resource. If
@@ -22764,8 +22779,9 @@
<p>The <dfn id=attr-video-poster title=attr-video-poster><code>poster</code></dfn>
attribute gives the address of an image file that the user agent can
show while no video data is available. The attribute, if present,
- must contain a <a href=#valid-non-empty-url>valid non-empty URL</a>. <span class=impl>If the specified resource is to be used, then, when the
- element is created or when the <code title=attr-video-poster><a href=#attr-video-poster>poster</a></code> attribute is set, if its
+ must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>. <span class=impl>If the specified resource is to be
+ used, then, when the element is created or when the <code title=attr-video-poster><a href=#attr-video-poster>poster</a></code> attribute is set, if its
value is not the empty string, its value must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element, and
if that is successful, the resulting <a href=#absolute-url>absolute URL</a> must
be <a href=#fetch title=fetch>fetched</a>, from the element's
@@ -23157,8 +23173,8 @@
<p>The <dfn id=attr-source-src title=attr-source-src><code>src</code></dfn> attribute
gives the address of the <a href=#media-resource>media resource</a>. The value must
- be a <a href=#valid-non-empty-url>valid non-empty URL</a>. This attribute must be
- present.</p>
+ be a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>. This attribute must be present.</p>
<p>The <dfn id=attr-source-type title=attr-source-type><code>type</code></dfn>
attribute gives the type of the <a href=#media-resource>media resource</a>, to help
@@ -23515,8 +23531,8 @@
<p>The <dfn id=attr-media-src title=attr-media-src><code>src</code></dfn> content
attribute on <a href=#media-element title="media element">media elements</a> gives
the address of the media resource (video, audio) to show. The
- attribute, if present, must contain a <a href=#valid-non-empty-url>valid non-empty
- URL</a>.</p>
+ attribute, if present, must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty
+ URL potentially surrounded by spaces</a>.</p>
<div class=impl>
@@ -34962,13 +34978,15 @@
</div>
<p>The <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-url title="valid
- URL">valid</a> <a href=#absolute-url>absolute URL</a>.</p>
+ specified, must have a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially
+ surrounded by spaces</a> that is also an <a href=#absolute-url>absolute
+ URL</a>.</p>
<div class=impl>
<p><strong>The <a href=#value-sanitization-algorithm>value sanitization algorithm</a> is as
- follows</strong>: <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
+ follows</strong>: <a href=#strip-line-breaks>Strip line breaks</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>, then <a href=#strip-leading-and-trailing-whitespace>strip leading and
+ trailing whitespace</a> from the <a href=#concept-fe-value title=concept-fe-value>value</a>.</p>
<p><strong>Constraint validation</strong>: While the <a href=#concept-fe-value title=concept-fe-value>value</a> of the element is not a <a href=#valid-url title="valid URL">valid</a> <a href=#absolute-url>absolute URL</a>, the
element is <a href=#suffering-from-a-type-mismatch>suffering from a type mismatch</a>.</p>
@@ -37196,9 +37214,9 @@
button</a>.</p>
<hr><p>The image is given by the <dfn id=attr-input-src title=attr-input-src><code>src</code></dfn> attribute. The <code title=attr-input-src><a href=#attr-input-src>src</a></code> attribute must be present, and
- must contain a <a href=#valid-non-empty-url>valid non-empty URL</a> referencing a
- non-interactive, optionally animated, image resource that is neither
- paged nor scripted.</p>
+ must contain a <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a> referencing a non-interactive, optionally animated,
+ image resource that is neither paged nor scripted.</p>
<div class=impl>
@@ -41101,7 +41119,7 @@
<hr><p>The <dfn id=attr-fs-action title=attr-fs-action><code>action</code></dfn> and
<dfn id=attr-fs-formaction title=attr-fs-formaction><code>formaction</code></dfn>
content attributes, if specified, must have a value that is a
- <a href=#valid-url>valid URL</a>.</p>
+ <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by spaces</a>.</p>
<p>The <dfn id=concept-fs-action title=concept-fs-action>action</dfn> of an element is
the value of the element's <code title=attr-fs-formaction><a href=#attr-fs-formaction>formaction</a></code> attribute, if the
@@ -45321,13 +45339,16 @@
<p>The <dfn id=attr-command-icon title=attr-command-icon><code>icon</code></dfn>
attribute gives a picture that represents the command. If the
attribute is specified, the attribute's value must contain a
- <a href=#valid-non-empty-url>valid non-empty URL</a>. <span class=impl>To obtain the
- <a href=#absolute-url>absolute URL</a> of the icon when the attribute's value is
- not the empty string, the attribute's value must be <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element. When
- the attribute is absent, or its value is the empty string, or <a href=#resolve-a-url title="resolve a url">resolving</a> its value fails, there is no
- icon.</span></p> <!-- this is affected by the base URL being
- changed, so users of this should cache the image once they've
- fetched it once, at least until the relative url changes again -->
+ <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>valid non-empty URL potentially surrounded by
+ spaces</a>. <span class=impl>To obtain the <a href=#absolute-url>absolute
+ URL</a> of the icon when the attribute's value is not the empty
+ string, the attribute's value must be <a href=#resolve-a-url title="resolve a
+ url">resolved</a> relative to the element. When the attribute is
+ absent, or its value is the empty string, or <a href=#resolve-a-url title="resolve a
+ url">resolving</a> its value fails, there is no icon.</span></p>
+ <!-- this is affected by the base URL being changed, so users of
+ this should cache the image once they've fetched it once, at least
+ until the relative url changes again -->
<p>The <dfn id=attr-command-disabled title=attr-command-disabled><code>disabled</code></dfn> attribute
is a <a href=#boolean-attribute>boolean attribute</a> that, if present, indicates that
@@ -46651,8 +46672,9 @@
<p>The <dfn id=attr-hyperlink-href title=attr-hyperlink-href><code>href</code></dfn>
attribute on <code><a href=#the-a-element>a</a></code> and <code><a href=#the-area-element>area</a></code> elements must have
- a value that is a <a href=#valid-url>valid URL</a>. This <a href=#url>URL</a> is
- the <i>destination resource</i> of the hyperlink.</p>
+ a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially surrounded by
+ spaces</a>. This <a href=#url>URL</a> is the <i>destination
+ resource</i> of the hyperlink.</p>
<p class=note>The <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code>
attribute on <code><a href=#the-a-element>a</a></code> and <code><a href=#the-area-element>area</a></code> elements is not
@@ -49199,7 +49221,8 @@
Web.</p>
<p>The <code title=attr-itemid><a href=#attr-itemid>itemid</a></code> attribute, if
- specified, must have a value that is a <a href=#valid-url>valid URL</a>.</p>
+ specified, must have a value that is a <a href=#valid-url-potentially-surrounded-by-spaces>valid URL potentially
+ surrounded by spaces</a>.</p>
<p>The <dfn id=global-identifier>global identifier</dfn> of an <a href=#concept-item title=concept-item>item</a> is the value of its element's <code title=attr-itemid><a href=#attr-itemid>itemid</a></code> attribute, if it has one, <a href=#resolve-a-url title="resolve a url">resolved</a> relative to the element on
which the attribute is specified. If the <code title=attr-itemid><a href=#attr-itemid>itemid</a></code> attribute is missing or if
@@ -53969,7 +53992,7 @@
<p>The method has four arguments, though they are all optional.</p>
<p>The first argument, <var title="">url</var>, must be a
- <a href=#valid-url>valid URL</a> for a page to load in the browsing
+ <a href=#valid-non-empty-url>valid non-empty URL</a> for a page to load in the browsing
context. If no arguments are provided, or if the first argument is
the empty string, then the <var title="">url</var> argument defaults
to "<code><a href=#about:blank>about:blank</a></code>". The argument must be <a href=#resolve-a-url title="resolve a url">resolved</a> to an <a href=#absolute-url>absolute
@@ -81131,7 +81154,7 @@
<tr><th> <code title="">action</code>
<td> <code title=attr-fs-action><a href=#attr-fs-action>form</a></code>
<td> <a href=#url>URL</a> to use for <a href=#form-submission>form submission</a>
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">alt</code>
<td> <code title=attr-area-alt><a href=#attr-area-alt>area</a></code>;
<code title=attr-img-alt><a href=#attr-img-alt>img</a></code>;
@@ -81183,7 +81206,7 @@
<code title=attr-mod-cite><a href=#attr-mod-cite>ins</a></code>;
<code title=attr-q-cite><a href=#attr-q-cite>q</a></code>
<td> Link to the source of the quotation or more information about the edit
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">class</code>
<td> <a href=#classes title=attr-class>HTML elements</a>
<td> Classes to which the element belongs
@@ -81221,7 +81244,7 @@
<tr><th> <code title="">data</code>
<td> <code title=attr-object-data><a href=#attr-object-data>object</a></code>
<td> Address of the resource
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">datetime</code>
<td> <code title=attr-mod-datetime><a href=#attr-mod-datetime>del</a></code>;
<code title=attr-mod-datetime><a href=#attr-mod-datetime>ins</a></code>
@@ -81285,7 +81308,7 @@
<td> <code title=attr-fs-formaction><a href=#attr-fs-formaction>button</a></code>;
<code title=attr-fs-formaction><a href=#attr-fs-formaction>input</a></code>
<td> <a href=#url>URL</a> to use for <a href=#form-submission>form submission</a>
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">formenctype</code>
<td> <code title=attr-fs-formenctype><a href=#attr-fs-formenctype>button</a></code>;
<code title=attr-fs-formenctype><a href=#attr-fs-formenctype>input</a></code>
@@ -81333,15 +81356,15 @@
<td> <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>a</a></code>;
<code title=attr-hyperlink-href><a href=#attr-hyperlink-href>area</a></code>
<td> Address of the <a href=#hyperlink>hyperlink</a>
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">href</code>
<td> <code title=attr-link-href><a href=#attr-link-href>link</a></code>
<td> Address of the <a href=#hyperlink>hyperlink</a>
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">href</code>
<td> <code title=attr-base-href><a href=#attr-base-href>base</a></code>
<td> <a href=#document-base-url>Document base URL</a>
- <td> <a href=#valid-url>Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">hreflang</code>
<td> <code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>a</a></code>;
<code title=attr-hyperlink-hreflang><a href=#attr-hyperlink-hreflang>area</a></code>;
@@ -81355,7 +81378,7 @@
<tr><th> <code title="">icon</code>
<td> <code title=attr-command-icon><a href=#attr-command-icon>command</a></code>
<td> Icon for the command
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">id</code>
<td> <a href=#the-id-attribute title=attr-id>HTML elements</a>
<td> The element's <a href=#concept-id title=concept-id>ID</a>
@@ -81368,7 +81391,7 @@
<tr><th> <code title="">itemid</code>
<td> <a href=#attr-itemid title=attr-itemid>HTML elements</a>
<td> <a href=#global-identifier>Global identifier</a> for a microdata item
- <td> <a href=#valid-url title="valid URL">Valid URL</a>
+ <td> <a href=#valid-url-potentially-surrounded-by-spaces>Valid URL potentially surrounded by spaces</a>
<tr><th> <code title="">itemprop</code>
<td> <a href=#names:-the-itemprop-attribute title=attr-itemprop>HTML elements</a>
<td> <a href=#property-names>Property names</a> of a microdata item
@@ -81384,7 +81407,7 @@
<tr><th> <code title="">itemtype</code>
<td> <a href=#attr-itemtype title=attr-itemtype>HTML elements</a>
<td> <a href=#item-type>Item type</a> of a microdata item
- <td> <a href=#absolute-url title="absolute url">Valid absolute URL</a>*
+ <td> <a href=#absolute-url title="absolute URL">Valid absolute URL</a>*
<tr><th> <code title="">keytype</code>
<td> <code title=attr-keygen-keytype><a href=#attr-keygen-keytype>keygen</a></code>
@@ -81417,7 +81440,7 @@
<tr><th> <code title="">manifest</code>
<td> <code title=attr-html-manifest><a href=#attr-html-manifest>html</a></code>
<td> <a href=#concept-appcache-manifest title=concept-appcache-manifest>Application cache manifest</a>
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">max</code>
<td> <code title=attr-input-max><a href=#attr-input-max>input</a></code>
<td> Maximum value
@@ -81519,7 +81542,7 @@
<tr><th> <code title="">poster</code>
<td> <code title=attr-video-poster><a href=#attr-video-poster>video</a></code>
<td> Poster frame to show prior to video playback
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">preload</code>
<td> <code title=attr-media-preload><a href=#attr-media-preload>audio</a></code>;
<code title=attr-media-preload><a href=#attr-media-preload>video</a></code>
@@ -81625,7 +81648,7 @@
<code title=attr-source-src><a href=#attr-source-src>source</a></code>;
<code title=attr-media-src><a href=#attr-media-src>video</a></code>
<td> Address of the resource
- <td> <a href=#valid-non-empty-url>Valid non-empty URL</a>
+ <td> <a href=#valid-non-empty-url-potentially-surrounded-by-spaces>Valid non-empty URL potentially surrounded by spaces</a>
<tr><th> <code title="">srcdoc</code>
<td> <code title=attr-iframe-srcdoc><a href=#attr-iframe-srcdoc>iframe</a></code>
<td> A document to render in the <code><a href=#the-iframe-element>iframe</a></code>
Modified: source
===================================================================
--- source 2010-04-09 04:14:30 UTC (rev 4991)
+++ source 2010-04-12 05:48:33 UTC (rev 4992)
@@ -5111,9 +5111,19 @@
</ul>
- <p>A <span>URL</span> is a <dfn>valid non-empty URL</dfn> if it is a
+ <p>A string is a <dfn>valid non-empty URL</dfn> if it is a
<span>valid URL</span> but it is not the empty string.</p>
+ <p>A string is a <dfn>valid URL potentially surrounded by
+ spaces</dfn> if, after <span title="strip leading and trailing
+ whitespace">stripping leading and trailing whitespace</span> from
+ it, it is a <span>valid URL</span>.</p>
+
+ <p>A string is a <dfn>valid non-empty URL potentially surrounded by
+ spaces</dfn> if, after <span title="strip leading and trailing
+ whitespace">stripping leading and trailing whitespace</span> from
+ it, it is a <span>valid non-empty URL</span>.</p>
+
<div class="impl">
<p>To <dfn>parse a URL</dfn> <var title="">url</var> into its
@@ -11979,7 +11989,8 @@
cache</span> <span
title="concept-appcache-manifest">manifest</span>, if there is
one. If the attribute is present, the attribute's value must be a
- <span>valid non-empty URL</span>.</p>
+ <span>valid non-empty URL potentially surrounded by
+ spaces</span>.</p>
<p>The <code title="attr-html-manifest">manifest</code> attribute
only <span title="concept-appcache-init">has an effect</span> during
@@ -12208,7 +12219,8 @@
title="attr-base-target">target</code> attribute, or both.</p>
<p>The <dfn title="attr-base-href"><code>href</code></dfn> content
- attribute, if specified, must contain a <span>valid URL</span>.</p>
+ attribute, if specified, must contain a <span>valid URL potentially
+ surrounded by spaces</span>.</p>
<p>A <code>base</code> element, if it has an <code
title="attr-base-href">href</code> attribute, must come before any
@@ -12322,8 +12334,8 @@
<p>The destination of the link(s) is given by the <dfn
title="attr-link-href"><code>href</code></dfn> attribute, which must
- be present and must contain a <span>valid non-empty
- URL</span>. <span class="impl">If the <code
+ be present and must contain a <span>valid non-empty URL potentially
+ surrounded by spaces</span>. <span class="impl">If the <code
title="attr-link-href">href</code> attribute is absent, then the
element does not define a link.</span></p>
@@ -14233,13 +14245,13 @@
<p>The <dfn title="attr-script-src"><code>src</code></dfn>
attribute, if specified, gives the address of the external script
resource to use. The value of the attribute must be a <span>valid
- non-empty URL</span> identifying a script resource of the type given
- by the <code title="attr-script-type">type</code> attribute, if the
- attribute is present, or of the type "<code
- title="">text/javascript</code>", if the attribute is absent. A
- resource is a script resource of a given type if that type
- identifies a scripting language and the resource conforms with the
- requirements of that language's specification.</p>
+ non-empty URL potentially surrounded by spaces</span> identifying a
+ script resource of the type given by the <code
+ title="attr-script-type">type</code> attribute, if the attribute is
+ present, or of the type "<code title="">text/javascript</code>", if
+ the attribute is absent. A resource is a script resource of a given
+ type if that type identifies a scripting language and the resource
+ conforms with the requirements of that language's specification.</p>
<p>The <dfn title="attr-script-charset"><code>charset</code></dfn>
attribute gives the character encoding of the external script
@@ -17226,11 +17238,11 @@
attribute.</p>
<p>If the <code title="attr-blockquote-cite">cite</code> attribute
- is present, it must be a <span>valid URL</span>. <span
- class="impl">To obtain the corresponding citation link, the value of
- the attribute must be <span title="resolve a url">resolved</span>
- relative to the element. User agents should allow users to follow
- such citation links.</span></p>
+ is present, it must be a <span>valid URL potentially surrounded by
+ spaces</span>. <span class="impl">To obtain the corresponding
+ citation link, the value of the attribute must be <span
+ title="resolve a url">resolved</span> relative to the element. User
+ agents should allow users to follow such citation links.</span></p>
<div class="impl">
@@ -18692,11 +18704,11 @@
screenplay.</p>
<p>If the <code title="attr-q-cite">cite</code> attribute is
- present, it must be a <span>valid URL</span>. <span class="impl">To
- obtain the corresponding citation link, the value of the attribute
- must be <span title="resolve a url">resolved</span> relative to the
- element. User agents should allow users to follow such citation
- links.</span></p>
+ present, it must be a <span>valid URL potentially surrounded by
+ spaces</span>. <span class="impl">To obtain the corresponding
+ citation link, the value of the attribute must be <span
+ title="resolve a url">resolved</span> relative to the element. User
+ agents should allow users to follow such citation links.</span></p>
<p>The <code>q</code> element must not be used in place of quotation
marks that do not represent quotes; for example, it is inappropriate
@@ -20523,11 +20535,12 @@
change.</p>
<p>If the <code title="attr-mod-cite">cite</code> attribute is
- present, it must be a <span>valid URL</span> that explains the
- change. <span class="impl">To obtain the corresponding citation
- link, the value of the attribute must be <span title="resolve a
- url">resolved</span> relative to the element. User agents should
- allow users to follow such citation links.</span></p>
+ present, it must be a <span>valid URL potentially surrounded by
+ spaces</span> that explains the change. <span class="impl">To obtain
+ the corresponding citation link, the value of the attribute must be
+ <span title="resolve a url">resolved</span> relative to the
+ element. User agents should allow users to follow such citation
+ links.</span></p>
<p>The <dfn title="attr-mod-datetime"><code>datetime</code></dfn>
@@ -20761,9 +20774,10 @@
<code>img</code> element's <span>fallback content</span>.</p>
<p>The <code title="attr-img-src">src</code> attribute must be
- present, and must contain a <span>valid non-empty URL</span>
- referencing a non-interactive, optionally animated, image resource
- that is neither paged nor scripted.</p>
+ present, and must contain a <span>valid non-empty URL potentially
+ surrounded by spaces</span> referencing a non-interactive,
+ optionally animated, image resource that is neither paged nor
+ scripted.</p>
<p class="note">Images can thus be static bitmaps (e.g. PNGs, GIFs,
JPEGs), single-page vector documents (single-page PDFs, XML files
@@ -22290,7 +22304,8 @@
<p>The <dfn title="attr-iframe-src"><code>src</code></dfn> attribute
gives the address of a page that the <span>nested browsing
context</span> is to contain. The attribute, if present, must be a
- <span>valid non-empty URL</span>.</p>
+ <span>valid non-empty URL potentially surrounded by
+ spaces</span>.</p>
<p>The <dfn title="attr-iframe-srcdoc"><code>srcdoc</code></dfn>
attribute gives the content of the page that the <span>nested
@@ -23201,7 +23216,8 @@
<p>The <dfn title="attr-embed-src"><code>src</code></dfn> attribute
gives the address of the resource being embedded. The attribute, if
- present, must contain a <span>valid non-empty URL</span>.</p>
+ present, must contain a <span>valid non-empty URL potentially
+ surrounded by spaces</span>.</p>
<p>The <dfn title="attr-embed-type"><code>type</code></dfn>
attribute, if present, gives the <span>MIME type</span> by which the
@@ -23535,7 +23551,7 @@
<p>The <dfn title="attr-object-data"><code>data</code></dfn>
attribute, if present, specifies the address of the resource. If
present, the attribute must be a <span>valid non-empty
- URL</span>.</p>
+ URL potentially surrounded by spaces</span>.</p>
<p>The <dfn title="attr-object-type"><code>type</code></dfn>
attribute, if present, specifies the type of the resource. If
@@ -24426,9 +24442,9 @@
<p>The <dfn title="attr-video-poster"><code>poster</code></dfn>
attribute gives the address of an image file that the user agent can
show while no video data is available. The attribute, if present,
- must contain a <span>valid non-empty URL</span>. <span
- class="impl">If the specified resource is to be used, then, when the
- element is created or when the <code
+ must contain a <span>valid non-empty URL potentially surrounded by
+ spaces</span>. <span class="impl">If the specified resource is to be
+ used, then, when the element is created or when the <code
title="attr-video-poster">poster</code> attribute is set, if its
value is not the empty string, its value must be <span
title="resolve a url">resolved</span> relative to the element, and
@@ -24874,8 +24890,8 @@
<p>The <dfn title="attr-source-src"><code>src</code></dfn> attribute
gives the address of the <span>media resource</span>. The value must
- be a <span>valid non-empty URL</span>. This attribute must be
- present.</p>
+ be a <span>valid non-empty URL potentially surrounded by
+ spaces</span>. This attribute must be present.</p>
<p>The <dfn title="attr-source-type"><code>type</code></dfn>
attribute gives the type of the <span>media resource</span>, to help
@@ -25270,7 +25286,7 @@
attribute on <span title="media element">media elements</span> gives
the address of the media resource (video, audio) to show. The
attribute, if present, must contain a <span>valid non-empty
- URL</span>.</p>
+ URL potentially surrounded by spaces</span>.</p>
<div class="impl">
@@ -38770,13 +38786,16 @@
</div>
<p>The <code title="attr-input-value">value</code> attribute, if
- specified, must have a value that is a <span title="valid
- URL">valid</span> <span>absolute URL</span>.</p>
+ specified, must have a value that is a <span>valid URL potentially
+ surrounded by spaces</span> that is also an <span>absolute
+ URL</span>.</p>
<div class="impl">
<p><strong>The <span>value sanitization algorithm</span> is as
follows</strong>: <span>Strip line breaks</span> from the <span
+ title="concept-fe-value">value</span>, then <span>strip leading and
+ trailing whitespace</span> from the <span
title="concept-fe-value">value</span>.</p>
<p><strong>Constraint validation</strong>: While the <span
@@ -41269,9 +41288,9 @@
<p>The image is given by the <dfn
title="attr-input-src"><code>src</code></dfn> attribute. The <code
title="attr-input-src">src</code> attribute must be present, and
- must contain a <span>valid non-empty URL</span> referencing a
- non-interactive, optionally animated, image resource that is neither
- paged nor scripted.</p>
+ must contain a <span>valid non-empty URL potentially surrounded by
+ spaces</span> referencing a non-interactive, optionally animated,
+ image resource that is neither paged nor scripted.</p>
<div class="impl">
@@ -45886,7 +45905,7 @@
<p>The <dfn title="attr-fs-action"><code>action</code></dfn> and
<dfn title="attr-fs-formaction"><code>formaction</code></dfn>
content attributes, if specified, must have a value that is a
- <span>valid URL</span>.</p>
+ <span>valid URL potentially surrounded by spaces</span>.</p>
<p>The <dfn title="concept-fs-action">action</dfn> of an element is
the value of the element's <code
@@ -50448,15 +50467,16 @@
<p>The <dfn title="attr-command-icon"><code>icon</code></dfn>
attribute gives a picture that represents the command. If the
attribute is specified, the attribute's value must contain a
- <span>valid non-empty URL</span>. <span class="impl">To obtain the
- <span>absolute URL</span> of the icon when the attribute's value is
- not the empty string, the attribute's value must be <span
- title="resolve a url">resolved</span> relative to the element. When
- the attribute is absent, or its value is the empty string, or <span
- title="resolve a url">resolving</span> its value fails, there is no
- icon.</span></p> <!-- this is affected by the base URL being
- changed, so users of this should cache the image once they've
- fetched it once, at least until the relative url changes again -->
+ <span>valid non-empty URL potentially surrounded by
+ spaces</span>. <span class="impl">To obtain the <span>absolute
+ URL</span> of the icon when the attribute's value is not the empty
+ string, the attribute's value must be <span title="resolve a
+ url">resolved</span> relative to the element. When the attribute is
+ absent, or its value is the empty string, or <span title="resolve a
+ url">resolving</span> its value fails, there is no icon.</span></p>
+ <!-- this is affected by the base URL being changed, so users of
+ this should cache the image once they've fetched it once, at least
+ until the relative url changes again -->
<p>The <dfn
title="attr-command-disabled"><code>disabled</code></dfn> attribute
@@ -51978,8 +51998,9 @@
<p>The <dfn title="attr-hyperlink-href"><code>href</code></dfn>
attribute on <code>a</code> and <code>area</code> elements must have
- a value that is a <span>valid URL</span>. This <span>URL</span> is
- the <i>destination resource</i> of the hyperlink.</p>
+ a value that is a <span>valid URL potentially surrounded by
+ spaces</span>. This <span>URL</span> is the <i>destination
+ resource</i> of the hyperlink.</p>
<p class="note">The <code title="attr-hyperlink-href">href</code>
attribute on <code>a</code> and <code>area</code> elements is not
@@ -54919,7 +54940,8 @@
Web.</p>
<p>The <code title="attr-itemid">itemid</code> attribute, if
- specified, must have a value that is a <span>valid URL</span>.</p>
+ specified, must have a value that is a <span>valid URL potentially
+ surrounded by spaces</span>.</p>
<p>The <dfn>global identifier</dfn> of an <span
title="concept-item">item</span> is the value of its element's <code
@@ -60801,7 +60823,7 @@
<p>The method has four arguments, though they are all optional.</p>
<p>The first argument, <var title="">url</var>, must be a
- <span>valid URL</span> for a page to load in the browsing
+ <span>valid non-empty URL</span> for a page to load in the browsing
context. If no arguments are provided, or if the first argument is
the empty string, then the <var title="">url</var> argument defaults
to "<code>about:blank</code>". The argument must be <span
@@ -100264,7 +100286,7 @@
<th> <code title="">action</code>
<td> <code title="attr-fs-action">form</code>
<td> <span>URL</span> to use for <span>form submission</span>
- <td> <span>Valid URL</span>
+ <td> <span>Valid URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">alt</code>
<td> <code title="attr-area-alt">area</code>;
@@ -100326,7 +100348,7 @@
<code title="attr-mod-cite">ins</code>;
<code title="attr-q-cite">q</code>
<td> Link to the source of the quotation or more information about the edit
- <td> <span>Valid URL</span>
+ <td> <span>Valid URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">class</code>
<td> <span title="attr-class">HTML elements</span>
@@ -100373,7 +100395,7 @@
<th> <code title="">data</code>
<td> <code title="attr-object-data">object</code>
<td> Address of the resource
- <td> <span>Valid non-empty URL</span>
+ <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">datetime</code>
<td> <code title="attr-mod-datetime">del</code>;
@@ -100448,7 +100470,7 @@
<td> <code title="attr-fs-formaction">button</code>;
<code title="attr-fs-formaction">input</code>
<td> <span>URL</span> to use for <span>form submission</span>
- <td> <span>Valid URL</span>
+ <td> <span>Valid URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">formenctype</code>
<td> <code title="attr-fs-formenctype">button</code>;
@@ -100505,17 +100527,17 @@
<td> <code title="attr-hyperlink-href">a</code>;
<code title="attr-hyperlink-href">area</code>
<td> Address of the <span>hyperlink</span>
- <td> <span>Valid URL</span>
+ <td> <span>Valid URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">href</code>
<td> <code title="attr-link-href">link</code>
<td> Address of the <span>hyperlink</span>
- <td> <span>Valid non-empty URL</span>
+ <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">href</code>
<td> <code title="attr-base-href">base</code>
<td> <span>Document base URL</span>
- <td> <span>Valid URL</span>
+ <td> <span>Valid URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">hreflang</code>
<td> <code title="attr-hyperlink-hreflang">a</code>;
@@ -100532,7 +100554,7 @@
<th> <code title="">icon</code>
<td> <code title="attr-command-icon">command</code>
<td> Icon for the command
- <td> <span>Valid non-empty URL</span>
+ <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">id</code>
<td> <span title="attr-id">HTML elements</span>
@@ -100548,7 +100570,7 @@
<th> <code title="">itemid</code>
<td> <span title="attr-itemid">HTML elements</span>
<td> <span>Global identifier</span> for a microdata item
- <td> <span title="valid URL">Valid URL</span>
+ <td> <span>Valid URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">itemprop</code>
<td> <span title="attr-itemprop">HTML elements</span>
@@ -100568,7 +100590,7 @@
<th> <code title="">itemtype</code>
<td> <span title="attr-itemtype">HTML elements</span>
<td> <span>Item type</span> of a microdata item
- <td> <span title="absolute url">Valid absolute URL</span>*
+ <td> <span title="absolute URL">Valid absolute URL</span>*
<!--START w3c-html-->
<tr>
<th> <code title="">keytype</code>
@@ -100608,7 +100630,7 @@
<th> <code title="">manifest</code>
<td> <code title="attr-html-manifest">html</code>
<td> <span title="concept-appcache-manifest">Application cache manifest</span>
- <td> <span>Valid non-empty URL</span>
+ <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">max</code>
<td> <code title="attr-input-max">input</code>
@@ -100731,7 +100753,7 @@
<th> <code title="">poster</code>
<td> <code title="attr-video-poster">video</code>
<td> Poster frame to show prior to video playback
- <td> <span>Valid non-empty URL</span>
+ <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">preload</code>
<td> <code title="attr-media-preload">audio</code>;
@@ -100857,7 +100879,7 @@
<code title="attr-source-src">source</code>;
<code title="attr-media-src">video</code>
<td> Address of the resource
- <td> <span>Valid non-empty URL</span>
+ <td> <span>Valid non-empty URL potentially surrounded by spaces</span>
<tr>
<th> <code title="">srcdoc</code>
<td> <code title="attr-iframe-srcdoc">iframe</code>
More information about the Commit-Watchers
mailing list