Closed Bug 1675988 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26442 - Added 1 important column-fill: auto test

Categories

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

task

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'G\xc3\xa9rard Talbot <github@gtalbot.org>' wrote:

Added 1 important column-fill: auto test

columnfill-auto-widows-002.html
reference/columnfill-auto-widows-002-ref.html

This test is important and is currently failed by Firefox 78+ (because Firefox does not support widows nor orphans; see https://bugzilla.mozilla.org/show_bug.cgi?id=137367 ) but is passed by Chromium 83+ and Epiphany 3.32.1.2 (WebKitGTK+ 2.28.4).

When column boxes are filled sequentially, their content should be adjusted so that they honor the 'widows' declaration. This test checks exactly that. In the test, since the 3rd column box was going to get only 1 line box, then the UA must "move", must "import" the last line box of the 2nd column box into the 3rd column box so that there is a minimum of 2 line boxes in the 3rd column box.

Note that columnfill-auto-widows-002.html meets the window viewport size 600x600 requirement.

Other related tests:

http://www.gtalbot.org/BrowserBugsSection/CSS3Multi-Columns/column-fill-balance-0xx.html

http://www.gtalbot.org/BrowserBugsSection/CSS3Multi-Columns/columnfill-auto-widows-001.html

Component: web-platform-tests → Layout: Columns
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2507ccd3543e [wpt PR 26442] - Added a 'column-fill: auto' and 'widows' test, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.