Bug 19407 - CSS3 Selector Test: *= ~= ^= $= should all accept the empty string, but match nothing
Summary: CSS3 Selector Test: *= ~= ^= $= should all accept the empty string, but match...
Status: VERIFIED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://disruptive-innovations.com/zoo...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2008-06-06 05:49 PDT by Robert Blaut
Modified: 2008-06-09 14:34 PDT (History)
0 users

See Also:


Attachments
minimal test case (559 bytes, text/html)
2008-06-06 05:50 PDT, Robert Blaut
no flags Details
fix for the bug reflecting the latest CSS WG decision (4.54 KB, patch)
2008-06-06 05:53 PDT, Robert Blaut
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Blaut 2008-06-06 05:49:54 PDT
The issue appeared after decision of CSS WG: http://lists.w3.org/Archives/Public/www-style/2008Apr/0038.html

Attribute Selectors
-------------------

   RESOLVED: Copy attribute selector wording from Selectors into CSS2.1 to
             resolve incompatibility.
   RESOLVED: *= ~= ^= $= all accept the empty string, but match nothing.
             Note that this overrides a previous resolution which stated
             that such attribute selectors are invalid.
   RATIONALE: These selectors are meaningless. This resolution matches
              existing implementations for ~=, which was introduced in
              CSS2.1, and makes *=, ^=, and $=, which were introduced in
              Level 3,
   [note, see also http://lists.w3.org/Archives/Public/www-style/2008Apr/0021.html  which was posted in response to this]
Comment 1 Robert Blaut 2008-06-06 05:50:53 PDT
Created attachment 21525 [details]
minimal test case
Comment 2 Robert Blaut 2008-06-06 05:53:26 PDT
Created attachment 21526 [details]
fix for the bug reflecting the latest CSS WG decision
Comment 3 Darin Adler 2008-06-06 09:21:19 PDT
Comment on attachment 21526 [details]
fix for the bug reflecting the latest CSS WG decision

r=me
Comment 4 Mark Rowe (bdash) 2008-06-06 15:52:21 PDT
Landed in r34409.