New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 776534 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Canvas 2D fails to render line/rect when one coordinate is very large/negative

Reported by ja...@getcruise.com, Oct 19 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36

Steps to reproduce the problem:
1. Visit https://jsfiddle.net/gxfcLpw6/2/
2. Drag the slider to the right

What is the expected behavior?
The first segment of the path should always be visible. The onscreen portion of the rectangle should always be visible.

What went wrong?
When the slider is far enough to the right, the entire stroked path and rectangle disappear.

Did this work before? N/A 

Does this work in other browsers? No
 The same issue occurs in Safari. I just filed: rdar://problem/35080907

The same issue occurs in Firefox on Ubuntu.

Chrome version: 62.0.3202.62  Channel: stable
OS Version: OS X 10.13.0
Flash Version: Shockwave Flash 27.0 r0

The most recent stable channel release of Chrome changed the behavior slightly. When the coordinate was very large and POSITIVE in the y-direction, the same issue occurred. It now occurs *only* when the coordinate is negative. (Try switching the - to a + in the definition of ypos.)
 
Labels: Needs-Triage-M62
Cc: divya.pa...@techmahindra.com
Labels: Triaged-ET M-64 untriaged OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on the reported chrome version 62.0.3202.62 and on the latest canary 64.0.3243.0 on Windows10, Mac 10.12.6 and on Ububtu 14.04 with the steps mentioned in comment#0. 

As the issue is seen from M50(50.0.2634.0) considering it as non-regression and marking as untriaged

Comment 3 by junov@chromium.org, Oct 30 2017

Components: Internals>Skia
Status: Available (was: Untriaged)
Labels: -untriaged
Owner: bsalomon@chromium.org
Status: Assigned (was: Available)
The float numbers are processed and passed correctly from Blink to Skia. The root of the problem should be somewhere in SkPath::lineTo().
Adding bsalomon@ for triage.

Sign in to add a comment