Bug 1665774 [wpt PR 25605] - Add new fontBoundingBoxAscent/Descent test, a=testonly
commit53208e6d0647279b1e74038edb8a72b3c62ef0ce
authoryiyix <yiyix@chromium.org>
Thu, 24 Sep 2020 19:10:55 +0000 (24 19:10 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 25 Sep 2020 19:29:25 +0000 (25 19:29 +0000)
treeddf26bcaae265a1bd20ab77d5540039be27c0b24
parent3dca6a5a11a0af390c276d149164951952379873
Bug 1665774 [wpt PR 25605] - Add new fontBoundingBoxAscent/Descent test, a=testonly

Automatic update from web-platform-tests
Add new fontBoundingBoxAscent/Descent test

Add new fontBoundingBoxAscent/Descent test with Ahem font. Firefox and
Chrome follow different table to calculate the fontBoundingboxAscent and
descent. Ahem is one the font that has the same information across
the tables. In this cl, I add a new test using Ahem font, so that the
test can work for all browsers.

Bug:1129621

Change-Id: I8ef0d7c5788e79f215d763e8494c3db8941b95d8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416261
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Reviewed-by: Aaron Krajeski <aaronhk@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Commit-Queue: Yi Xu <yiyix@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809379}

--

wpt-commits: 82e6948264e3908fc6ffac8e52c3d6814c9f8e5a
wpt-pr: 25605
testing/web-platform/tests/html/canvas/element/drawing-text-to-the-canvas/2d.text.measure.fontBoundingBox.ahem.html [new file with mode: 0644]
testing/web-platform/tests/html/canvas/tools/yaml/element/drawing-text-to-the-canvas.yaml
testing/web-platform/tests/lint.ignore