Summary: | Incorrect height layout when DIV has height 100% and padding/border existed. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | James <jimmyps.ong> | ||||
Component: | Layout and Rendering | Assignee: | Robert Hogan <robert> | ||||
Status: | NEW --- | ||||||
Severity: | Normal | CC: | hyatt, robert | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
James
2007-11-15 20:23:24 PST
Created attachment 17310 [details]
Testcase
Testcase
Confirmed rendering difference with Firefox 2.0.0.9, Opera 9.22 and Firefox 3.0b2 (14-Nov-2007). Tested with a local debug build of WebKit r27716 with Safari 3.0.4 (523.12) on Mac OS X 10.4.11 (8S165). Hi While anaysing the root cause for this bug, came to know that the padding height was deducted from the original height of the block and was resulting in the gap which was filled with the background color. As a work around I made changes to recalculate the height in renderbox.cpp. With these changes the test case is behaving as it is behaving in IE. Let me know whether my anaysis is right or wrong. Thanks |