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+

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>