W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2010

hixie: Allow spaces around URLs in most attributes (not itemtype or xmlns). Require that UAs strip spaces around <input type=url value> URLs. (whatwg r4992)

From: poot <cvsmail@w3.org>
Date: Mon, 12 Apr 2010 14:48:56 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20100412054857.32F602BCA5@toro.w3.mag.keio.ac.jp>
hixie: Allow spaces around URLs in most attributes (not itemtype or
xmlns). Require that UAs strip spaces around <input type=url value>
URLs. (whatwg r4992)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4009&r2=1.4010&f=h
http://html5.org/tools/web-apps-tracker?from=4991&to=4992

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4009
retrieving revision 1.4010
diff -u -d -r1.4009 -r1.4010
--- Overview.html	9 Apr 2010 04:14:35 -0000	1.4009
+++ Overview.html	12 Apr 2010 05:48:38 -0000	1.4010
@@ -285,7 +285,7 @@
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
 
-   <h2 class="no-num no-toc" id="editor-s-draft-9-april-2010">Editor's Draft 9 April 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-12-april-2010">Editor's Draft 12 April 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -392,7 +392,7 @@
   specification's progress along the W3C Recommendation
   track.
 
-  This specification is the 9 April 2010 Editor's Draft.
+  This specification is the 12 April 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>The contents of this specification are also part of <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/">a
   specification</a> published by the <a href="http://www.whatwg.org/">WHATWG</a>, which is available under a
   license that permits reuse of the specification text.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -4864,8 +4864,14 @@
    <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
-  <a href="#valid-url">valid URL</a> but it is not the empty string.<div class="impl">
+  </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>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>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>.<div class="impl">
 
   <p>To <dfn id="parse-a-url">parse a URL</dfn> <var title="">url</var> into its
   component parts, the user agent must use the <span class="XXX">parse
