[wpt-sync] Sync PR 54423 - Add `column-height` to `columns` shorthand. Reset `column-wrap`.
Categories
(Core :: Layout: Columns, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
69.81 KB,
text/plain
|
Details |
Sync web-platform-tests PR 54423 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/54423
Details from upstream follow.
Morten Stenshorne <mstensho@chromium.org> wrote:
Add
column-heighttocolumnsshorthand. Resetcolumn-wrap.Add
column-heightto thecolumnsshorthand, as resolved here:
https://github.com/w3c/csswg-drafts/issues/12050#issuecomment-3160860557The new syntax is:
[ \<'column-width'> || \<'column-count'> ] [ / \<'column-height'> ]?.Additionally the
columnsshorthand now resets thecolumn-wrap
property to its initial value.The new serialization code for
columnsalso strips extraneousauto
keywords, so that e.g.columns:autogets serialized ascolumns:auto,
notcolumns:auto auto, so that round-tripping no longer fails in
CSSParserImplTest.AllPropertiesCanParseImportant. This fix also affects
other tests, so that their expectations had to be updated.Furthermore, since new longhands are added to the
columnsshorthand,
specifying onlycolumn-countandcolumn-widthnow will result in
an empty string from getPropertyValue("columns"), since two longhands
are missing. Tests had to be updated because of this as well.All behind runtime flag MulticolColumnWrapping.
Generated with gemini-cli assistance #ai-assisted (except for tests -
they are handwritten)Bug: 436847954, 403183884
Change-Id: Iaf56d1fd0320d5df50228c58fb6669647c8728e9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6850512
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Commit-Queue: Morten Stenshorne \<mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1503842}
| Assignee | ||
Updated•7 months ago
|
| Assignee | ||
Comment 1•7 months ago
|
||
| Assignee | ||
Comment 2•7 months ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b9827bc8f4f8
https://hg.mozilla.org/mozilla-central/rev/ebca7e8b5831
Description
•