[wpt-sync] Sync PR 47961 - Add meta charset tag to canvas generator templates
Categories
(Core :: Graphics: Canvas2D, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox132 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
140.60 KB,
text/plain
|
Details |
Sync web-platform-tests PR 47961 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47961
Details from upstream follow.
Andres Ricardo Perez <andresrperez@chromium.org> wrote:
Add meta charset tag to canvas generator templates
In order to fully test canvas text-related features, it is necessary to
use different alphabets and special characters for coverage. Before this
change, several special characters, for example the arabic alphabet and
emojis, weren't actually supported when run from the WPT testing toolkit.This CL adds the `\<meta charset="UTF-8">' line to all generator
templates, and includes the results of running the generator. All
generated files are modified, but only by adding this line.One test that uses special characters failed after updating the
encoding (2d.text.measure.caret-position.tentative). This was added to
the test expectations. See: https://crbug.com/364332944Bug: 341213359, 364332944
Change-Id: I7acf60298ac49b790d58100044c2e6412011093d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5817356
Reviewed-by: Yi Xu \<yiyix@chromium.org>
Reviewed-by: Jean-Philippe Gravel \<jpgravel@chromium.org>
Commit-Queue: Andres Ricardo Perez \<andresrperez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1350746}
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
Comment 4•1 year ago
|
||
| bugherder | ||
Description
•