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 <title>menclose inner and outer circle</title>
5 <meta charset="utf-8"/>
6 <script type="text/javascript">
7 function doTest()
8 {
9 var box1 = document.getElementById("outer").getBoundingClientRect();
10 var box2 = document.getElementById("inner").getBoundingClientRect();
11 var epsilon = 0.1;
12 if ((box1.width >= ((Math.sqrt(2) - epsilon)*box2.width)) && (box1.height >= ((Math.sqrt(2) - epsilon)*box2.height))) {
13 document.body.innerHTML = "Pass";
14 }
15 document.documentElement.removeAttribute("class");
16 }
17 window.addEventListener("MozReftestInvalidate",doTest, false);
18 </script>
19 </head>
20 <body>
21 <div style="position: absolute; left: 20px; top: 20px;">
22 <math>
23 <menclose id="outer" notation="circle">
24 <mspace id="inner" width="200px" height="100px"></mspace>
25 </menclose>
26 </math>
27 </div>
28 </body>
29 </html>