[Webkit-unassigned] [Bug 19123] New: An element with block formatting context adjacent to a floated block has phantom right margin.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 18 22:47:09 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=19123
Summary: An element with block formatting context adjacent to a
floated block has phantom right margin.
Product: WebKit
Version: 526+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: phiw at l-c-n.com
An element that establishes a new block formatting context overflow:hidden in
testcase (per CSS2.1:9.4.1), has a left-margin, and is adjacent to a left
floated block, has a phantom margin on the right side, equivalent in width to
its left-margin.
Actual result: a 20px gap at the right of the element.
Expected result: no gap. Compare rendering in (recent) Gecko 1.9 builds.
tested with WebKit-SVN-r33561, Safari 3.1.1 and anything older
Note: with a right floated element and a right-margin on the element with block
formatting, the margin is applied between the float and element, contradicting
CSS2.1:9.5
--
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