[Webkit-unassigned] [Bug 74131] New: Incorrect margin-top result in regions with mixed widths
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 8 14:44:38 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74131
Summary: Incorrect margin-top result in regions with mixed
widths
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: stearns at adobe.com
Blocks: 57312
Created an attachment (id=118475)
--> (https://bugs.webkit.org/attachment.cgi?id=118475&action=review)
reftest
If you have an element in a region with a percentage margin, and the region is followed by another region with a larger width, this affects the top margin display. If the element is displayed entirely within a single region its margins should only be affected by that single region. If an element spans regions the margins should be calculated for each segment using the local region dimensions.
In the test file it appears as if the size and margin calculations are using the widest region in the flow, then moving and clipping for display in the first region. The computed dimensions are reported as 240px by 50px with a 30px margin, but the displayed dimensions are 160px by 50px with left and right margins of 20px and a top margin of 30px. For this testfile I'd expect the displayed dimensions but with an overall margin of 20px.
--
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