improve inline-sizing of orthogonal flows
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
People
(Reporter: jfkthame, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Comment 2•10 years ago
|
||
Hi jfkthame,
I'm not sure what you were trying to do here, but css-writing-modes has some fairly specific rules about orthogonal flow sizing in https://www.w3.org/TR/css-writing-modes-3/#orthogonal-flows
I've attached a testcase which shows some interesting ways in which the current mOrthogonalLimit system fails. In particular the code you're trying to modify in Initi() doesn't work if the frame that has an mOrthogonalLimit set doesn't happen to be orthogonal to an orthogonal flow (because we've nested orthogonal writing modes). You can see this case in the 'auto' example of the testcase, which ends up sizing as max-content instead of as the ICB height due to the nesting.
This patch brings us in line with css-writing-modes-3 wrt orthogonal limits.
(It doesn't handle resizing of the ICB correctly, but that's an existing problem. Fixing that requires invalidating layout of the orthogonal flow at appropriate times, which is a bit tricky since the frame relationship is quite indirect, which is probably why we don't do it right now. I can try to figure that out, but I'd prefer to land this first and handle that separately.)
Comment 6•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•2 years ago
|
Description
•