1 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8">
7 <title>Testing accuracy of transform evaluation
</title>
8 <style type=
"text/css" media=
"screen">
13 outline:
1px solid black;
18 background-color: green;
19 transform: rotate(
90deg);
25 <script src=
"resources/transform-test-utils.js" type=
"text/javascript" charset=
"utf-8"></script>
26 <script type=
"text/javascript" charset=
"utf-8">
27 if (window.testRunner) {
28 testRunner.dumpAsText();
29 testRunner.waitUntilDone();
33 { 'transform' : 'scale(
0.0000001) scale(
10000000)', 'result' : 'matrix(
1,
0,
0,
1,
0,
0)' },
34 { 'transform' : 'rotate(-
10deg) rotate(
10deg) rotate(
360deg) rotate(-
360deg) rotate(
360deg)', 'result' : 'matrix(
1,
0,
0,
1,
0,
0)' },
35 { 'transform' : 'translate(
10000000px) translate(-
10000000px)', 'result' : 'matrix(
1,
0,
0,
1,
0,
0)' },
42 if (window.testRunner)
43 testRunner.notifyDone();
47 <body onload=
"runTests()">
49 <div class=
"container">
50 <div id=
"test-box" class=
"box"></div>