1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/mathml/menclose-2-roundedbox-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +<!doctype html> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 + <meta charset="utf-8"/> 1.8 + <title>menclose roundedbox</title> 1.9 + 1.10 + <script type="text/javascript"> 1.11 + function doTest() 1.12 + { 1.13 + var box = document.getElementById("roundedbox").getBoundingClientRect(); 1.14 + r = document.getElementById("box"); 1.15 + r.style.left = (box.left - 6) + "px"; 1.16 + r.style.top = (box.top - 6) + "px"; 1.17 + r.style.width = (box.width - 6) + "px"; 1.18 + r.style.height = (box.height - 6) + "px"; 1.19 + document.documentElement.removeAttribute("class"); 1.20 + } 1.21 + window.addEventListener("MozReftestInvalidate",doTest, false); 1.22 + </script> 1.23 +</head> 1.24 +<body> 1.25 + <div style="position: absolute; left: 20px; top: 20px;"> 1.26 + <math> 1.27 + <mphantom> 1.28 + <menclose id="roundedbox" notation="roundedbox"> 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 id="box" style="position: absolute; border:10px solid #000; border-radius:10px 10px 10px 10px;" > 1.36 + </div> 1.37 + 1.38 +</body> 1.39 +</html>