Closed Bug 1726781 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 30110 - Fix column spanner inline-size:auto issues.

Categories

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

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Morten Stenshorne <mstensho@chromium.org>' wrote:

Fix column spanner inline-size:auto issues.

We weren't setting up the constraint space correctly, since we passed
the writing-mode of the multicol container at a place where we should
have passed that of the spanner.

When a child establishes an orthogonal writing-mode root, we also need
to set up the "orthogonal fall-back inline-size", and this was missing
for spanners.

Finally, we were setting inline-size:auto behavior to "stretch"
unconditionally for spanners, but this is wrong for e.g. replaced
content.

Bug: 1202073, 829028
Change-Id: Idb76a8170b47ad0bf5810aca8c6ea977b45b1b5e
Reviewed-on: https://chromium-review.googlesource.com/3110186
WPT-Export-Revision: d16b39cc7d278664ddf609f5ab0510c982fdccbb

Component: web-platform-tests → Layout: Columns
Product: Testing → Core
Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6c4a6f38e14
[wpt PR 30110] - Fix column spanner inline-size:auto issues., a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.