Closed Bug 1775074 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 34497 - Pre-paint: OOF within monolithic content is contained normally.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Morten Stenshorne <mstensho@chromium.org> wrote:

Pre-paint: OOF within monolithic content is contained normally.

If an out-of-flow fragment is contained within monolithic content, its
containing fragment is simply the parent fragment, just as if there's no
block fragmentation involved at all.

It's only when the containing block of the OOF participates in block
fragmentation, that things are special - the containing fragment is then
the nearest fragmentainer, not the fragment of the actual CSS containing
block.

Only set the new containing fragment when entering monolithic content;
keep the other info, such as fragmentainer index. The fragmentainer
index is needed in order to store a unique fragment ID in FragmentData
for the cloned fragments generated for repeated content, such as table
headers and footers during block fragmentation.

Bug: 1078927, 1336634, 1327969
Change-Id: Ie73a5328e6ccc65f2625742e3147b9a6af533769

Reviewed-on: https://chromium-review.googlesource.com/3714109
WPT-Export-Revision: 0c71750db9d166cc35612f75f41f93d558a3101f

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 2 tests

Status Summary

Firefox

PASS: 1
FAIL: 1

Chrome

FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/98289f10d36f [wpt PR 34497] - Pre-paint: OOF within monolithic content is contained normally., a=testonly https://hg.mozilla.org/integration/autoland/rev/7415ed0255b5 [wpt PR 34497] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.