Closed Bug 1959395 Opened 10 months ago Closed 8 months ago

Incorrect row height resulting from auto-sized orthogonal table cell containing a block with definite size

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox141 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

Details

(Whiteboard: [writing-modes:m1], [wptsync upstream])

Attachments

(2 files)

Attached file orthogonal-td-div.html

See testcase: the table cell gets "unconstrained" height, where it should be just 4em high (2em for the cyan <div>, plus 2em for top+bottom padding).

This doesn't happen if the height property is removed from the <div>. Even if the height is constrained by setting min-height:2em; max-height:2em, the issue doesn't occur.

Whiteboard: [writing-modes:triage] → [writing-modes:m1]
Assignee: nobody → jfkthame
Component: Layout: Text and Fonts → Layout
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/968271f7feb5 Don't attempt to compute auto margins within an unconstrained available size. r=layout-reviewers,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/52845 for changes under testing/web-platform/tests
Whiteboard: [writing-modes:m1] → [writing-modes:m1], [wptsync upstream]
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
Upstream PR merged by moz-wptsync-bot
Upstream PR was closed without merging
Upstream PR merged by moz-wptsync-bot
QA Whiteboard: [qa-triage-done-c142/b141]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: