transform-rounding-001.html (908B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Rounding</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 <meta name="assert" content='This tests that the implementation does not 8 round intermediate matrices to the extent that it significantly distorts 9 the final result. (No requirement in the specification places any specific 10 constraints on rounding, but simple cases like this should not deviate 11 dramatically from the mathematically precise result.)'> 12 <link rel="match" href="transform-rounding-ref.html"> 13 <style> 14 div { 15 height: 100px; 16 width: 100px; 17 background: blue; 18 transform: scale(100000) translate(0.001px) scale(0.00001); 19 } 20 </style> 21 </head> 22 <body> 23 <div></div> 24 </body> 25 </html>