Launch fontBoundingBoxAscent/Descent
This change removes the flag ExtendedTextMetrics.fontBoundingBoxAscent and Descent and references in code 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/c/chromium/src/+/2440847 Commit-Queue: Yi Xu <yiyix@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Kent Tamura <tkent@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#812728}
Showing
Please register or sign in to comment