Broaden "slicing" fragmentation fallback to use logical coordinates (track overflow in block axis, not necessarily vertical axis) so that it works with vertical-writing-mode documents
Categories
(Core :: Printing: Output, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: dholbert, Assigned: MatsPalmgren_bugz)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
I'm spinning off this bug to cover the issues brought up in bug 1640197 comment 26.
(That bug's implementation only works for documents with the default horizontal writing mode. If you specify a vertical writing-mode on the html
element, then the overflow in the block axis gets lost when it should be preserved; and the overflow in the inline axis gets preserved when it should be cropped.)
Testcases:
"testcase 3" from bug 1640197: horizontal writing-mode, everything is mostly fine.
https://bugzilla.mozilla.org/attachment.cgi?id=9179658
testcase 4 from bug 1640197: Same as testcase 3 but with vertical writing-mode. It should fragment just as well as testcase 3, but it does not; the numbered content is lost after page 1 (due to this bug)
https://bugzilla.mozilla.org/attachment.cgi?id=9179659
testcase 5 from bug 1640197: same as testcase 4, but with a wide "aaaaaaaa..." added. The "aaa..." overflow should be clipped since it's overflowing in the inline axis, but in fact we end up painting it on subsequent pages (superimposed with our correctly-fragmented-in-the-Block-Axis content)
https://bugzilla.mozilla.org/attachment.cgi?id=9179665
Reporter | ||
Comment 1•4 years ago
|
||
Screenshot of testcase 5, showing that part of the issue:
https://bugzilla.mozilla.org/attachment.cgi?id=9179677
Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
I took a go at this and got the two vertical writing-mode testcases working with this patch. Changing the testcase from vertical-lr to vertical-rl produces output that does not look fully correct, so maybe this patch is not complete.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Description
•