vacant table-cell div is not applied a correct height in Firefox version 52.

UNCONFIRMED
Unassigned

Status

()

Core
Layout: Tables
UNCONFIRMED
a year ago
a year ago

People

(Reporter: tayoshizawa29, Unassigned)

Tracking

({testcase})

52 Branch
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

a year ago
Created attachment 8848424 [details]
div.LeftHeightIsStrange.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce:

use the html and css like below in firefox version 52.
OS is "Windows 10 Pro version 1607".

<style>
	.Outer {
		display: table;
		width: 180px;
	}

	.Left {
		display: table-cell;
		height: 40px;
		width: 40px;
		background-color: red;
	}

	.Right {
		height: 40px;
		width: 140px;
		background-color: aqua;
	}
</style>

<div class="Outer">
	<div class="Left"></div>
	<div class="Right">right</div>
</div>


Actual results:

div.Left height is 64.5px.
(the height is correct in firefox version 51)

see the attached file.


Expected results:

div.Left height should be 40px like class div.Right height.
Group: core-security → layout-core-security
Not a security issue.
Group: layout-core-security
Using Linux builds, I don't see any difference compared to older versions.
The red box has always been ~65px in height.
Component: CSS Parsing and Computation → Layout: Tables
Keywords: testcase
Created attachment 8849027 [details]
Reporter's testcase
You need to log in before you can comment on or make changes to this bug.