Bug 41206

Summary: Specificity of negated selectors apparently miscalculated
Product: WebKit Reporter: Daniel Glazman <daniel>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, daniel, hyatt, simon.fraser, yael
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.6   
URL: http://disruptive-innovations.com/zoo/csswg/specificity-test.html
Attachments:
Description Flags
Patch. simon.fraser: review+

Daniel Glazman
Reported 2010-06-25 03:36:23 PDT
Tested with trunk - Version 5.0 (6533.16, r61783) The test at http://disruptive-innovations.com/zoo/csswg/specificity-test.html should show a green background and not a red one. Too high specificity for :not() ?
Attachments
Patch. (9.02 KB, patch)
2011-01-08 11:46 PST, Yael
simon.fraser: review+
Yael
Comment 1 2011-01-08 11:46:04 PST
Created attachment 78324 [details] Patch. Give negated selectors the specificity of the selector they are negating.
Yael
Comment 2 2011-01-09 13:53:22 PST
(In reply to comment #1) > Created an attachment (id=78324) [details] > Patch. > > Give negated selectors the specificity of the selector they are negating. Based on http://www.w3.org/TR/css3-selectors/#specificity.
Yael
Comment 3 2011-01-10 05:52:02 PST
Note You need to log in before you can comment on or make changes to this bug.