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 26560 - Selector case-sensitivity: parentheses after "Everything else" is unclear.
Summary: Selector case-sensitivity: parentheses after "Everything else" is unclear.
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-12 17:01 UTC by Simon Sapin
Modified: 2014-09-12 17:48 UTC (History)
2 users (show)

See Also:


Attachments

Description Simon Sapin 2014-08-12 17:01:36 UTC
http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting.html#selectors currently says:

> Everything else (attribute values on HTML elements, IDs and classes in no-quirks mode and limited-quirks mode, and element names, attribute names, and attribute values in XML documents) must be treated as case-sensitive for the purposes of selector matching.

The implied grouping makes it unclear what the parentheses mean. For examples, attribute values on non-HTML elements in an HTML document seem not to be part of "Everything else", but are not mentioned in the rest of the section either.
Comment 1 contributor 2014-09-12 17:48:48 UTC
Checked in as WHATWG revision r8764.
Check-in comment: Try to clarify case matching rules for selectors
http://html5.org/tools/web-apps-tracker?from=8763&to=8764