Closed Bug 1839966 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40712 - Update fontKerning and fontVariants to accept enums

Categories

(Core :: Graphics: Canvas2D, task, P4)

task

Tracking

()

RESOLVED FIXED
117 Branch
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

Component: web-platform-tests → Graphics: Canvas2D
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6b5d5ed7894 [wpt PR 40712] - Update fontKerning and fontVariants to accept enums, a=testonly https://hg.mozilla.org/integration/autoland/rev/523f74802d30 [wpt PR 40712] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.