Closed Bug 1427148 Opened 8 years ago Closed 6 years ago

table cell's height increases infinitely on repaint.

Categories

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

57 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1492315

People

(Reporter: w.igari.takeharu, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36 Steps to reproduce: 1. I specified display: grid; to any element as parent. 2. I specified margin-top 1em to the child element and that is table element. 3. I changed the viewport width with changing browser's width or changed style of table element on developer tools. here is the minimal code: https://jsfiddle.net/igari/046nv5oe/3/ <summary> table cell's height increases infinitely on repaint when the table element that specified "margin-top" any integer value is child of the parent element that is specified "display: grid;" Actual results: Table cell's height increase infinitely on repaint. Expected results: Table cell's height should not increase on repaint.
Severity: normal → critical
Component: CSS Parsing and Computation → General
Priority: -- → P2
Product: Core → Firefox
Group: core-security
Component: General → Layout: Tables
Product: Firefox → Core

I just found this bug as well. I can confirm that a table as a child of a parent with display: grid really messes up the layout of a table, and that upon repaint, the table padding gets infinite larger with each repaint.

Not sure what to do about this, since this is more or less a plain-vanilla table in a grid layout.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.