Bug 15151

Summary: Computed tr height is incorrect
Product: WebKit Reporter: Mike Aizatsky <mike.aizatsky>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: dbates, mitz
Priority: P2 Keywords: HasReduction
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
A test case none

Description Mike Aizatsky 2007-09-06 07:48:10 PDT
According to http://www.w3.org/TR/REC-CSS2/tables.html#q7 

17.5.3

The height of a 'table-row' element's box is calculated once the user agent has all the cells in the row available: it is the maximum of the row's specified 'height' and the minimum height (MIN) required by the cells. 

Load the attached sample & press the button - tr disappears, though it clearly had a height assigned.

Mozilla has the intended behaviour - tr has its height.
Comment 1 Mike Aizatsky 2007-09-06 07:50:38 PDT
Created attachment 16207 [details]
A test case

Test case attached
Comment 2 mitz 2007-09-06 08:22:58 PDT
Note that if the TR's style attribute is specified in markup (rather then set after parsing), the test case behaves as expected.
Comment 3 Daniel Bates 2010-01-24 15:16:48 PST

*** This bug has been marked as a duplicate of bug 24971 ***