Bug 144037

Summary: Avoid doing work when StyleDifference is StyleDifferenceEqual
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt, kling, koivisto, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 144198    
Bug Blocks:    

Description Simon Fraser (smfr) 2015-04-21 21:30:17 PDT
We do work in RenderElement::setStyle(), and the various implementations of styleDidChange() when the style is known to be unchanged. I think we can avoid doing a lot of that work.

Maybe we should short-circuit for the SyntheticStyleChange case that only exists to trigger compositing updates.
Comment 1 Simon Fraser (smfr) 2015-05-01 15:35:52 PDT
This was fixed in r183461