[Webkit-unassigned] [Bug 16152] New: floated box did not shift downward next line when any content in the current line before a floated box has been put into layout flow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 26 18:42:15 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16152

           Summary: floated box did not shift downward next line when any
                    content in the current line before a floated box has
                    been put into layout flow
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: johnnyding.webkit at gmail.com


In IE6/7 & Firefox(both 2.xx & 3.0), when any content in the current line
before a floated box is reflowed.  The floated box will always be shift
downward to next line until either it fits or there are no more floats present.
Test with both standard and quirk mode.

In Webkit, if sum of both width of content before floated box and width of
floated box is fit current line, then both of them will be placed to current
line, and the before content will placed on right side of left floated box or
left side of right floated box. If not, the floated box will be shift downward
to next line like other browser did.

The opera has same behavior just like Webkit.

After checking CSS V2 specification. (Chapter 9.5, paragraphs 2,3,4),  Webkit's
behavior is complied with CSS specification, but since Firefox and IE did not
follow this rule and some popular Chinese Websites depend IE/Firefox's behavior
to design their webpage layout, such as www.dangdang.com(China Amazon)

Should WebKit be compatible with FireFox's behavior(will be against CSS
Specification) or just follow standard.

If you guys decide that WebKit will be compatible with IE/FireFox's behavior. I
will send a patch to you guys for review


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list