Closed
Bug 770134
Opened 14 years ago
Closed 13 years ago
The createPattern() method of the canvas.getContext("2d") object fail for the repeat-x and repeat-y values in the repeat parameter
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 468358
People
(Reporter: jean.paul.ranchin, Unassigned)
Details
Attachments
(1 file)
|
3.36 KB,
application/octet-stream
|
Details |
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1
Build ID: 20120614114901
Steps to reproduce:
The createPattern(image,repeat) method, of the canvas.getContext("2d") object, fill the background with the image.
Actual results:
repeat - repeat the image horizontaly and verticaly = OK
repeat-x - repeat the image horizontaly and verticaly = Fail
repeat-y - repeat the image horizontaly and verticaly = Fail
no-repeat - show one image = OK
Expected results:
repeat - repeat the image horizontaly and verticaly
repeat-x - repeat the image horizontaly
repeat-y - repeat the image verticaly
no-repeat - show one image
Comment 1•14 years ago
|
||
Could you provide a small testcase?
This HTML5 test file use the createPattern() method whis different values of the repeat parameter. Use it whis Firefox. Then use it whis Opera or Google Chrome and see the difference.
Updated•13 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•