Bug 9137

Summary: Children with percentage heights of absolutely positioned element with height: auto and top and bottom non-auto does not lay out correctly
Product: WebKit Reporter: Sam Weinig <sam>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch mjs: review+

Sam Weinig
Reported 2006-05-27 15:58:08 PDT
More precisely, the height of an absolutely position object is affectively not auto when top: and bottom: are not auto (whether or not height is auto), but the children of these absolutely positioned objects with percentage (%) heights are not recognizing this. The rendering for both replaced and non-replaced children is wrong, though differently so.
Attachments
patch (5.88 KB, patch)
2006-05-27 16:37 PDT, Sam Weinig
mjs: review+
Sam Weinig
Comment 1 2006-05-27 16:37:17 PDT
Created attachment 8575 [details] patch patch with 2 test cases
Maciej Stachowiak
Comment 2 2006-05-27 19:06:10 PDT
Comment on attachment 8575 [details] patch r=me
Beth Dakin
Comment 3 2006-05-30 14:08:08 PDT
I committed this patch.
Note You need to log in before you can comment on or make changes to this bug.