[Webkit-unassigned] [Bug 40113] Strange layout bug involving floats and overflow:hidden
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 12 02:09:52 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40113
kyounga <kyounga.ra at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kyounga.ra at gmail.com
--- Comment #1 from kyounga <kyounga.ra at gmail.com> 2010-10-12 02:09:52 PST ---
It looks the problem between left-float and left-margin.
I guess that the "content" width is caclulated as [the containg block's available width of "content"(960-siderbar's width) - left-margin(18em) value]
But, margin is the distance from containing block not neighbor block.
So, left-margin calculated from left edge of containing block("wrapper")
BTW, in case of overflow:hidden, I have two theory.
1. The line box of "content" has right value and draw the bgcolor.
But, the line box has no background-color.
The painting in webkit draws the inherited background-color from parent? not transparent?
2. Or the block width calculation is wrong only when it has "overflow:hidden"
But, "overflow" property should effect on "drawing" not "rendering", isn't it?
I'll analize this bug with latest nightly build.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list