Bug 138336

Summary: When computing the specificity of selectors, use saturated arithmetic per component
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch kling: review+

Description Benjamin Poulain 2014-11-03 17:03:54 PST
When computing the specificity of selectors, use saturated arithmetic per component
Comment 1 Benjamin Poulain 2014-11-03 17:52:10 PST
Created attachment 240890 [details]
Patch
Comment 2 Andreas Kling 2014-11-03 20:40:55 PST
Comment on attachment 240890 [details]
Patch

Beautiful test. r=me
Comment 3 Benjamin Poulain 2014-11-04 13:02:19 PST
Committed r175576: <http://trac.webkit.org/changeset/175576>