[wpt-sync] Sync PR 31405 - [layout] Fix baseline synthesis.
Categories
(Core :: Layout: Flexbox, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31405 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31405
Details from upstream follow.
Ian Kilpatrick <ikilpatrick@chromium.org> wrote:
[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/3243263
WPT-Export-Revision: 7e33d8806d343bc162f21d84ff8681cd642c4f69
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=37191e0db93f2967d83c7c5dcd383df5e404fc64
Assignee | ||
Comment 2•3 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=2e56a10663f220be0a5dbe658c798c75fd68f3a2
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c6521a5dcdcd [wpt PR 31405] - [layout] Fix baseline synthesis., a=testonly
Assignee | ||
Comment 4•3 years ago
|
||
Test result changes from PR not available.
Comment 5•3 years ago
|
||
bugherder |
Description
•