WebKit Bugzilla
New
Browse
Log In
×
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 258967
ShouldPaintUsingCompositeCopy feature is not stable with respect to layouts, resizes or similar
https://bugs.webkit.org/show_bug.cgi?id=258967
Summary
ShouldPaintUsingCompositeCopy feature is not stable with respect to layouts, ...
Kimmo Kinnunen
Reported
2023-07-07 04:50:26 PDT
Somehow on resizing and bringing up the print dialog, possibly just doing layout, the m_subpixelOffsetFromRenderer gets a small value such as ~0.18. This causes the optimization to be lost, because contentsBox "moves" away from the origo, even though in practice it does not. auto contents = contentsBox(); if (contents.location() != LayoutPoint(0, 0)) return false; E.g. repro case like: load page canvas gets the optimization resize canvas does not get the optimization reload canvas gets the optimization
Attachments
proposal for LayoutTests/compositing/canvas/
(1.77 KB, text/html)
2023-07-07 04:52 PDT
,
Kimmo Kinnunen
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-07-07 04:50:36 PDT
<
rdar://problem/111902075
>
Kimmo Kinnunen
Comment 2
2023-07-07 04:52:13 PDT
Created
attachment 466970
[details]
proposal for LayoutTests/compositing/canvas/ resize/print this and add debug print to inspect whether the canvas is painted with Copy or SourceOver
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