Bug 78199

Summary: Increased style sharing for elements with presentation attributes.
Product: WebKit Reporter: Andreas Kling <kling>
Component: CSSAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, macpherson, menard, rniwa, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Perhaps a patch koivisto: review+

Andreas Kling
Reported 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.
Attachments
Perhaps a patch (3.72 KB, patch)
2012-02-08 19:56 PST, Andreas Kling
koivisto: review+
Andreas Kling
Comment 1 2012-02-08 19:56:57 PST
Created attachment 126227 [details] Perhaps a patch
Antti Koivisto
Comment 2 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.
Andreas Kling
Comment 3 2012-02-08 20:41:30 PST
Note You need to log in before you can comment on or make changes to this bug.