1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/mathml/menclose-2-longdiv-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +<!doctype html> 1.5 +<html class="reftest-wait"> 1.6 + <head> 1.7 + <title>menclose longdiv</title> 1.8 + <meta charset="utf-8"/> 1.9 + <script type="text/javascript"> 1.10 + function doTest() 1.11 + { 1.12 + var box = document.getElementById("box").getBoundingClientRect(); 1.13 + var x = " " + box.left + "," + box.top + " " ; 1.14 + document.getElementById("path").setAttribute("d", 1.15 + "M" + (box.left + "," + (box.top + box.height)) + 1.16 + "Q" + ((box.left + 15) + "," + (box.top + box.height)/2) + x + 1.17 + "L" + ((box.left + box.width) + "," + box.top)); 1.18 + document.documentElement.removeAttribute("class"); 1.19 + } 1.20 + window.addEventListener("MozReftestInvalidate",doTest, false); 1.21 + </script> 1.22 + </head> 1.23 + <body> 1.24 + 1.25 + <div style="position: absolute; left: 20px; top: 20px;"> 1.26 + <math> 1.27 + <mphantom> 1.28 + <menclose id="box" notation="longdiv"> 1.29 + <mspace width="200px" height="100px"></mspace> 1.30 + </menclose> 1.31 + </mphantom> 1.32 + </math> 1.33 + </div> 1.34 + 1.35 + <div style="position: absolute; left: 0px; top: 0px;"> 1.36 + <svg width="500px" height="500px"> 1.37 + <path id="path" style="fill: none; stroke-width: 11px; stroke: green; stroke-linecap: round; shape-rendering: crispEdges;"></path> 1.38 + </svg> 1.39 + </div> 1.40 + 1.41 + </body> 1.42 +</html>