[Webkit-unassigned] [Bug 230217] New: offsetLeft on display:inline element in vertical-rl parent can return a negative number

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 13 07:16:20 PDT 2021


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

            Bug ID: 230217
           Summary: offsetLeft on display:inline element in vertical-rl
                    parent can return a negative number
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mrobinson at webkit.org

Created attachment 438036

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

Reduced testcase

When an element has display:inline in a parent with writing-mode:vertical-rl, the offsetLeft property of the element is calculated incorrectly. In some cases, a negative number may be returned. This behavior can be observed in the attached test case, which prints the value of offsetLeft to the console.

-- 
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/20210913/41f398e8/attachment.htm>


More information about the webkit-unassigned mailing list