Closed Bug 1753944 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32713 - Handle parallel flows established inside a block-in-inline.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Morten Stenshorne <mstensho@chromium.org> wrote:

Handle parallel flows established inside a block-in-inline.

If a block inside an inline gets overflowed, this may result in a
parallel flow [1]. We need to treat this separately from the regular
inline content that might follow after the block.

We used to end up resuming a block-in-inline in the same fragmentainer
where it had already broken. This caused both DCHECK failures and
incorrect layout. We need to wait until we get to the next
fragmentainer, before resuming the block-in-inline.

At the same time we need to make sure that regular inline content that
comes after the overflowed block is correctly resumed in the current
fragmentainer.

[1] https://www.w3.org/TR/css-break-3/#parallel-flows

Bug: 1291939
Change-Id: I955693509d8e2743cf53b01ba20bd65ee8a336c5
Reviewed-on: https://chromium-review.googlesource.com/3442958
WPT-Export-Revision: b77cff9facf830e1ee75733d0f860cca844ac326

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

CI Results

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

Total 4 tests

Status Summary

Firefox

PASS: 3
FAIL: 1

Chrome

PASS: 4

Safari

PASS: 4

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/css/css-break/block-in-inline-000.html: FAIL

New Tests That Don't Pass

/css/css-break/block-in-inline-000.html: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bc9026a1a335 [wpt PR 32713] - Handle parallel flows established inside a block-in-inline., a=testonly https://hg.mozilla.org/integration/autoland/rev/3eefb786f951 [wpt PR 32713] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/98aea607d6ea [wpt PR 32713] - Handle parallel flows established inside a block-in-inline., a=testonly https://hg.mozilla.org/integration/autoland/rev/5836ba2a544b [wpt PR 32713] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.