Bug 78199 - Increased style sharing for elements with presentation attributes.
Summary: Increased style sharing for elements with presentation attributes.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 19:52 PST by Andreas Kling
Modified: 2012-02-08 20:41 PST (History)
5 users (show)

See Also:


Attachments
Perhaps a patch (3.72 KB, patch)
2012-02-08 19:56 PST, Andreas Kling
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2012-02-08 19:52:36 PST
Currently we only allow elements that have attributeStyle() to share style with others if they have the exact same attribute map contents. We can be more specific and increase the style sharing hit rate.
Comment 1 Andreas Kling 2012-02-08 19:56:57 PST
Created attachment 126227 [details]
Perhaps a patch
Comment 2 Antti Koivisto 2012-02-08 20:04:18 PST
Comment on attachment 126227 [details]
Perhaps a patch

r=me, could use a comment explaining the ways attributeStylesEqual is not generic.
Comment 3 Andreas Kling 2012-02-08 20:41:30 PST
Committed r107173: <http://trac.webkit.org/changeset/107173>