Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
michael@0 | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>css3-background: number of background layers determined by background-image</title> |
michael@0 | 5 | <link rel="author" title="L. David Baron" href="http://dbaron.org/" /> |
michael@0 | 6 | <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
michael@0 | 7 | <link rel="help" href="http://dev.w3.org/csswg/css3-background/#layering" /> |
michael@0 | 8 | <meta name="flags" content="" /> |
michael@0 | 9 | <style type="text/css"><![CDATA[ |
michael@0 | 10 | |
michael@0 | 11 | body > div { |
michael@0 | 12 | position: relative; height: 300px; width: 100px; |
michael@0 | 13 | background-repeat: no-repeat; |
michael@0 | 14 | background-position: 10px 10px, 5px 5px, 20px 20px, 15px 15px; |
michael@0 | 15 | background-image: url(aqua-32x32.png); |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | body > div > div { |
michael@0 | 19 | position: absolute; height: 200px; width: 100px; top: 100px; left: 0; |
michael@0 | 20 | background-repeat: no-repeat; |
michael@0 | 21 | background-position: inherit; |
michael@0 | 22 | background-image: url(yellow-32x32.png), url(aqua-32x32.png), url(blue-32x32.png), url(fuchsia-32x32.png), url(red-32x32.png); |
michael@0 | 23 | } |
michael@0 | 24 | |
michael@0 | 25 | body > div > div > div { |
michael@0 | 26 | position: absolute; height: 100px; width: 100px; top: 100px; left: 0; |
michael@0 | 27 | background: inherit; |
michael@0 | 28 | background-image: url(blue-32x32.png), url(yellow-32x32.png), url(fuchsia-32x32.png); |
michael@0 | 29 | } |
michael@0 | 30 | |
michael@0 | 31 | |
michael@0 | 32 | ]]></style> |
michael@0 | 33 | </head> |
michael@0 | 34 | <body> |
michael@0 | 35 | |
michael@0 | 36 | <div><div><div></div></div></div> |
michael@0 | 37 | |
michael@0 | 38 | </body> |
michael@0 | 39 | </html> |