Bug 122334

Summary: [CSS Shapes] Optimize relayout when shape-outside changes
Product: WebKit Reporter: Bear Travis <betravis>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 98664    

Bear Travis
Reported 2013-10-04 11:29:32 PDT
The layout code can repeatedly remove a float from the block lists, which is costly. This should be consolidated or short circuited so the heavy lifting is only done once. See RenderElement::styleWillChange, RenderBox::styleWillChange, and RenderBox::styleDidChange. Also, are there cases where removing / adding / changing a shape would not require relayout, and should we optimize for these?
Attachments
Brent Fulgham
Comment 1 2022-07-15 14:29:30 PDT
This code has been significantly refactored since this improvement was proposed. There doesn't seem to be any action we can take here.
Note You need to log in before you can comment on or make changes to this bug.