Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <!-- |
michael@0 | 4 | spec: http://dev.w3.org/csswg/css3-background/#the-background-repeat |
michael@0 | 5 | --> |
michael@0 | 6 | <head> |
michael@0 | 7 | <title>background-repeat single value mapping reference</title> |
michael@0 | 8 | <style> |
michael@0 | 9 | div |
michael@0 | 10 | { |
michael@0 | 11 | width: 128px; |
michael@0 | 12 | height: 128px; |
michael@0 | 13 | background-image: url(aqua-yellow-32x32.png); |
michael@0 | 14 | border: 1px solid black; |
michael@0 | 15 | } |
michael@0 | 16 | #no_repeat |
michael@0 | 17 | { |
michael@0 | 18 | background-repeat: no-repeat; /* no-repeat no-repeat */ |
michael@0 | 19 | } |
michael@0 | 20 | #repeat |
michael@0 | 21 | { |
michael@0 | 22 | background-repeat: repeat; /* repeat repeat */ |
michael@0 | 23 | } |
michael@0 | 24 | #repeat_x |
michael@0 | 25 | { |
michael@0 | 26 | background-repeat: repeat-x; /* repeat no-repeat */ |
michael@0 | 27 | } |
michael@0 | 28 | #repeat_y |
michael@0 | 29 | { |
michael@0 | 30 | background-repeat: repeat-y; /* no-repeat repeat */ |
michael@0 | 31 | } |
michael@0 | 32 | </style> |
michael@0 | 33 | </head> |
michael@0 | 34 | <body> |
michael@0 | 35 | <div id="no_repeat"></div> |
michael@0 | 36 | <div id="repeat"></div> |
michael@0 | 37 | <div id="repeat_x"></div> |
michael@0 | 38 | <div id="repeat_y"></div> |
michael@0 | 39 | </body> |
michael@0 | 40 | </html> |
michael@0 | 41 | |
michael@0 | 42 |