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.
<rdar://problem/115683234>
This seems similar to bug 175070.
Fixed via 265761. *** This bug has been marked as a duplicate of bug 265761 ***