[Webkit-unassigned] [Bug 119393] New: [CSS Regions] Margins are not correctly computed in regions with mixed widths

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 1 05:46:21 PDT 2013


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

           Summary: [CSS Regions] Margins are not correctly computed in
                    regions with mixed widths
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: simon.pena at samsung.com
                CC: mihnea at adobe.com
            Blocks: 57312


Created an attachment (id=207918)
 --> (https://bugs.webkit.org/attachment.cgi?id=207918&action=review)
LayoutTest proposal

(This shares the same preconditions as bug #74131)

If you have an element in a region with a percentage margin, and the region is followed by another region with a larger width, the size and margin calculations are using the widest region in the flow, then moving and clipping for display in the first region. As a result, using getComputedStyle to retrieve these margins fails, giving the original values which used the widest region in the flow.

I created a test, starting from the one attached in bug #74131 and modifying it to incorporate the logic from http://trac.webkit.org/browser/trunk/LayoutTests/fast/css/getComputedStyle/getComputedStyle-margin-percentage.html. It can be seen how the test passes once we remove the second region with the larger width.

-- 
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