New issue
Advanced search Search tips

Issue 785219 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Wrong coordinates of the animated CSS offset-path.

Reported by aga...@gmail.com, Nov 15 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce the problem:
Demo: https://jsbin.com/melejew/5/edit?html,css,output.

What is the expected behavior?
The green circle should overlap the red circle.

What went wrong?
* In Win with devicePixelRatio 1 everything works correctly.
* In Win with devicePixelRatio 2 the green circle does not overlap the red circle.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 62.0.3202.94  Channel: stable
OS Version: 10.0
Flash Version: 

In Mac OS this problem was not noticed (both with Retina-display, and without).

Parental bug: https://bugs.chromium.org/p/chromium/issues/detail?id=654664.
 
devicePixelRatio1.png
143 KB View Download
devicePixelRatio2.png
294 KB View Download
Components: Blink>Animation
Labels: Needs-Bisect Needs-Triage-M62
Components: Blink>CSS
Labels: -Type-Bug -Pri-2 -Needs-Bisect hasbisect-per-revision M-64 Pri-1 Type-Bug-Regression
Owner: ericwilligers@chromium.org
Status: Assigned (was: Unconfirmed)
Able to reproduce the issue on Window 10 highdpi machine using chrome reported version #62.0.3202.94 and latest canary #64.0.3269.3.

Bisect Information:
=====================
Good build: 55.0.2866.0    Revision(419628)
Bad Build : 55.0.2867.0    Revision(419930)

Change Log URL: 
https://chromium.googlesource.com/chromium/src/+log/8e45c7b614dab5a62f0425e0752567b59a4035d5..ba9dc4f32ee4a0a29ab99be8274e2605998d14b1

From the above change log suspecting below change
Review url: https://codereview.chromium.org/2241993002

ericwilligers@ - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner.

Thanks...!!

Comment 4 by nainar@chromium.org, Nov 16 2017

Labels: Update-Weekly
Labels: -Update-Weekly
Components: -Blink>Animation
Labels: -M-64
Not a regression. The identified CL is when motion-path was renamed to offset-path.

Status: Started (was: Assigned)
When we calculate the translation from PointAndNormalAtLength, we need to adjust for zoom: 

    float zoom = EffectiveZoom();

    motion_path.GetPath().PointAndNormalAtLength(computed_distance, point,
                                                 angle);
    point.SetX(point.X() * zoom);
    point.SetY(point.Y() * zoom);

Project Member

Comment 8 by bugdroid1@chromium.org, Jan 11 2018

Status: Fixed (was: Started)

Sign in to add a comment