New issue
Advanced search Search tips

Issue 647944 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Canvas doesn't work properly with "translate" function

Reported by driv...@gmail.com, Sep 17 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36

Example URL:
http://jsfiddle.net/4vp21mr7/1/

Steps to reproduce the problem:
1. Create a canvas element
2. Put an image on it with createPattern(img, "no-repeat"). NB: it doesn't works only with "no-repeat".
3. Translate the context

What is the expected behavior?

What went wrong?
It leaves a trace when translating

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes 

Does this work in other browsers? No Firefox 48 Branch

Chrome version: 53.0.2785.116  Channel: stable
OS Version: 
Flash Version: Shockwave Flash 23.0 r0

It's a problem only on Chrome and Firefox. Other browsers are ok (IE/Edge/Opera/Safari).
As reported here https://bugzilla.mozilla.org/show_bug.cgi?id=1302718 it seems that they both not follow https://html.spec.whatwg.org/multipage/scripting.html#dom-context-2d-createpattern, especially the point five
 
chrome.png
396 KB View Download

Comment 1 by f...@opera.com, Sep 19 2016

Components: -Blink Blink>Canvas
Cc: xidac...@chromium.org
I can repro this with stable version, but cannot repro it on ToT, screenshot is attached. This is likely fixed along the way.
Screenshot from 2016-09-19 09:30:41.png
587 KB View Download
Status: WontFix (was: Unconfirmed)

Sign in to add a comment