The block-start and block-end border are not painted on the correct side if the block is fragmented in vertical-rl writing mode
Categories
(Core :: Layout, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
Attachments
(3 files)
Steps to reproduce:
Open the attached html, and see Testcase 3.
Actual result:
In the writing-mode: vertical-rl
multicol, the block-start border (red) of the fragmented block the in first column is not painted. Instead, the red border is painted on the block-end side.
Similarly, the block-end border (green) of the fragmented block in the second column is not painted. Instead, the green border is painted on the block-start side.
Expected result:
The border is painted on the correct side on a fragmented block.
Note: The border is correctly painted if the block isn't fragmented (Testcase 2). The border is also correct if the block is fragmented in writing-mode: vertical-rl
multicol (Testcase 1).
Assignee | ||
Comment 1•4 years ago
|
||
This patch shouldn't change the rendering of the test at all.
Assignee | ||
Comment 2•4 years ago
|
||
The original code doesn't work for "writing-mode:vertical-rl" because
its block flow direction is the opposite of "writing-mode:vertical-lr."
Depends on D96785
Assignee | ||
Updated•4 years ago
|
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f3d67ca563cf
https://hg.mozilla.org/mozilla-central/rev/4c7e56ad44b2
Description
•