layout/mathml/crashtests/307839-2.xhtml

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <?xml version="1.0"?>
michael@0 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
michael@0 3 <!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
michael@0 4 ]>
michael@0 5 <html xmlns="http://www.w3.org/1999/xhtml">
michael@0 6
michael@0 7 <head>
michael@0 8 <title>Testcase bug - Evil mrow:hover testcase crashes Mozilla</title>
michael@0 9 <style type="text/css">
michael@0 10 #h:hover{display:block;}
michael@0 11 </style>
michael@0 12 </head>
michael@0 13 <body onload="document.getElementById('mrow').setAttribute('id', 'h');">
michael@0 14 <math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
michael@0 15 <mover>
michael@0 16 <mrow id="mrow">hovering over this should not crash Mozilla</mrow>
michael@0 17 <mover>
michael@0 18 <mo>10</mo>
michael@0 19 <mrow>times</mrow>
michael@0 20 </mover>
michael@0 21 </mover>
michael@0 22 </math>
michael@0 23 </body>
michael@0 24 </html>

mercurial