Closed Bug 1610362 Opened 5 years ago Closed 5 years ago

floor subgrid track sizes to zero

Categories

(Core :: Layout: Grid, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

References

Details

Attachments

(1 file)

While writing tests for bug 1606516 I discovered that we create negative track sizes in some subgrid edge cases. The simplest case being a fixed parent track size like 10px with a subgrid starting/ending in that track with a start/end margin+border+padding > 10px on that side.

Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ae671f639481 Floor track sizes to zero after adjusting for subgrid margin+border+padding. r=dholbert
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21426 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
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: