Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 <!DOCTYPE HTML>
2 <html class="reftest-wait">
3 <head>
4 <style>
5 #d {
6 background: red;
7 position: absolute;
8 top: 8px;
9 left: 8px;
10 height: 200px;
11 width: 800px;
12 transform: rotate(40deg);
13 -moz-transform: rotate(40deg);
14 }
15 #d2 {
16 background: white;
17 position: absolute;
18 top: 6px;
19 left: 6px;
20 height: 204px;
21 width: 804px;
22 transform: rotate(45deg);
23 -moz-transform: rotate(45deg);
24 }
25 </style>
26 </head>
27 <body>
28 <script>
29 function doTest() {
30 // The first rotation here makes the transform active. The second rotation
31 // sets it back where it belongs.
32 var d = document.getElementById("d");
33 d.style.transform = d.style.MozTransform = 'rotate(45deg)';
34 document.documentElement.removeAttribute('class');
35 }
36 window.addEventListener("MozReftestInvalidate", doTest, false);
37 </script>
38 <div id="d">test</div>
39 <!-- d2 covers up d completely so that we don't get a reftest failure due to a difference
40 between the rendering of an 'active transform' (transformed via layers) vs an inactive
41 transform (transformed via D2D or cairo) -->
42 <div id="d2">test</div>
43 </body>
44 </html>