Summary: | RenderBox::applyVisualEffectOverflow() and RenderBox::outlineBoundsForRepaint() use different ways of computing outline/shadow extent | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=258740 |
Description
Simon Fraser (smfr)
2023-11-10 15:05:00 PST
RenderBox 0x138003430 outlineBoundsForRepaint - outline bounds (-25,-25) width=225 height=574 bigger than visual overflow (-20,-20) width=215 height=564 These should give the same result: applyVisualEffectOverflow(borderBoxRect()) and LayoutRect box = borderBoundingBox(); adjustRectForOutlineAndShadow(box); Pull request: https://github.com/WebKit/WebKit/pull/20961 Committed 271254@main (6aa1f6767674): <https://commits.webkit.org/271254@main> Reviewed commits have been landed. Closing PR #20961 and removing active labels. |