`writing-mode: vertical-(lr|rl)` aligns at the center of box for baseline alignment no matter what
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
People
(Reporter: dshin, Assigned: dshin)
References
Details
Attachments
(2 files, 1 obsolete file)
STR: See attached test case.
Expected: For both sets, "A" aligns with "DE."
Actual: "A" aligns to the center of the bordered box.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 3•2 years ago
|
||
Previously, we simply found the center of content-box in
nsLineLayout::VerticalAlignFrames
. However, this is incorrect for e.g. a div
with two lines of text where the central baseline should be the second line of
text.
Comment 5•2 years ago
|
||
Backed out for causing mochitests failures in layout/style/test/test_revert.html.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-PASS | layout/style/test/test_revert.html | assertion count 0 is less than expected 3 assertions
Assignee | ||
Comment 6•2 years ago
|
||
Hm, bug 1790201 expects it, but it no longer triggers.
Comment 8•2 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/06d1305e3abc
Comment 9•2 years ago
|
||
Backed out for causing Wr failures on text-combine-upright-value-all-002.html
Assignee | ||
Comment 10•2 years ago
|
||
Fixed, checked all css-writing-modes/text-combine-upright WPT tests passing.
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Reproducible on a 2023-03-23 Nightly build on macOS 12.
Verified as fixed on Firefox 113.0(build ID: 20230501151611) and Nightly 114.0a1(build ID: 20230502160708) on macOS 12, Windows 10, Ubuntu 22.
Description
•