Closed Bug 1705616 Opened 1 year ago Closed 1 year ago

Aspect-ratio's auto content-based min size added block-start border and padding twice

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

aState.mBCoord already includes block-start border and padding, so we
wrongly add the block-start border and padding twice when computing the
border-box content block-size. This patch fixed it, and rename
contentBSize variable to make it clearer.

Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/8550fed3a6fe
Fix aspect-ratio's auto content-based min size when the block frame has border and padding. r=boris,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/28550 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.