Open
Bug 1191801
Opened 9 years ago
Updated 2 years ago
calculate hypothetical box better in abs-pos scenarios with mixed block directions
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
NEW
People
(Reporter: jfkthame, Unassigned)
References
(Blocks 1 open bug)
Details
Followup to bug 1183431:
When the block direction of the absolute containing block is different from the block direction of the positioned element's immediate block container, we need to know the box's block size in order to convert the initially-calculated hypothetical box position to the correct block-start position in the absolute containing block's mode.
Currently, we don't know that in some cases (when block-size is auto, and the element is non-replaced or has no intrinsic size) and therefore we do not compute the correct block-dir position.
Two of the tests in reftests/writing-mode/abspos/ fail because of this.
We presumably need to reflow the abs-pos box during CalculateHypotheticalBox in order to fix this.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•