Closed
Bug 1596966
Opened 6 years ago
Closed 6 years ago
Set `min-height: 0;` on <stack> children
Categories
(Toolkit :: Themes, task)
Toolkit
Themes
Tracking
()
RESOLVED
FIXED
mozilla72
| Tracking | Status | |
|---|---|---|
| firefox72 | --- | fixed |
People
(Reporter: ntim, Assigned: ntim)
References
Details
Attachments
(1 file)
There's a couple of reasons to do this:
- There are a couple of bugs (bug 1596725, bug 1596947, preferences main stack) that were caused by the
min-height: autobehavior on the grid items which takes in account the implicit height of the content inside it. This caused some boxes to not be restrained by height of their parent. - The default
min-height: autofor grid items is more expensive thanmin-height: 0to compute since it takes in account many factors. This may be a way to address the TART regressions being seen in bug 1596416. - XUL <stack> was designed in a way where the dimensions are usually already decided by the parent element or the element itself, whereas CSS grid is more designed in a way where content decides the height, so
min-height: 0might make more sense here.
| Assignee | ||
Updated•6 years ago
|
Component: Layout → Themes
Product: Core → Toolkit
| Assignee | ||
Comment 1•6 years ago
|
||
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/1d6c106c86d5
Set `min-height: 0` on <stack> children. r=dholbert
Comment 3•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Updated•6 years ago
|
Assignee: nobody → ntim.bugs
You need to log in
before you can comment on or make changes to this bug.
Description
•