Closed Bug 1312671 Opened 9 years ago Closed 9 years ago

CSS table with 100vh containing a table-cell with overflow:auto does not catch overflow

Categories

(Core :: Layout: Tables, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 221154

People

(Reporter: peter, Unassigned)

Details

(Keywords: testcase)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36 Steps to reproduce: Reduced test case at http://codepen.io/pkra/pen/dpGYvX In a display:table element with height:100vh nest a display:table-cell with overflow-y:auto and a child with height>100vh. Actual results: The content overflows the table-cell. Expected results: The overflow is contained and scrollable. (This is how WebKit, Blink, Trident, and Edge behave.)
Component: Untriaged → Layout
Product: Firefox → Core
Version: 49 Branch → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Component: Layout → Layout: Tables
Keywords: testcase
Resolution: --- → DUPLICATE
Thanks, Mats and apologies for not finding that other bug before filing this one.
You need to log in before you can comment on or make changes to this bug.