Closed Bug 2084498 Opened 1 month ago Closed 9 days ago

[wpt-sync] Sync PR 63928 - Serialize image-resolution keywords in grammar order

Categories

(Core :: Layout: Images, Video, and HTML Frames, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Domenic Denicola <d@domenic.me> wrote:

Serialize image-resolution keywords in grammar order

The property specifies canonical order per grammar: from-image, the resolution, then snap. Add exact expectations for the five cases authored in a different order.

https://drafts.csswg.org/css-images-4/#the-image-resolution

Component: web-platform-tests → Layout: Images, Video, and HTML Frames
Product: Testing → Core

CI Results

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

Total 25 tests and 18 subtests

Status Summary

Firefox

OK : 1[GitHub] 25[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2810
FAIL: 12[GitHub] 26[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 1
FAIL: 12

Safari

OK : 1
FAIL: 12

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-images/parsing/conic-gradient-calc-angle-percentage-valid.html [wpt.fyi]
    • e.style['background-image'] = "conic-gradient(red, calc(0deg + 100%), blue)" should set the property value: FAIL
    • e.style['background-image'] = "conic-gradient(red calc(0deg + 100%), blue)" should set the property value: FAIL
    • e.style['background-image'] = "conic-gradient(red calc(90deg + 50%), blue)" should set the property value: FAIL
    • e.style['background-image'] = "conic-gradient(red calc(90deg + 0%), blue)" should set the property value: FAIL
    • e.style['background-image'] = "conic-gradient(red calc(100% - 45deg), blue)" should set the property value: FAIL
    • e.style['background-image'] = "repeating-conic-gradient(red calc(90deg + 50%), blue)" should set the property value: FAIL
  • /css/css-images/parsing/image-function-valid.html [wpt.fyi]
    • e.style['background-image'] = "cross-fade(image(green), red)" should set the property value: FAIL
  • /css/css-images/parsing/image-rendering-computed.html [wpt.fyi]
    • Property image-rendering value 'high-quality': FAIL
  • /css/css-images/parsing/image-rendering-valid.html [wpt.fyi]
    • e.style['image-rendering'] = "high-quality" should set the property value: FAIL
  • /css/css-images/parsing/image-resolution-valid.html [wpt.fyi]
    • e.style['image-resolution'] = "1dpi" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "2dpcm from-image" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "3dppx from-image snap" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "4dpi snap" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "from-image" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "from-image 5dpcm" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "from-image 6dppx snap" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "from-image snap" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "snap 7.5dpi" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "snap -8dpcm from-image" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "snap from-image" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['image-resolution'] = "snap from-image 0dppx" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-images/parsing/object-fit-computed.html [wpt.fyi]
    • Property object-fit value 'cover scale-down': FAIL
  • /css/css-images/parsing/object-fit-valid.html [wpt.fyi]
    • e.style['object-fit'] = "contain scale-down" should set the property value: FAIL
    • e.style['object-fit'] = "cover scale-down" should set the property value: FAIL
    • e.style['object-fit'] = "scale-down contain" should set the property value: FAIL
    • e.style['object-fit'] = "scale-down cover" should set the property value: FAIL
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0e7aa34c1555 https://hg.mozilla.org/integration/autoland/rev/2afbde22a096 [wpt PR 63928] - Serialize image-resolution keywords in grammar order, a=testonly
Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.