Bug 11944

Summary: Quirksmode: Floats inside a scrolling div inside a table
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal Keywords: HasReduction
Priority: P2    
Version: 420+   
Hardware: Macintosh   
OS: OS X 10.4   
URL: http://www.quirksmode.org/bugreports/archives/2006/10/Floats_inside_a_scrolling_div_inside_a_table.html
Bug Depends on:    
Bug Blocks: 9610    
Attachments:
Description Flags
Test page none

Description David Kilzer (:ddkilzer) 2006-12-23 05:32:01 PST
Let's say you've some content inside a div with a defined size, which is inside a table. The div is set to overflow: auto, so any content that won't fit should scroll.

In Safari and Shiira, if the content inside the div is floated, the table height (not the div height) will expand to fit the height of the content inside the div.

Reported on 18 October 2006.

Test page: http://nightstand.org/random/safaribugtest.html

Tested on locally-built debug build of WebKit r18401 with Safari 2.0.4 (419.3)
on Mac OS X 10.4.8 (8N1037).
Comment 1 David Kilzer (:ddkilzer) 2006-12-23 05:33:13 PST
Created attachment 11983 [details]
Test page
Comment 2 David Kilzer (:ddkilzer) 2006-12-23 07:06:54 PST

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