transform-background-004.html (1113B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Transform of Background Image (nested flip)</title> 5 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 6 <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-property"> 7 <link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com"> <!-- 2012-04-17 --> 8 <meta name="assert" content="Background images fall within the element's 9 border box, so they need to be transformed along with it. This file tests 10 that a transform on the parent works correctly, not just on the element 11 itself."> 12 <meta name="flags" content="svg"> 13 <meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-400"> 14 <link rel="match" href="transform-background-ref-1.html"> 15 <style> 16 div { 17 width: 200px; 18 height: 100px; 19 } 20 body > div { 21 transform: scale(-1); 22 } 23 body > div > div { 24 background: url(support/transform-triangle-down.svg); 25 } 26 </style> 27 </head> 28 <body> 29 <div> 30 <div></div> 31 </div> 32 </body> 33 </html>