github web-platform-tests/wpt merge_pr_46283

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
10 months ago

[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 tkent@chromium.org
Auto-Submit: Koji Ishii kojii@chromium.org
Commit-Queue: Koji Ishii kojii@chromium.org
Cr-Commit-Position: refs/heads/main@{#1301750}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.