Closed Bug 1885861 Opened 11 months ago Closed 11 months ago

[wpt-sync] Sync PR 45160 - [css-images-4] Change cross-fade serialization.

Categories

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

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Steinar H. Gunderson <sesse@chromium.org> wrote:

[css-images-4] Change cross-fade serialization.

The spec changed to serialize percentage after image instead of before,
so update the code and the tests to follow suit.

See CSSWG resolution at: https://github.com/w3c/csswg-drafts/issues/9405#issuecomment-1944429092

Bug: 40470742
Fixed: 329301350
Change-Id: I07189aef281e23a5c86692ec34bf21c86bb9d867

Reviewed-on: https://chromium-review.googlesource.com/5377720
WPT-Export-Revision: 010bdd36f7b073d82cad632513d44ef1a4cf4c11

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

CI Results

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

Total 2 tests and 6 subtests

Status Summary

Firefox

OK : 2
PASS: 3
FAIL: 13

Chrome

OK : 2
PASS: 4
FAIL: 12

Safari

OK : 2
PASS: 3
FAIL: 13

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-backgrounds/parsing/background-image-valid.html [wpt.fyi]
    • e.style['background-image'] = "cross-fade(50% url(http://www.example.com), 50% url(http://www.example.com))" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['background-image'] = "cross-fade(red 33%, white 33%, blue)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['background-image'] = "cross-fade(blue, linear-gradient(90deg, rgb(2, 0, 36) 0%, rgb(0, 212, 255) 100%))" should set the property value: FAIL (Chrome: PASS, Safari: FAIL)
    • e.style['background-image'] = "cross-fade( 1% red, green)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['background-image'] = "cross-fade(1% red , green)" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['background-image'] = "cross-fade(1% red, green )" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
    • e.style['background-image'] = "cross-fade(red 1%, cross-fade(red 2%, green))" should set the property value: FAIL (Chrome: FAIL, Safari: FAIL)
  • /css/css-images/cross-fade-computed-value.html [wpt.fyi]
    • Property background-image value 'cross-fade(30% color-mix(in srgb, currentcolor, blue), white)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property background-image value 'cross-fade(50% red, 50% green)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property background-image value 'cross-fade(20% red, 20% green)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property background-image value 'cross-fade(50% red, 50% green, 50% blue)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property background-image value 'cross-fade(calc(101%) red, green)': FAIL (Chrome: FAIL, Safari: FAIL)
    • Property background-image value 'cross-fade(calc(-200%) red, green)': FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/69c641c826f1 [wpt PR 45160] - [css-images-4] Change cross-fade serialization., a=testonly https://hg.mozilla.org/integration/autoland/rev/72109dcc2c19 [wpt PR 45160] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.