|Summary:||incorrect height calculation inside nested positioned elements|
|Product:||WebKit||Reporter:||Max Barel <max>|
|Component:||CSS||Assignee:||Dave Hyatt <hyatt>|
|Version:||528+ (Nightly build)|
|OS:||OS X 10.5|
Description Max Barel 2008-09-19 10:05:33 PDT
When - a div is absolute and its height is not specified but must be computed from top and bottom, - a nested absolute div has its size computed from parent (correctly computed) - a nested image inside the previous, with relative height got an incorrect size The image size is calculated relative to body rather than closest positioned parent. Strange enough, calculation of the width is correct. See test case in attachment.
Comment 2 Dave Hyatt 2008-09-19 13:12:47 PDT
I see the problem. Taking.