Open Bug 1638491 Opened 5 years ago Updated 4 years ago

Some suboptimal rendering of auto height block's bottom border and padding

Categories

(Core :: Layout: Block and Inline, defect)

defect

Tracking

()

People

(Reporter: TYLin, Unassigned)

References

()

Details

Attachments

(1 file)

The problem is described originally in my comment on phabricator. Quoted here.

For a block frame, if its content fits (i.e. its content is complete), but it doesn't fit with the bottom border and padding added. Our current rendering isn't optimal, and it depends on whether it has auto block-size or not. (Note: a block frame always gives its children available block-size without subtracting its block-end border and padding, and yes, even if it has box-decoration-break: clone. See bug 1564726)

See David's interpretation of the spec on possible break points in this review comment.

I hope the testcase explains itself of what needs to be fixed.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: