Closed Bug 2029123 Opened 3 months ago Closed 2 months ago

[wpt-sync] Sync PR 58891 - Converted background-clip:text web tests to WPT

Categories

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

task

Tracking

()

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Olga Gerchikov <gerchiko@microsoft.com> wrote:

Converted background-clip:text web tests to WPT

This change migrates Blink-internal background-clip:text layout tests to
WPT reftests, improving cross-browser test coverage and alignment with
the WPT test suite.

What changed:

  • Converted 12 Blink-internal tests to WPT under
    external/wpt/css/css-backgrounds/background-clip/
  • Deleted the original Blink-internal tests and their expectations
  • Updated TestLists/Default.txt and TestLists/highdpi to reference the
    new WPT paths
  • Modernized CSS: -webkit-background-clip: text -> background-clip: text,
    -webkit-text-fill-color: transparent -> color: transparent

Mapping of old to new tests:

fast/backgrounds/background-clip-text.html
-> clip-text-constrain-geometry.html
fast/backgrounds/background-clip-text-with-blend-mode.html
-> clip-text-blend-mode.html
fast/backgrounds/background-clip-text-multiline.html
-> clip-text-multiline-background-image.html
fast/backgrounds/background-clip-text-multiline-linebreak.html
-> clip-text-multiline-linebreak.html
fast/backgrounds/background-clip-text-on-body.html
-> clip-text-on-body-scroll.html
fast/css/clip-text-in-scaled-div.html
-> clip-text-scaled.html
paint/background/background-clip-text-transform.html
-> clip-text-transform.html
paint/background/background-clip-text-inline.html
-> clip-text-inline.html
paint/background/background-clip-text-descendants.html
-> clip-text-descendants.html
paint/invalidation/background/background-clip-text-change.html
-> clip-text-dynamic-text-change.html
compositing/background-color/background-color-text-clip.html
-> clip-text-composited-descendant-with-bg-color.html
fragmentation/webkit-background-clip-text.html
-> clip-text-fragmentation.html

Bug: 41385122
Change-Id: Ifaec65209a6b42fffa8d1a1fdd7b5cce5f01e3ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7682456
Reviewed-by: Philip Rogers \<pdr@chromium.org>
Commit-Queue: Olga Gerchikov \<gerchiko@microsoft.com>
Reviewed-by: Claire Chambers \<clchambers@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1609610}

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

CI Results

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

Total 37 tests

Status Summary

Firefox

PASS: 6[GitHub] 19[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-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt] 25[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 6[GitHub] 12[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 18[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-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt]

Chrome

PASS: 12

Safari

PASS: 8
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in before you can comment on or make changes to this bug.