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 25599 - Nits about id/class quirk
Summary: Nits about id/class quirk
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: Selectors (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: fantasai
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-08 06:29 UTC by Simon Pieters
Modified: 2014-05-08 06:29 UTC (History)
0 users

See Also:


Attachments

Description Simon Pieters 2014-05-08 06:29:06 UTC
"When matching a selector against a document which is in quirks mode, class and ID selectors must be matched ASCII case-insensitively against the classes and ID of the elements in the document."

* Please xref "quirks mode" (defined in the DOM spec)

* It says to only apply to elements in the document, but should also apply to elements not in the document. This matters for querySelector. http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3011