New issue
Advanced search Search tips

Issue 744220 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression



Sign in to add a comment

canvas 2 rects with 1px width or height are not drawn

Reported by ubik....@gmail.com, Jul 17 2017

Issue description

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

Steps to reproduce the problem:
See attachment
1. create canvas element with > 500px width
2. begin path, add two rectangles with 1px width or height
3. fill pat.
4. Nothing is drawn.

What is the expected behavior?
Two rectangles with 1px width/height shall be drawn

What went wrong?
There are no rectangles.

Did this work before? Yes 58.0

Does this work in other browsers? Yes

Chrome version: 59.0.3071.115  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 26.0 r0

I've checked another browsers and it works there, also previous version of Chrome doesn't contain this bug.
If I add mock call like canvas.rect(0,0,0,0), rectangles appear
 
canvasRectBug.txt
420 bytes View Download

Comment 1 by junov@chromium.org, Jul 17 2017

Owner: senorblanco@chromium.org
Status: Assigned (was: Unconfirmed)
Looks like a bug with GPU-accelerated path rasterization.
@senorblanco: PTAL

Comment 2 by ubik....@gmail.com, Oct 17 2017

Guys, it's looked fixed now in the 61 version. 
Status: Fixed (was: Assigned)
OK, marking as fixed per C#2.

Sign in to add a comment