[Webkit-unassigned] [Bug 141331] New: getBoundingClientRect() returns wrong values while CSS transform is transitioned or animated

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 6 05:38:31 PST 2015


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

            Bug ID: 141331
           Summary: getBoundingClientRect() returns wrong values while CSS
                    transform is transitioned or animated
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Animations
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: buddha-1 at mail.ru
                CC: dino at apple.com

Created attachment 246161
  --> https://bugs.webkit.org/attachment.cgi?id=246161&action=review
A page to reproduce an aspect of the bug

Element.getBoundingClientRect() returns wrong values when CSS transition or animation is running on the element, and the animated property is "transform".

Steps:
1. Open the attached file.
2. Open console.
3. See wrong values for "getBoundingClientRect().left" being logged as the element slides horizontally on the screen.

Tested in Firefox 35 and IE 11. Their consoles are reporting the right offsets.

Webkit based browsers (Chrome, Opera) log the same (incorrect) value several times.

-- 
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/20150206/e689e32f/attachment-0002.html>


More information about the webkit-unassigned mailing list