Closed Bug 2002185 Opened 1 year ago Closed 11 months ago

[wpt-sync] Sync PR 56250 - [iframe] Parse the fallback length

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[iframe] Parse the fallback length

This patch adds CSS parsing and serialization support for the
fallback value of the from-element.

The spec is under review at [1].

Note that the two-lengths syntax for the shorthand isn't
implemented yet, and thus not tested either.

[1] https://github.com/w3c/csswg-drafts/pull/13099/files

Bug: 418397278
Change-Id: I10af011dffd75e83a6fb23fb3e8e12ffef1241b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7185843
Reviewed-by: Kent Tamura \<tkent@chromium.org>
Commit-Queue: Kent Tamura \<tkent@chromium.org>
Auto-Submit: Koji Ishii \<kojii@chromium.org>
Commit-Queue: Koji Ishii \<kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1549554}

Component: web-platform-tests → Layout
Product: Testing → Core

CI Results

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

Total 5 tests and 14 subtests

Status Summary

Firefox

OK : 2[GitHub] 5[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-24h2-debug, Gecko-windows11-32-24h2-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]
PASS: 88
FAIL: 22

Chrome

OK : 2
PASS: 16
FAIL: 6

Safari

OK : 2
FAIL: 22

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-sizing/contain-intrinsic-size/parsing/from-element-computed.tentative.html [wpt.fyi]
    • Property contain-intrinsic-width value 'from-element': FAIL (Chrome: PASS, Safari: FAIL)
    • Property contain-intrinsic-height value 'from-element': FAIL (Chrome: PASS, Safari: FAIL)
    • Property contain-intrinsic-inline-size value 'from-element': FAIL (Chrome: PASS, Safari: FAIL)
    • Property contain-intrinsic-block-size value 'from-element': FAIL (Chrome: PASS, Safari: FAIL)
    • Property contain-intrinsic-width value 'from-element 200px': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property contain-intrinsic-height value 'from-element 200px': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property contain-intrinsic-size value 'from-element': FAIL (Chrome: PASS, Safari: FAIL)
    • Property contain-intrinsic-size value 'from-element 200px': FAIL (Chrome: PASS, Safari: FAIL)
  • /css/css-sizing/contain-intrinsic-size/parsing/from-element-valid.tentative.html [wpt.fyi]
    • e.style['contain-intrinsic-width'] = "from-element" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-height'] = "from-element" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-inline-size'] = "from-element" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-block-size'] = "from-element" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-width'] = "from-element 200px" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['contain-intrinsic-height'] = "from-element 200px" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['contain-intrinsic-size'] = "from-element" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-size'] = "from-element 200px" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-size'] = "from-element" should set contain-intrinsic-height: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-size'] = "from-element" should set contain-intrinsic-width: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-size'] = "from-element" should not set unrelated longhands: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['contain-intrinsic-size'] = "from-element 200px" should set contain-intrinsic-height: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['contain-intrinsic-size'] = "from-element 200px" should set contain-intrinsic-width: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['contain-intrinsic-size'] = "from-element 200px" should not set unrelated longhands: FAIL (Chrome: PASS, Safari: FAIL)
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
You need to log in before you can comment on or make changes to this bug.