[Webkit-unassigned] [Bug 47554] New: An inline element with an absolutely positioned child does not correctly calculate/render padding and margin
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 12 13:42:08 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=47554
Summary: An inline element with an absolutely positioned child
does not correctly calculate/render padding and margin
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
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: chadwick at bugeats.net
Created an attachment (id=70560)
--> (https://bugs.webkit.org/attachment.cgi?id=70560&action=review)
HTML page that recreates the issue
Given one or more inline elements with padding or margin ("spans") flowing inside a fixed container, adding an absolutely positioned child to the span causes the spans to overflow beyond the bounds of the container. Removing the absolutely positioned child (or setting 'display: none') results in normal flow.
It appears as if the presence of the absolutely positioned child causes the margin/padding dimensions to not be summed, as the overflow is proportional to the cumulative margin and padding.
The attached file renders correctly (or as expected) in Mozilla.
--
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