- From: <bugzilla@jessica.w3.org>
- Date: Fri, 15 Apr 2011 18:30:45 +0000
- To: public-html@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12508
Summary: Unclear how to handle <link href> when the href value
is only whitespace
Product: HTML WG
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: HTML5 spec (editor: Ian Hickson)
AssignedTo: ian@hixie.ch
ReportedBy: matspal@gmail.com
QAContact: public-html-bugzilla@w3.org
CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
public-html@w3.org
The text <link href> says it "must contain a valid non-empty URL potentially
surrounded by spaces."
Further down in the section on how to "obtain the resource" the first
item in the list says "1. If the href attribute's value is the empty string,
then abort these steps."
http://www.whatwg.org/specs/web-apps/current-work/#attr-link-href
It's not clear when/if the space should be removed from the @href value.
Perhaps you can make the space removal explicit, for example by adding a new
first step in the process to "obtain the resource", like so:
1. Remove leading and trailing space from the href attribute's value
2. If the href attribute's value is the empty string, then abort these steps.
3. ...
(Mozilla bug: https://bugzilla.mozilla.org/show_bug.cgi?id=649134)
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Friday, 15 April 2011 18:30:46 UTC