[Webkit-unassigned] [Bug 17686] CSS3 Selector Test: negation pseudo-class should only accept simple selectors
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 27 12:43:58 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=17686
webkit at blaut.biz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at hixie.ch
------- Comment #3 from webkit at blaut.biz 2008-03-27 12:43 PDT -------
Some more words on this subject. Regarding attribute selectors, some people can
claim: "Wait a second, "[class="test"]" is really simple selector and notation
:not([class="test"] works as expected in Firefox and Opera and of cause in
Webkit"?
So is a [class="test"] really simple selector? No! Take a look on this fragment
in specification:
"The universal selector, written "asterisk" (*), represents the qualified name
of any element type.[...]
If the universal selector is not the only component of a sequence of simple
selectors, the * may be omitted.
Examples:
*[hreflang|=en] and [hreflang|=en] are equivalent"
[http://www.w3.org/TR/css3-selectors/#universal-selector]
So this case "[class="test"]" is a simplified version of "*[class="test"]" and
it is a sequence of simple selectors. Both cases a logically equal. So in my
opinion, it's absolutely incorrect that this case :not(*[class="test"]) -
which is logically equivalent to :not([class="test"]) - does not work in
Firefox and Opera, .
Take a look at an attached test case.
Ian, you are an editor of CSS3 Selectors specification. what you think about
this issue?
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list