Bug 15298

Summary: Misalignment is caused if the parent <DIV>'s width is less than child's <DIV> 's width.
Product: WebKit Reporter: Anantha Keesara <anantha>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: gsherloc
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
URL: www.mynet.com
Attachments:
Description Flags
Misalignment is caused if the parent <DIV>'s width is less than child's <DIV> 's width. none

Description Anantha Keesara 2007-09-27 08:05:16 PDT
Steps:
1. go to: http://blog.mynet.com/?adussid=FQrt53bpB8

Issue:
Scroll down the page to see the misalignment.

Other browsers: 
IE, FF, Opera gets it right.
Comment 1 Anantha Keesara 2007-09-27 08:06:53 PDT
Created attachment 16417 [details]
Misalignment is caused if the parent <DIV>'s width is less than child's <DIV> 's width.
Comment 2 Gavin Sherlock 2007-09-27 08:14:22 PDT
Problem also exists on Mac 10.4.10, with both released Safari and a recent nightly build (r25464)
Comment 3 Dave Hyatt 2007-09-27 08:57:14 PDT
I think maybe the parse error (there is invalid CSS on the innermost blocks' CSS) is confusing things.

Comment 4 Dave Hyatt 2007-09-27 09:01:47 PDT
I think this is just a max pref width problem.  We don't take into account the constrained containing block width of the parent.
Comment 5 Eric Seidel (no email) 2008-04-15 15:18:45 PDT
FF3b5 renders this test case identically to Safari.  Perhaps this should just be closed as INVALID?
Comment 6 Eric Seidel (no email) 2008-04-15 15:21:39 PDT
IE8 also matches this behavior.  Closing as INVALID.