Closed Bug 1774653 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34470 - May need paint invalidation on cache hit inside fragmentation.

Categories

(Core :: Layout: Columns, task, P4)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 34470 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/34470
Details from upstream follow.

Morten Stenshorne <mstensho@chromium.org> wrote:

May need paint invalidation on cache hit inside fragmentation.

When block-fragmented, LayoutBox stores the location in the flow thread
coordinate space, not the actual visual location. This means that we may
miss location changes, if the flow thread offset remains unchanged (e.g.
if the fragmentainer size changes without needing to re-lay out the
object).

Explicitly mark for paint invalidation when a box that participates in
block fragmentation hits the cache.

Bug: 1336180
Change-Id: I66342c80f2e6cb6478eff6f06d103a9a9c8ecd12
Reviewed-on: https://chromium-review.googlesource.com/3706987
WPT-Export-Revision: 1f9eb12b6e790fc2ed06fa4ec4641793ea1b2ac2

Component: web-platform-tests → Layout: Columns
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7ac5d0bfc4c2 [wpt PR 34470] - May need paint invalidation on cache hit inside fragmentation., a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.