Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1738127 [wpt PR 31405] - [layout] Fix baseline synthesis., a=test…
…only Automatic update from web-platform-tests [layout] Fix baseline synthesis. Previously the APIs: - NGBoxFragment::BaselineOrSynthesize - NGBoxFragment::FirstBaselineOrSynthesize Always synthesized baselines from the block-end edge. Typically in a vertical writing-mode we should be synthesizing from the block-middle, except when we have "text-orientation: sideways". This changes the synthesis APIs to accept a FontBaseline parameter similar to BaselineMetrics to pick the right type of baseline. Change-Id: I2e153442af659c412b72ce70cc520731d46e83be Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3243263 Commit-Queue: Ian Kilpatrick <[email protected]> Reviewed-by: Koji Ishii <[email protected]> Reviewed-by: David Grogan <[email protected]> Cr-Commit-Position: refs/heads/main@{#935691} -- wpt-commits: 9712e507531544038bf665d3ef27a7dac83c4cbe wpt-pr: 31405
- Loading branch information