layout/reftests/mathml/menclose-2-updiagonalstrike.html

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <!doctype html>
     2 <html class="reftest-wait">
     3  <head>
     4     <title>menclose updiagonalstrike</title>
     5     <meta charset="utf-8"/>
     6     <script type="text/javascript">
     7       function doTest()
     8       {
     9         var box = document.getElementById("box").getBoundingClientRect();
    10         document.getElementById("path").setAttribute("d",
    11         "M" + (box.left + "," + box.bottom) + " " +
    12         "l" + (box.width + "," + (-box.height)));
    13         document.documentElement.removeAttribute("class");
    14       }
    15       window.addEventListener("MozReftestInvalidate",doTest, false);
    16     </script>
    17   </head>
    18   <body>
    20     <div style="position: absolute; left: 20px; top: 20px;">
    21       <math>
    22         <menclose id="box" notation="updiagonalstrike">
    23           <mspace width="200px" height="100px"></mspace>
    24         </menclose>
    25       </math>
    26     </div>
    28     <div style="position: absolute; left: 0px; top: 0px;">
    29       <svg width="500px" height="500px">
    30         <path id="path" style="fill: none; stroke-width: 5px; stroke: green; stroke-linecap: round; shape-rendering: crispEdges;"></path>
    31       </svg>
    32     </div>
    34   </body>
    35 </html>

mercurial