Open Bug 1488610 Opened 8 years ago Updated 4 years ago

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

Categories

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

enhancement

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12836 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12836 Details from upstream follow. David Quiroz Marin <davidqu@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 the full set of Text Metrics returned by canvas.measureText. > Currently chrome (as well as safari and edge) is only returning the width of > the measured text. This change exposes the full TextMetrics object defined > by the spec: https://html.spec.whatwg.org/multipage/canvas.html#textmetrics > > Intend-to-ship: > https://groups.google.com/a/chromium.org/d/msg/blink-dev/KQW4thKogkk/6fFtjZWvAwAJ > > > Bug: 277215 > Change-Id: I03a6c149f86998cc27abf33816d1a02f7900c492 > Reviewed-on: https://chromium-review.googlesource.com/1199810 > WPT-Export-Revision: d4bfb9ad26757f815b7bddf7e902284df387fb53
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.