Summary: | Absolutely positioned objects with 'height': auto and 'top': and 'bottom': non-auto should not be content based | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sam Weinig <sam> | ||||||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | webkitbugz | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 420+ | ||||||||||||
Hardware: | Mac | ||||||||||||
OS: | OS X 10.4 | ||||||||||||
Attachments: |
|
Description
Sam Weinig
2006-05-23 18:02:05 PDT
Created attachment 8506 [details]
test case
Created attachment 8507 [details]
patch
Moves overflow code to after all the height calculations have been made for calcAbsoluteVertical and entirely removes it from the replaced version where it should never be used. Also moves the calculation of containerheight and containerwidth to sepertate functions inorder to share the code.
Created attachment 8530 [details]
patch2
More targeted version of the patch.
Created attachment 8569 [details]
another test case of interest
Hyatt mentioned that the bug in this additional test case is likely to be related. In this case, percentage height for a child of an absolute positioned element with height unspecified but top and bottom specified is not handled correctly.
Added bug 9137 to track the issue in maciej's test case. Comment on attachment 8530 [details]
patch2
r=me
I committed this patch. |