Closed Bug 1668456 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25918 - Remove ExtendedTextMetrics flag to launch canvas TextMetrics

Categories

(Core :: DOM: Workers, task, P4)

task

Tracking

()

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25918 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25918
Details from upstream follow.

b'yiyix <yiyix@chromium.org>' wrote:

Remove ExtendedTextMetrics flag to launch canvas TextMetrics

This change removes the flag ExtendedTextMetrics and the code that
references it in order to ship attributes in TextMetrics:
fontBoundingBoxAscent and fontBoundingBoxDescent.
Currently chrome is only returning the width,
actualBoundingBoxLeft/Right/Ascent/Descent of the measured text.
https://html.spec.whatwg.org/multipage/canvas.html#textmetrics

Intend-to-ship:
https://groups.google.com/a/chromium.org/g/blink-dev/c/GSmWjdqmgCA/m/c5Y8DfKyCAAJ

Bug: 1129621

Change-Id: Id367f0f8d74aa82f6baa64f5909b325fede57b60
Reviewed-on: https://chromium-review.googlesource.com/2440847
WPT-Export-Revision: 3d005f23a486a1b6cefc1000e8a055b134033225

Component: web-platform-tests → DOM: Workers
Product: Testing → Core

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 30 subtests

Status Summary

Firefox

OK : 1
PASS : 30

Chrome

OK : 1
PASS : 28
FAIL : 2

Safari

ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/94a23aa94963 [wpt PR 25918] - Launch fontBoundingBoxAscent/Descent, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.