Closed
Bug 1846387
Opened 1 year ago
Closed 1 year ago
[wpt-sync] Sync PR 41264 - CanvasRenderingContext2D does not return a numeric font weight
Categories
(Testing :: web-platform-tests, task, P4)
Testing
web-platform-tests
Tracking
(firefox118 fixed)
RESOLVED
FIXED
118 Branch
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41264 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41264
Details from upstream follow.
Yi Xu <yiyix@google.com> wrote:
CanvasRenderingContext2D does not return a numeric font weight
If ctx.font is set to
italic 300 12px serif
, ctx.font returnsitalic 12px serif
. It doesn't return the correct font weight with getFont().This cl fixes the return value of font.
ref: https://html.spec.whatwg.org/#text-styles:dom-context-2d-font-2Bug: 1202489
Change-Id: I428e3941f2a3f59bbaec6585290829fc29e836a5
Reviewed-on: https://chromium-review.googlesource.com/4734077
WPT-Export-Revision: ace36118c17c7cead7b41d0a37f64fea0409c2dd
Assignee | ||
Updated•1 year ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Assignee | ||
Updated•1 year ago
|
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Assignee | ||
Comment 1•1 year ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=d76a937ff97cdb54e44174725904b3a53a427e65
Assignee | ||
Comment 2•1 year ago
|
||
Test result changes from PR not available.
Pushed by ctuns@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/7c4454a8136a
[wpt PR 41264] - CanvasRenderingContext2D does not return a numeric font weight, a=testonly
Comment 4•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox118:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•