Closed Bug 1940846 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 50008 - [Masonry] Introduce parsing for masonry-auto-tracks.

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Celeste Pan <celestepan@microsoft.com> wrote:

[Masonry] Introduce parsing for masonry-auto-tracks.

This CL introduces the parsing for the CSS property masonry-auto-tracks.

This is part of: https://chromestatus.com/feature/5149560434589696

The properties are behind the CSSMasonryLayout feature flag. The spec
definition for masonry-auto-tracks can be found here:
https://drafts.csswg.org/css-grid-3/#propdef-masonry-auto-tracks

Bug: 343257585
Change-Id: I33a72c50f662195934d1f7af8e199b477546fd89
Reviewed-on: https://chromium-review.googlesource.com/6161598
WPT-Export-Revision: db1e2fffc7d0d03aa995054a907bb3996076b036

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 3 tests and 30 subtests

Status Summary

Firefox

OK : 3
PASS: 15
FAIL: 55

Chrome

OK : 3
PASS: 15
FAIL: 55

Safari

OK : 3
PASS: 15
FAIL: 55

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-masonry/tentative/parsing/masonry-auto-tracks-computed.html [wpt.fyi]
    • Property masonry-auto-tracks value '1px': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'calc(10px + 0.5em)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'calc(10px - 0.5em)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value '4%': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value '5fr': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'min-content': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'max-content': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'auto': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'minmax(1px, 5fr)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'minmax(calc(10px + 0.5em), max-content)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'minmax(calc(10px - 0.5em), max-content)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'minmax(4%, auto)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'minmax(min-content, calc(10px + 0.5em))': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'minmax(auto, 4%)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'fit-content(1px)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'fit-content(calc(10px + 0.5em))': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'fit-content(calc(10px - 0.5em))': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'fit-content(4%)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value '0px': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value '0%': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value '0fr': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'minmax(auto, 0%)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'fit-content(0px)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value '1px 2px 3px 0px': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property masonry-auto-tracks value 'fit-content(1px) minmax(2px, 3px) 4px': FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-masonry/tentative/parsing/masonry-auto-tracks-valid.html [wpt.fyi]
    • e.style['masonry-auto-tracks'] = "1px" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "2em" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "calc(2em + 3ex)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "4%" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "5fr" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "min-content" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "max-content" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "auto" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "auto /**/" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(1px, 5fr)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(2em, min-content)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(calc(2em + 3ex), max-content)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(4%, auto)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(5vmin, 1px)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(min-content, 2em)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(max-content, calc(2em + 3ex))" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(auto, 4%)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "fit-content(1px)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "fit-content(2em)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "fit-content(calc(2em + 3ex))" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "fit-content(4%)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "0px" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "0%" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "0fr" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "minmax(auto, 0%)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "fit-content(0px)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "auto auto" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "auto 10px" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "1px 2px 3px 0px" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['masonry-auto-tracks'] = "fit-content(1px) minmax(2px, 3px) 4px" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/838bf7466ae5 [wpt PR 50008] - [Masonry] Introduce parsing for masonry-auto-tracks., a=testonly https://hg.mozilla.org/integration/autoland/rev/55197ac2f92b [wpt PR 50008] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.