[Webkit-unassigned] [Bug 173477] New: getComputedStyle returns wrong value of top

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 16 10:00:34 PDT 2017


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

            Bug ID: 173477
           Summary: getComputedStyle returns wrong value of top
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Macintosh
                OS: macOS 10.12.4
            Status: NEW
          Severity: Major
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rjammoul at murex.com

As of Safari Technology Preview 33, the getComputedStyle is returning a wrong value of top.

You can refer to https://jsbin.com/qubarediru/1/edit?html,js,output for reference.
For the same html document, window.getComputedStyle(document.body).top is returning a wrong value in Safari Technology Preview:
In Chrome Version 58.0.3029.110 (64-bit) and Safari Version 10.1.1 (12603.2.4) , the value returned is auto.
In Safari Technology Preview Release 33 (Safari 11.0, WebKit 12604.1.25.0.2), the value is -8px.

-- 
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/20170616/9bb7c6e1/attachment.html>


More information about the webkit-unassigned mailing list