Closed Bug 1950455 Opened 19 days ago Closed 16 days ago

[wpt-sync] Sync PR 50942 - Implement ctx.strokeTextCluster()

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Andres Ricardo Perez <andresrperez@chromium.org> wrote:

Implement ctx.strokeTextCluster()

This CL creates a new method for CanvasRenderingContext2d that strokes
a TextCluster object. Its fill counterpart, ctx.fillTextCluster(), was
merged in https://crrev.com/c/5854270.

This new method came to be from the discussion around the spec for the
TextMetrics additions: https://github.com/whatwg/html/pull/11000

The existing tests for fillTextCluster() were renamed to include the
method name in the title, since before only "rendering" was mentioned.
The new tests are explicitly named using strokeTextCluster().

Bug: 341213359
Change-Id: Icd792b56e48f3ea5091e958671c19fcefe67fdec
Reviewed-on: https://chromium-review.googlesource.com/6282180
WPT-Export-Revision: 49f14e59fac23a4cea7698961545ddfe368f3e8a

PR 50942 applied with additional changes from upstream: dcdd290060fec4b75fbe470e6eaff23779e23b5b, 5b42b1c845eef3989b4390a0c943099210ee2aad
Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 36 tests

Status Summary

Firefox

OK : 12
PASS : 4
FAIL : 12[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview] 24[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-64-24h2-debug, Gecko-windows11-64-24h2-opt, GitHub]
TIMEOUT: 8

Chrome

OK : 12
PASS : 18
FAIL : 14
TIMEOUT: 4

Safari

OK : 12
PASS : 4
FAIL : 24
TIMEOUT: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Tests Disabled in Gecko Infrastructure

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c4d5d718989d [wpt PR 50942] - Implement ctx.strokeTextCluster(), a=testonly https://hg.mozilla.org/integration/autoland/rev/2804d1938dcf [wpt PR 50942] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 16 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.