Bug 261439
Summary: | Avoid computing outlineBoundsForRepaint when we can | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | annevk, bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Local Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Simon Fraser (smfr)
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/115683234>
Anne van Kesteren
This seems similar to bug 175070.
Simon Fraser (smfr)
Fixed via 265761.
*** This bug has been marked as a duplicate of bug 265761 ***