Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <html>
2 <head>
3 <style type="text/css">
5 body { font-family: monospace; width: 4ch; }
6 body::first-line { }
7 body *::before { content: 'w';}
9 </style>
11 <script type="text/javascript">
13 function boom()
14 {
15 var de = document.documentElement;
16 var body = document.body;
18 var span = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
19 var r1 = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mrow");
20 var mmm = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mmultiscripts");
22 body.appendChild(span);
23 r1.appendChild(document.createElementNS("http://www.w3.org/1998/Math/MathML", "mrow"));
24 body.appendChild(r1);
25 body.appendChild(mmm);
26 de.offsetHeight;
27 r1.appendChild(document.createElementNS("http://www.w3.org/1998/Math/MathML", 'mrow'));
28 de.offsetHeight;
29 mmm.appendChild(document.createElementNS("http://www.w3.org/1998/Math/MathML", 'mrow'));
30 de.offsetHeight;
31 }
33 window.addEventListener("load", boom, false);
35 </script>
36 </head>
37 <body></body>
38 </html>