Bug 134828

Summary: Partition the CSS rules based on the most specific filter of the rightmost fragment
Product: WebKit Reporter: Benjamin Poulain <benjamin>
Component: New BugsAssignee: Benjamin Poulain <benjamin>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, glenn, gyuyoung.kim, kling, koivisto, macpherson, menard
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch kling: review+

Description Benjamin Poulain 2014-07-11 01:39:15 PDT
Partition the CSS rules based on the most specific filter of the rightmost fragment
Comment 1 Benjamin Poulain 2014-07-11 01:49:13 PDT
Created attachment 234748 [details]
Patch
Comment 2 Andreas Kling 2014-07-11 16:27:33 PDT
Comment on attachment 234748 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=234748&action=review

Pretty clever! r=me

> Source/WebCore/css/RuleSet.cpp:218
> +            } else {

This should be else if (classBucketSize)... since a completely empty class bucket is strongly preferable.
Comment 3 Benjamin Poulain 2014-07-11 22:09:25 PDT
Committed r171020: <http://trac.webkit.org/changeset/171020>