-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement baselines attributes for TextMetrics
According to the WHATWG spec, https://html.spec.whatwg.org/multipage/canvas.html#textmetrics, TextMetrics has 3 baseline attributes, alphabeticBaseline, hangingBaseline and ideographicBaseline, which are missing in our current implementation. This cl implements these baseline attributes. The intend to ship: https://groups.google.com/a/chromium.org/g/blink-dev/c/AORzxU_ZNTk/m/Iw5E8lGlAgAJ Bug: 1473117 Change-Id: Ia7c098065ebbe29979833c4f7fe3b7fcdd993ccf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4780555 Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Yi Xu <yiyix@google.com> Cr-Commit-Position: refs/heads/main@{#1188175}
- Loading branch information
Yi Xu
authored and
Chromium LUCI CQ
committed
Aug 25, 2023
1 parent
ef90206
commit 159eaad
Showing
19 changed files
with
54 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...nk/web_tests/external/wpt/html/canvas/element/text/2d.text.measure.baselines-expected.txt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../web_tests/external/wpt/html/canvas/offscreen/text/2d.text.measure.baselines-expected.txt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...sts/external/wpt/html/canvas/offscreen/text/2d.text.measure.baselines.worker-expected.txt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters