Bug 134828 - Partition the CSS rules based on the most specific filter of the rightmost fragment
Summary: Partition the CSS rules based on the most specific filter of the rightmost fr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-11 01:39 PDT by Benjamin Poulain
Modified: 2014-07-11 22:09 PDT (History)
8 users (show)

See Also:


Attachments
Patch (14.25 KB, patch)
2014-07-11 01:49 PDT, Benjamin Poulain
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>