WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
89748
WebKit allows implied universal selector following CSS namespace
https://bugs.webkit.org/show_bug.cgi?id=89748
Summary
WebKit allows implied universal selector following CSS namespace
James Allardice
Reported
2012-06-22 00:55:46 PDT
Created
attachment 148976
[details]
Basic test case WebKit seems to interpret a namespace followed by a pseudo-class as a namespaced universal selector followed by a pseudo-class: *|:first-child { color: red } /* Works in WebKit, does not work anywhere else */ According to
http://www.w3.org/TR/selectors/
this should not be valid (see the grammar and the following excerpt): If a universal selector represented by * (i.e. without a namespace prefix) is not the only component of a sequence of simple selectors selectors or is immediately followed by a pseudo-element, then the * may be omitted and the universal selector's presence implied. To reproduce, open the attached file in latest Safari or Chrome (the text will appear red) then latest Firefox or Internet Explorer 9 (the text will appear the in the default colour).
Attachments
Basic test case
(272 bytes, text/html)
2012-06-22 00:55 PDT
,
James Allardice
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-13 10:18:28 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug