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
Introduction
This directory contains testsuites for CSS WG specifications, including ones that do not strictly speaking define CSS features, e.g., Geometry Interfaces.
The directories should be named like the specification's shortname, but without any level suffix.
As the test harness relies on the largely undocumented old CSS build system, this directory has a number of test requirements specific to it:
-
support files for a given test must live in an adjacent
supportdirectory; -
tests must have a
<link rel=help>pointing to what they are testing; -
for each spec so linked, test filenames must be unique; and
-
support and reference files must have unique filenames within the entire
cssdirectory.