This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 9511 - 4.2.5.1 keywords: strip spaces at separation comma
Summary: 4.2.5.1 keywords: strip spaces at separation comma
Status: CLOSED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: All All
: P4 minor
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-14 00:34 UTC by Nick Levinson
Modified: 2010-10-04 14:47 UTC (History)
4 users (show)

See Also:


Attachments

Description Nick Levinson 2010-04-14 00:34:49 UTC
Re Web Apps. 1.0, Draft Std., Apr. 9, 2010 (as accessed Apr. 11, 2010 (copying of text or URL by browser failed over half hour possibly due to script slowness problem)) (Web Apps 1.0 seems to be functionally the editor's draft of HTML5 that used to be called more like the latter but which I can't find anymore):

In section 4.2.5.1, in the subsection "keywords", the UA should ignore spaces adjacent to a token-separating comma. It is common for authors to type a space after a comma and there's no harm in expecting UA designers to accept this as a norm. Technically, the UA should loop until no token-separating comma has an adjacent space remaining, on either side and regardless of quantity of consecutive spaces.

Thank you.
Comment 1 Ian 'Hixie' Hickson 2010-04-14 06:43:48 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: Can you provide a link to the section you mean? Web Apps 1.0 section 4.2.5.1 is "Standard metadata names" and there is no section titled "keywords" that I can find. The section titled "Keywords and enumerated attributes" doesn't mention commas, and the section that defines the comma-separated list allows spaces around the comma already, so it's presumably not that section either.
Comment 2 Nick Levinson 2010-04-15 02:14:19 UTC
You were almost there; scroll down just a little from the section number. At <http://www.whatwg.org/specs/web-apps/current-work/complete.html#standard-metadata-names>, as accessed Apr. 14, 2010, via "latest editor's working copy" link on <http://www.w3.org/TR/2010/WD-html5-20100304/>, per the table of contents in <http://www.whatwg.org/specs/web-apps/current-work/complete.html>, item "4.2.5.1 Standard metadata names", name "keywords" (tooltip: "meta-keywords"), where it says "The value must be a set of comma-separated tokens, each of which is a keyword relevant to the page." (Web Apps. 1.0, Draft Std., 15 Apr. 2010.) Thanks.
Comment 3 Ian 'Hixie' Hickson 2010-04-15 07:05:16 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: no spec change
Rationale: The term "a set of comma-separated tokens" is defined as allowing spaces around the commas.
Comment 4 Nick Levinson 2010-04-16 00:26:44 UTC
You're right; I missed it (Working Draft, Mar. 4, 2010, section 2.4.8, <http://www.w3.org/TR/2010/WD-html5-20100304/infrastructure.html#comma-separated-tokens>, as accessed Apr. 15, 2010, via http://www.w3.org/TR/2010/WD-html5-20100304/ (Web Apps not checked due to recent slowness)).

Now closing.

Thanks.