[wpt-sync] Sync PR 50942 - Implement ctx.strokeTextCluster()
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
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/11000The 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
Assignee | ||
Comment 1•19 days ago
|
||
Assignee | ||
Updated•19 days ago
|
Assignee | ||
Updated•18 days ago
|
Assignee | ||
Updated•18 days ago
|
Assignee | ||
Comment 2•18 days ago
|
||
Assignee | ||
Comment 3•18 days ago
|
||
Assignee | ||
Comment 4•18 days ago
|
||
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
- /html/canvas/element/text/2d.text.measure.fillTextCluster-options.tentative.html [wpt.fyi]
- Test that fillTextCluster() correctly applies the options passed as a dictionary.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Test that fillTextCluster() correctly applies the options passed as a dictionary.:
- /html/canvas/element/text/2d.text.measure.fillTextCluster-range.tentative.html [wpt.fyi]
- Test that getTextClusters() and fillTextCluster() correctly render different ranges of the input text.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Test that getTextClusters() and fillTextCluster() correctly render different ranges of the input text.:
- /html/canvas/element/text/2d.text.measure.strokeTextCluster-options.tentative.html [wpt.fyi]
- Test that strokeTextCluster() correctly applies the options passed as a dictionary.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Test that strokeTextCluster() correctly applies the options passed as a dictionary.:
- /html/canvas/element/text/2d.text.measure.strokeTextCluster-range.tentative.html [wpt.fyi]
- Test that getTextClusters() and strokeTextCluster() correctly render different ranges of the input text.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Test that getTextClusters() and strokeTextCluster() correctly render different ranges of the input text.:
- /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-options.tentative.html [wpt.fyi]
- Test that fillTextCluster() correctly applies the options passed as a dictionary.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Test that fillTextCluster() correctly applies the options passed as a dictionary.:
- /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-options.tentative.worker.html [wpt.fyi]
- Test that fillTextCluster() correctly applies the options passed as a dictionary.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Test that fillTextCluster() correctly applies the options passed as a dictionary.:
- /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-range.tentative.html [wpt.fyi]
- Test that getTextClusters() and fillTextCluster() correctly render different ranges of the input text.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Test that getTextClusters() and fillTextCluster() correctly render different ranges of the input text.:
- /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-range.tentative.worker.html [wpt.fyi]
- Test that getTextClusters() and fillTextCluster() correctly render different ranges of the input text.:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Test that getTextClusters() and fillTextCluster() correctly render different ranges of the input text.:
- /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-options.tentative.html [wpt.fyi]
- Test that strokeTextCluster() correctly applies the options passed as a dictionary.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Test that strokeTextCluster() correctly applies the options passed as a dictionary.:
- /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-options.tentative.worker.html [wpt.fyi]
- Test that strokeTextCluster() correctly applies the options passed as a dictionary.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Test that strokeTextCluster() correctly applies the options passed as a dictionary.:
- /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-range.tentative.html [wpt.fyi]
- Test that getTextClusters() and strokeTextCluster() correctly render different ranges of the input text.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Test that getTextClusters() and strokeTextCluster() correctly render different ranges of the input text.:
- /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-range.tentative.worker.html [wpt.fyi]
- Test that getTextClusters() and strokeTextCluster() correctly render different ranges of the input text.:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Test that getTextClusters() and strokeTextCluster() correctly render different ranges of the input text.:
- /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-align.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:PASS
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-baseline.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:PASS
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-drawing-styles-change.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:PASS
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-font-change.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:PASS
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-align.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-baseline.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-drawing-styles-change.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-font-change.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:TIMEOUT
) - /html/canvas/element/text/2d.text.measure.fillTextCluster-align.tentative.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /html/canvas/element/text/2d.text.measure.fillTextCluster-baseline.tentative.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /html/canvas/element/text/2d.text.measure.fillTextCluster-drawing-styles-change.tentative.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /html/canvas/element/text/2d.text.measure.strokeTextCluster-align.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /html/canvas/element/text/2d.text.measure.strokeTextCluster-baseline.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /html/canvas/element/text/2d.text.measure.strokeTextCluster-drawing-styles-change.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-align.tentative.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-baseline.tentative.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-drawing-styles-change.tentative.html [wpt.fyi]:
FAIL
(Chrome:PASS
, Safari:FAIL
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-align.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-baseline.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-drawing-styles-change.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Tests Disabled in Gecko Infrastructure
- /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-align.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:PASS
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-baseline.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:PASS
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-drawing-styles-change.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:PASS
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.fillTextCluster-font-change.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:PASS
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-align.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-baseline.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-drawing-styles-change.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:TIMEOUT
) - /html/canvas/offscreen/text/2d.text.measure.strokeTextCluster-font-change.tentative.w.html [wpt.fyi]:
SKIP
[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
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-64-24h2-debug
,Gecko-windows11-64-24h2-opt
],TIMEOUT
[GitHub
] (Chrome:TIMEOUT
, Safari:TIMEOUT
)
Comment 6•16 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c4d5d718989d
https://hg.mozilla.org/mozilla-central/rev/2804d1938dcf
Description
•