A height of DIV containers with specified paddings is re-calculated incorrectly while resizing a browser's window (causing failure in WPT css/css-grid/table-grid-item-dynamic-004.html )
Categories
(Core :: Layout: Grid, defect, P3)
Tracking
()
People
(Reporter: support, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: regression)
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Steps to reproduce:
- Create the following HTML page
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div style="height: 150px; display: grid;">
<div style="height: 100%; display: table; padding: 2px 2px 0px 0px;">
<div style="width: 50px; min-width: 50px; display: table;">
<label>Test:</label>
</div>
<div style="width: 100%; height: 69px; background-color: lightcoral; display: table-cell;">
</div>
</div>
</div>
</form>
</body>
</html>
- Try resizing a browser's window
Actual results:
The DIV height is always increasing
Expected results:
The DIV height should remain unchanged (like in other browsers)
Reporter | ||
Comment 1•6 years ago
|
||
See the attached video
Reporter | ||
Comment 2•6 years ago
|
||
Video demonstrates the same scenario in the Chrome browser
The DIV's height is not changed
Updated•6 years ago
|
Updated•6 years ago
|
Comment 3•6 years ago
|
||
Regression window:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=c11a7836e61b18bcb4dd3d75191ffd10830b9280&tochange=cb5c261faec02c184166fe2c3221870caf394248
Updated•6 years ago
|
Comment 4•6 years ago
|
||
Sounds like it might be the same underlying issue as bug 1492315.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
Sean, do you think your team will get to this soon? It's been a wontfix regression for a while now so the regression triagers were wondering if we should stop tracking it and just let it go into your backlog.
Comment 6•6 years ago
|
||
Yes, given the P3 priority, will just get this part of our backlog of upcoming grid fixes.
Comment 7•6 years ago
|
||
Thanks. Sounds like a wontfix for 67, too, so I modified that and we can let it "fall off the radar" of the regression bug triage meeting.
Comment 8•3 years ago
|
||
The testcase in comment 0 is fixed by bug 1527734, but a similar test http://wpt.live/css/css-grid/table-grid-item-dynamic-004.html still fails.
Updated•2 years ago
|
Updated•1 years ago
|
Description
•