Closed Bug 1783712 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 35382 - [wpt] Fix break-request tests.

Categories

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

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[wpt] Fix break-request tests.

These tests were presumably written when the flex spec said something
along the lines of:
"when a forced break (via. page-break-before/page-break-after) is
encounted, create a new flex-line".

The spec in this state was overloading the fragmentation properties to
control breaking of flex-lines, and was subsequently updated to refer
to forced breaks when fragmentation was invovled.

These tests don't have any fragmentation involved, and are asserting
incorrect behaviour that breaks should be inserted.

(There is an argument that an additional property/properties should be
introduced to allow for this - but that is a separate issue).

Updated tests to assert to behaviour change in the presence of
page-break-before/page-break-after.

Change-Id: Id3575b5b17173681600ed63cd40c8bb87281113b

Reviewed-on: https://chromium-review.googlesource.com/3813703
WPT-Export-Revision: 682416b13fa5e3299c5dde332138f8c6422e27db

Component: web-platform-tests → Layout: Flexbox
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d27b7adc2a30 [wpt PR 35382] - [wpt] Fix break-request tests., a=testonly https://hg.mozilla.org/integration/autoland/rev/5ebf431621bc [wpt PR 35382] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.