RESOLVED CONFIGURATION CHANGED Bug 122334
[CSS Shapes] Optimize relayout when shape-outside changes
https://bugs.webkit.org/show_bug.cgi?id=122334
Summary [CSS Shapes] Optimize relayout when shape-outside changes
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.