Closed
Bug 308929
Opened 19 years ago
Closed 19 years ago
Using canvas createPattern only draws a single image and doesn't repeat it
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: kamiel, Unassigned)
Details
Attachments
(1 file)
|
665 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4 If you use the drawing context createpattern method to create a new pattern it only draws a single image to the canvas. The repetition parameter doesn't have any effect. Reproducible: Always Steps to Reproduce: 1. See testcase 2. 3. Actual Results: Only one image is drawn Expected Results: Drawn a wallpaper type pattern
| Reporter | ||
Updated•19 years ago
|
Version: Trunk → 1.8 Branch
| Reporter | ||
Comment 1•19 years ago
|
||
Please retest in a nightly; I checked in repeat support after beta 1 shipped. Note that repeat-x and repeat-y will do the same thing as "repeat"; that probably won't be fixed for 1.5, butt should have a new bug filed for that.
| Reporter | ||
Comment 3•19 years ago
|
||
Yes, in yesterdays nightly (20050919) this now seems to work. I'll make a note of the repeat-x and repeat-y options in the canvas tutorial i'm working on over at the Mozilla Developer Center.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•