summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/crashtests/mozilla/395450-1.xhtml
blob: 79510267bacc1e848b7a5d678ac64674d77cd2a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML">

<head>
<style>

/*
  This testcase uses [class~="foo"] instead of .foo to work around bug 276267
  (see bug 379178 comment 78)
*/

[class~="abs"] { position: absolute; }
[class~="marg"] { margin: 1em; }
[class="noheight"] {  height: 0; }

</style>
</head>

<body>

<math:mrow class="noheight">
  <span class="abs">
    <math:mroot class="abs marg" />
    <span class="abs" />
  </span>
</math:mrow>

</body>
</html>