[Webkit-unassigned] [Bug 172836] New: [css-grid] Logical margin incorrectly applied during the tracks sizing algorithm of auto tracks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 1 14:48:56 PDT 2017


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

            Bug ID: 172836
           Summary: [css-grid] Logical margin incorrectly applied during
                    the tracks sizing algorithm of auto tracks
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfernandez at igalia.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 311761

  --> https://bugs.webkit.org/attachment.cgi?id=311761&action=review

Test case to reproduce the issue

There are some cases where right/left margin is applied to determine an orthogonal item's width. This is incorrect because right/left are absolute directions which can operate along inline or block item's axis depending on its writing-mode.
It seems we are using the grid container's writing-mode to determine the logical size of the margin. This is incorrect for orthogonal items, as it's shown in the attached test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170601/a5348d54/attachment.html>


More information about the webkit-unassigned mailing list