layout/reftests/mathml/menclose-2-roundedbox-ref.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!doctype html>
     2 <html class="reftest-wait">
     3 <head>
     4 	<meta charset="utf-8"/>
     5 	<title>menclose roundedbox</title>
     7 	<script type="text/javascript">
     8       function doTest()
     9       {
    10         var box = document.getElementById("roundedbox").getBoundingClientRect();
    11         r = document.getElementById("box");
    12         r.style.left = (box.left - 6) + "px";
    13         r.style.top = (box.top - 6) + "px";
    14         r.style.width = (box.width - 6) + "px";
    15         r.style.height = (box.height - 6) + "px";
    16         document.documentElement.removeAttribute("class");
    17       }
    18       window.addEventListener("MozReftestInvalidate",doTest, false);
    19     </script>
    20 </head>
    21 <body>
    22 	<div style="position: absolute; left: 20px; top: 20px;">
    23       <math>
    24         <mphantom>
    25           <menclose id="roundedbox" notation="roundedbox">
    26             <mspace width="200px" height="100px"></mspace>
    27           </menclose>
    28         </mphantom> 
    29       </math>
    30     </div>
    32     <div id="box" style="position: absolute; border:10px solid #000; border-radius:10px 10px 10px 10px;" >
    33     </div>
    35 </body>
    36 </html>

mercurial