Bug 261439 - Avoid computing outlineBoundsForRepaint when we can
Summary: Avoid computing outlineBoundsForRepaint when we can
Status: RESOLVED DUPLICATE of bug 265761
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-11 15:39 PDT by Simon Fraser (smfr)
Modified: 2023-12-12 11:43 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2023-09-11 15:39:39 PDT
Ever since https://commits.webkit.org/16814@main we've tracked two repaint rects per layer: the clippedOverflowRect, and the outlineBounds.

outlineBounds is simply the border box, inflated (incorrectly) for outline and box-shadow, converted to absolute coordinates.
clippedOverflowRect is the visual overflow rect, clipped by ancestors and mapped to absolute coordinates.

Now that outlines contribute to visual overflow, there should be no need for outlineBounds repaints.
Comment 1 Radar WebKit Bug Importer 2023-09-18 15:40:13 PDT
<rdar://problem/115683234>
Comment 2 Anne van Kesteren 2023-12-12 09:28:47 PST
This seems similar to bug 175070.
Comment 3 Simon Fraser (smfr) 2023-12-12 11:43:29 PST
Fixed via 265761.

*** This bug has been marked as a duplicate of bug 265761 ***