@@ -10024,7 +10030,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>The <code title="attr-html-manifest"><a href="#attr-html-manifest">manifest</a></code> attribute
+  <a href="#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially surrounded by
+  spaces</a>.<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
   the early stages of document load. Changing the attribute
   dynamically thus has no effect (and thus, no DOM API is provided for
@@ -10184,7 +10191,8 @@
   <a href="#following-hyperlinks">following hyperlinks</a>. The element does not <a href="#represents" title="represents">represent</a> any content beyond this
   information.<p>There must be no more than one <code><a href="#the-base-element">base</a></code> element per
   document.<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>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>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
+  attribute, if specified, must contain a <a href="#valid-url-potentially-surrounded-by-spaces">valid URL potentially
+  surrounded by spaces</a>.<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
   <a href="#url" title="URL">URLs</a>, except the <code><a href="#the-html-element-0">html</a></code> element
   (its <code title="attr-html-manifest"><a href="#attr-html-manifest">manifest</a></code> attribute
@@ -10258,8 +10266,8 @@
    </dd>
   </dl><p>The <code><a href="#the-link-element">link</a></code> element allows authors to link their
   document to other resources.<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>A <code><a href="#the-link-element">link</a></code> element must have <code title="attr-link-rel"><a href="#attr-link-rel">rel</a></code> attribute.<p>The types of link indicated (the relationships) are given by the
   value of the <dfn id="attr-link-rel" title="attr-link-rel"><code>rel</code></dfn>
   attribute, which, if present, must have a value that is a <a href="#set-of-space-separated-tokens">set
@@ -11687,13 +11695,13 @@
   specified. The default, which is used if the attribute is absent,
   is "<code title="">text/javascript</code>".<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>The <dfn id="attr-script-charset" title="attr-script-charset"><code>charset</code></dfn>
+  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>The <dfn id="attr-script-charset" title="attr-script-charset"><code>charset</code></dfn>
   attribute gives the character encoding of the external script
   resource. The attribute must not be specified if the <code title="attr-script-src"><a href="#attr-script-src">src</a></code> attribute is not present. If the
   attribute is set, its value must be a valid character encoding name,
@@ -14105,10 +14113,10 @@
   another source, whose address, if it has one, should be cited in the
   <dfn id="attr-blockquote-cite" title="attr-blockquote-cite"><code>cite</code></dfn>
   attribute.<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><div class="impl">
+  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><div class="impl">
 
   <p>The <dfn id="dom-quote-cite" title="dom-quote-cite"><code>cite</code></dfn> IDL
   attribute must <a href="#reflect">reflect</a> the element's <code title="">cite</code> content attribute.</p>
@@ -15226,11 +15234,10 @@
   <dfn id="attr-q-cite" title="attr-q-cite"><code>cite</code></dfn> attribute. The
   source may be fictional, as when quoting characters in a novel or
   screenplay.<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>The <code><a href="#the-q-element">q</a></code> element must not be used in place of quotation
+  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>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
   to use the <code><a href="#the-q-element">q</a></code> element for marking up sarcastic
   statements.<p>The use of <code><a href="#the-q-element">q</a></code> elements to mark up quotations is
@@ -16573,11 +16580,12 @@
   meeting, authors are encouraged to include a fragment identifier
   pointing to the specific part of that document that discusses the
   change.<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>The <dfn id="attr-mod-datetime" title="attr-mod-datetime"><code>datetime</code></dfn>
+  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>The <dfn id="attr-mod-datetime" title="attr-mod-datetime"><code>datetime</code></dfn>
   attribute may be used to specify the time and date of the change.<p>If present, the <code title="attr-mod-datetime"><a href="#attr-mod-datetime">datetime</a></code>
   attribute must be a <a href="#valid-global-date-and-time-string">valid global date and time string</a>
   value.<div class="impl">
@@ -16738,9 +16746,10 @@
   --><p>The image given by the <dfn id="attr-img-src" title="attr-img-src"><code>src</code></dfn> attribute is the
   embedded content, and the value of the <dfn id="attr-img-alt" title="attr-img-alt"><code>alt</code></dfn> attribute is the
   <code><a href="#the-img-element">img</a></code> element's <a href="#fallback-content">fallback content</a>.<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 class="note">Images can thus be static bitmaps (e.g. PNGs, GIFs,
+  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 class="note">Images can thus be static bitmaps (e.g. PNGs, GIFs,
   JPEGs), single-page vector documents (single-page PDFs, XML files
   with an SVG root element), animated bitmaps (APNGs, animated GIFs),
   animated vector graphics (XML files with an SVG root element that
@@ -17971,7 +17980,8 @@
   <a href="#nested-browsing-context">nested browsing context</a>.<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>The <dfn id="attr-iframe-srcdoc" title="attr-iframe-srcdoc"><code>srcdoc</code></dfn>
+  <a href="#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially surrounded by
+  spaces</a>.<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
   browsing context</a> is to contain.  The value of the attribute
   in is <dfn id="an-iframe-srcdoc-document">an <code>iframe</code> <code title="attr-iframe-srcdoc">srcdoc</code> document</dfn>.<p>For <code><a href="#the-iframe-element">iframe</a></code> elements in <a href="#html-documents">HTML documents</a>,
@@ -18699,7 +18709,8 @@
   integration point for an external (typically non-HTML) application
   or interactive content.<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>The <dfn id="attr-embed-type" title="attr-embed-type"><code>type</code></dfn>
+  present, must contain a <a href="#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially
+  surrounded by spaces</a>.<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
   plugin to instantiate is selected. The value must be a <a href="#valid-mime-type">valid
   MIME type</a>. If both the <code title="attr-embed-type"><a href="#attr-embed-type">type</a></code> attribute and the <code title="attr-embed-src"><a href="#attr-embed-src">src</a></code> attribute are present, then the
@@ -18961,8 +18972,8 @@
   or as an external resource to be processed by a
   <a href="#plugin">plugin</a>.<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>The <dfn id="attr-object-type" title="attr-object-type"><code>type</code></dfn>
+  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>The <dfn id="attr-object-type" title="attr-object-type"><code>type</code></dfn>
   attribute, if present, specifies the type of the resource. If
   present, the attribute must be a <a href="#valid-mime-type">valid MIME type</a>.<p>At least one of either the <code title="attr-object-data"><a href="#attr-object-data">data</a></code> attribute or the <code title="attr-object-type"><a href="#attr-object-type">type</a></code> attribute must be present.<p>The <dfn id="attr-object-name" title="attr-object-name"><code>name</code></dfn>
   attribute, if present, must be a <a href="#valid-browsing-context-name">valid browsing context
@@ -19706,8 +19717,9 @@
   elements</a>.<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
@@ -20048,8 +20060,8 @@
   resources</a> for <a href="#media-element" title="media element">media
   elements</a>. It does not <a href="#represents" title="represents">represent</a> anything on its own.<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>The <dfn id="attr-source-type" title="attr-source-type"><code>type</code></dfn>
+  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>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
   the user agent determine if it can play this <a href="#media-resource">media
   resource</a> before fetching it. If specified, its value must be
@@ -20362,8 +20374,8 @@
   </dl><h5 id="location-of-the-media-resource"><span class="secno">4.8.9.2 </span>Location of the media resource</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><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>.<div class="impl">
+  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>.<div class="impl">
 
   <p>If a <code title="attr-media-src"><a href="#attr-media-src">src</a></code> attribute of a
   <a href="#media-element">media element</a> is set or changed, the user agent must
@@ -28196,11 +28208,13 @@
   (LF) or U+000D CARRIAGE RETURN (CR) characters into the <a href="#concept-fe-value" title="concept-fe-value">value</a>.</p>
 
   </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>.<div class="impl">
+  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>.<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>
@@ -30110,9 +30124,9 @@
   form. The element is a <a href="#concept-button" title="concept-button">button</a>,
   specifically a <a href="#concept-submit-button" title="concept-submit-button">submit
   button</a>.<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.<div class="impl">
+  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.<div class="impl">
 
   <p>When any of the following events occur, unless the user agent
   cannot support images, or its support for images has been disabled,
@@ -33470,7 +33484,7 @@
   <code><a href="#the-form-element">form</a></code> element.<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>The <dfn id="concept-fs-action" title="concept-fs-action">action</dfn> of an element is
+  <a href="#valid-url-potentially-surrounded-by-spaces">valid URL potentially surrounded by spaces</a>.<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
   element is a <a href="#concept-submit-button" title="concept-submit-button">submit
   button</a> and has such an attribute, or the value of its
@@ -37544,13 +37558,15 @@
   to the user to help him.<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 --><p>The <dfn id="attr-command-disabled" title="attr-command-disabled"><code>disabled</code></dfn> attribute
+  <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
   the command is not available in the current state.<p class="note">The distinction between <code title="attr-command-disabled"><a href="#attr-command-disabled">disabled</a></code> and <code title="attr-hidden"><a href="#the-hidden-attribute">hidden</a></code> is subtle. A command would be
   disabled if, in the same context, it could be enabled if only
@@ -38550,8 +38566,9 @@
   elements can, in certain situations described in the definitions of
   those elements, represent <dfn id="hyperlink" title="hyperlink">hyperlinks</dfn>.<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 class="note">The <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code>
+  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 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
   required; when those elements do not have <code title="attr-hyperlink-href"><a href="#attr-hyperlink-href">href</a></code> attributes they do not
   represent hyperlinks.<p class="note">The <code title="attr-link-href"><a href="#attr-link-href">href</a></code>
@@ -41082,7 +41099,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
@@ -65842,7 +65859,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>;
@@ -65894,7 +65911,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
@@ -65932,7 +65949,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>
@@ -65996,7 +66013,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>
@@ -66044,15 +66061,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>;
@@ -66066,7 +66083,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>
@@ -66106,7 +66123,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
@@ -66201,7 +66218,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>
@@ -66307,7 +66324,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>
Received on Monday, 12 April 2010 05:49:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:18 GMT