Closed Bug 2084469 Opened 1 month ago Closed 9 days ago

[wpt-sync] Sync PR 63919 - Accept URL sources in image() parsing tests

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 63919 into mozilla-central (this bug is closed when the sync is complete).

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

Domenic Denicola <d@domenic.me> wrote:

Accept URL sources in image() parsing tests

CSS Images Level 5 extends the color-only Level 4 image() notation with URL sources. Move the URL case from invalid coverage to an exact specified-value serialization assertion and link the extended grammar.

https://drafts.csswg.org/css-images-5/#image-notation

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

CI Results

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

Total 25 tests and 18 subtests

Status Summary

Firefox

OK : 2[GitHub] 25[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 17[GitHub] 2809[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 2[GitHub] 27[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-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

OK : 2
PASS: 18
FAIL: 1

Safari

OK : 2
PASS: 17
FAIL: 2

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'] = "image(url(foo.png))" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['background-image'] = "cross-fade(image(green), red)" should set the property value: FAIL (Chrome: PASS, Safari: 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
    • e.style['image-resolution'] = "2dpcm from-image" should set the property value: FAIL
    • e.style['image-resolution'] = "3dppx from-image snap" should set the property value: FAIL
    • e.style['image-resolution'] = "4dpi snap" should set the property value: FAIL
    • e.style['image-resolution'] = "from-image" should set the property value: FAIL
    • e.style['image-resolution'] = "from-image 5dpcm" should set the property value: FAIL
    • e.style['image-resolution'] = "from-image 6dppx snap" should set the property value: FAIL
    • e.style['image-resolution'] = "from-image snap" should set the property value: FAIL
    • e.style['image-resolution'] = "snap 7.5dpi" should set the property value: FAIL
    • e.style['image-resolution'] = "snap -8dpcm from-image" should set the property value: FAIL
    • e.style['image-resolution'] = "snap from-image" should set the property value: FAIL
    • e.style['image-resolution'] = "snap from-image 0dppx" should set the property value: 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
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.