[Webkit-unassigned] [Bug 25272] New: rendering of floating <div> elements with % width resizes in "steps"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 17 14:21:52 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25272

           Summary: rendering of floating <div> elements with % width
                    resizes in "steps"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://nan-desu.com/example.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: blight.master at gmail.com


When rendering floating divs with % widths, each div is given a calculated
pixel width which is equal to divs with the same % width. However, in cases
where the sum of the width of the divs *should* be 100%, the divs are still
rendered with equal widths (resulting in a sum width of less than 100%).

Observe the following example:

http://nan-desu.com/example.html

Here there are 6 floating divs each with a width of 16.6667% (16.6667 ==
100/6). These divs will only fill the container if the width of the container
is evenly divisible by 6. When the width of the container is not divisible by 6
there will be a gap of 1-5 pixels between the end of the last floating div and
the border of the container.


-- 
Configure bugmail: https://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