WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
284351
RepaintRects need to be recomputed when state changes that affects them
https://bugs.webkit.org/show_bug.cgi?id=284351
Summary
RepaintRects need to be recomputed when state changes that affects them
Simon Fraser (smfr)
Reported
2024-12-09 21:11:15 PST
With the PR in
bug 267252
applied, these two tests hit assertions in repaint rect verification (RenderLayer.cpp:1230): imported/blink/fast/hidpi/border-background-align.html printing/iframe-print.html This is because
bug 267252
eliminates a layout that happens when the state of `isPrinting` or deviceScaleFactor changes, so `updateLayerPositions()` doesn't do a full traversal, and we don't recompute new repaint rects. printing/iframe-print.html asserts because the return value of `RenderView::computeVisibleRectsInContainer()` is affecting by printing. imported/blink/fast/hidpi/border-background-align.html asserts because `deviceScaleFactor` affects rect rounding.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-12-09 21:11:23 PST
<
rdar://problem/141198097
>
Simon Fraser (smfr)
Comment 2
2024-12-09 21:16:47 PST
Pull request:
https://github.com/WebKit/WebKit/pull/37688
EWS
Comment 3
2024-12-10 08:55:33 PST
Committed
287607@main
(abd0e960c37b): <
https://commits.webkit.org/287607@main
> Reviewed commits have been landed. Closing PR #37688 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug