Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!-- |
michael@0 | 2 | Any copyright is dedicated to the Public Domain. |
michael@0 | 3 | http://creativecommons.org/licenses/publicdomain/ |
michael@0 | 4 | |
michael@0 | 5 | Test with background-size. |
michael@0 | 6 | --> |
michael@0 | 7 | <html> |
michael@0 | 8 | <body> |
michael@0 | 9 | <div style="width:120px; height:120px; border:1px solid black; |
michael@0 | 10 | background:-moz-element(#d) no-repeat; |
michael@0 | 11 | background-size:100%"></div> |
michael@0 | 12 | <div style="overflow:hidden; height:0;"> |
michael@0 | 13 | <div id="d" style="border:10px solid red; width:20px; height:20px; |
michael@0 | 14 | background:orange;"></div> |
michael@0 | 15 | </div> |
michael@0 | 16 | </body> |
michael@0 | 17 | </html> |