[wpt-sync] Sync PR 50494 - Use IDL enums for all CanvasTextDrawingStyles in Canvas2D
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 50494 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/50494
Details from upstream follow.
Andres Ricardo Perez <andresrperez@chromium.org> wrote:
Use IDL enums for all CanvasTextDrawingStyles in Canvas2D
Some of the canvas properties that are part of CanvasTextDrawingStyles
(https://html.spec.whatwg.org/#canvastextdrawingstyles) had been
modified to use enums defined from the IDL definition of the rendering
context (fontStretch and textRendering).This CL creates enums for the rest of the CanvasTextDrawingStyles
properties. Getters and setters had to be modified, as well as a unit
test. Generated tests for setting and getting this properties already
exist in WPT, as defined in text.yaml.Bug: 341213359
Change-Id: Ic8c30219a039c96cfd83dd078157d9fb60565e03
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6000733
Commit-Queue: Andres Ricardo Perez \<andresrperez@chromium.org>
Reviewed-by: Koji Ishii \<kojii@chromium.org>
Reviewed-by: Jean-Philippe Gravel \<jpgravel@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1415577}
Assignee | ||
Updated•20 days ago
|
Assignee | ||
Comment 1•20 days ago
|
||
Assignee | ||
Comment 2•20 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests
Status Summary
Firefox
PASS
: 3
Chrome
PASS
: 3
Safari
PASS
: 3
Links
Comment 4•18 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d8a0889b9f9
https://hg.mozilla.org/mozilla-central/rev/3d20173881c3
Description
•