[wpt-sync] Sync PR 40712 - Update fontKerning and fontVariants to accept enums
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40712 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40712
Details from upstream follow.
Yi Xu <yiyix@google.com> wrote:
Update fontKerning and fontVariants to accept enums
Currently both testRendering and fontStretch accept case insensitive
strings as inputs; whereas the specs require the inputs as enums and
case sensitive. Update the code to reflect that.Added one test for case sensitivity for fontStretch.
Bug: 1448662, 1343333
Change-Id: I4cfdd83b62cc2135a2f8842cb7ff169d139c21b5
Reviewed-on: https://chromium-review.googlesource.com/4636982
WPT-Export-Revision: 4e9917c57236a917192f1e1aa7925390647eb0f8
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b6b5d5ed7894
https://hg.mozilla.org/mozilla-central/rev/523f74802d30
Description
•