mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-15 05:00:02 -10:00
Automatic update from web-platform-tests [text-box-trim] Support vertical flow In doing this, this patch adds the `FontBaseline` variations of `Alphabetic()`, `CapHeight()`, and `XHeight()` in the `FontMetrics` class. Also, the rounding methods in `AdjustEdges()` were different from what `FontMetrics::FixedAscent()` does. This patch adds `Fixed` variants to `FontMetrics` to make reviewing the consistency easier. All changes are under a currently disabled runtime flag. Bug: 40254880 Change-Id: I470f1df976ff210ee7c3cdb336b73f44a59909d8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5539097 Reviewed-by: Kent Tamura <[email protected]> Auto-Submit: Koji Ishii <[email protected]> Commit-Queue: Koji Ishii <[email protected]> Cr-Commit-Position: refs/heads/main@{#1301750} -- wpt-commits: 044beefe2fe9706c899bd503c5953abf07546fc0 wpt-pr: 46283