Bug 265761

Summary: When repainting after layout, compute the outline bounds in the same pass as the clipped overflow rect
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, hyatt, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2023-12-03 12:36:06 PST
Currently repaints originating in RenderElement::repaintAfterLayoutIfNeeded() are computing using two rectangles: the clippedOverflowRect, and the outlineBoundsForRepaint. These are computed in two separate ancestor traversals, but we can make things more efficient by computing them at the same time.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-12-03 12:36:22 PST
Simon Fraser (smfr)
Comment 2 2023-12-03 12:50:51 PST
EWS
Comment 3 2023-12-04 11:20:24 PST
Committed 271495@main (b088578e1f36): <https://commits.webkit.org/271495@main> Reviewed commits have been landed. Closing PR #21241 and removing active labels.
Simon Fraser (smfr)
Comment 4 2023-12-12 11:43:29 PST
*** Bug 261439 has been marked as a duplicate of this bug. ***
Simon Fraser (smfr)
Comment 5 2023-12-12 11:43:51 PST
*** Bug 175070 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.