[wpt-sync] Sync PR 46919 - Update the canvas state and the FontDescription to match
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Regressed 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46919 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46919
Details from upstream follow.
Yi Xu <yiyix@chromium.org> wrote:
Update the canvas state and the FontDescription to match
After a font is set in Canvas, users can change the font properties,
such as FontKerning. One copy of the properties is saved in the
FontDescription and the another copy is saved in the
CanvasRenderingContext2DState. When font is updated, the copy in the
FontDescription get updated automatically, and the copy in the State
file stay unchanged. This inconsistency caused some properties
settings to fail.Bug: 338965374
Change-Id: Ic2e72f8d1a5e5007648dfa7da7698d836ef54c42
Reviewed-on: https://chromium-review.googlesource.com/5637432
WPT-Export-Revision: 480db9dd742c84b4989ce3e0c343884d5d748a8e
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 15 tests and 1 subtests
Status Summary
Firefox
OK : 9
PASS: 13
FAIL: 2
Chrome
OK : 9
PASS: 9
FAIL: 6
Links
Details
New Tests That Don't Pass
- /html/canvas/offscreen/text/2d.text.fontVariantCaps.after.reset.font.html [wpt.fyi]:
FAIL(Chrome:FAIL) - /html/canvas/offscreen/text/2d.text.fontVariantCaps.after.reset.font.w.html [wpt.fyi]:
FAIL(Chrome:FAIL)
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/aa80dcf3f20a
https://hg.mozilla.org/mozilla-central/rev/86125713b662
Description
•