Closed Bug 1949153 Opened 6 months ago Closed 5 months ago

Padding in an orthogonal child results in incorrect sizing of the parent

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

See testcase. The red <div> should be exactly as wide as its (invisible) orthogonal child, and so should be covered by the following green <div>, but it is incorrectly extended by the width of the child's padding.

Attached file testcase

The broken behavior was fixed in bug 1949151 (along with the similar issue for borders),
so just adding a padding testcase here.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/41c6a49fdbc6 Add a WPT reftest for intrinsic sizing with an orthogonal child that has padding in its block axis. r=dshin
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51126 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: