transform-root-bg-002.html (943B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): scale(-1) on Root Element With Background On Body</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-rendering"> 7 <meta name="assert" content="Identical to transform-root-bg-001.html, 8 except that the background property is put on the body rather than the root 9 element. This should make no difference, because the body's background 10 propagates up to the canvas if there's no root element background."> 11 <link rel="match" href="transform-root-bg-001-ref.html"> 12 <style> 13 html { 14 transform: scale(-1); 15 } 16 body { 17 background: url(support/transform-triangle-left.svg); 18 /* The default 8px margin makes the background not line up exactly */ 19 margin: 0; 20 } 21 </style> 22 </head> 23 <body> 24 </body> 25 </html>