HTML and CSS Reference
In-Depth Information
Figure 2-38. no-repeat, repeat-x, and repeat-y in Chrome
Note that to have a
repeat-x
fill work you have to translate to the
x,y
position that you want
to draw into and then use
0,0
as the
x,y
coordinates in the
fillRect
function call.