mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add crashtests
This commit is contained in:
parent
7a965e9dba
commit
adea5d73e5
15
layout/mathml/crashtests/307839-1.xhtml
Normal file
15
layout/mathml/crashtests/307839-1.xhtml
Normal file
@ -0,0 +1,15 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Testcase</title>
|
||||
</head>
|
||||
<body onload="document.getElementById('B').appendChild(document.getElementById('A'));">
|
||||
<div style="position: relative;">
|
||||
<math xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mover>
|
||||
<mrow id="A"/>
|
||||
<mn id="B"/>
|
||||
</mover>
|
||||
</math>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
24
layout/mathml/crashtests/307839-2.xhtml
Normal file
24
layout/mathml/crashtests/307839-2.xhtml
Normal file
@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd" [
|
||||
<!ENTITY mathml "http://www.w3.org/1998/Math/MathML">
|
||||
]>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<title>Testcase bug - Evil mrow:hover testcase crashes Mozilla</title>
|
||||
<style type="text/css">
|
||||
#h:hover{display:block;}
|
||||
</style>
|
||||
</head>
|
||||
<body onload="document.getElementById('mrow').setAttribute('id', 'h');">
|
||||
<math mode="display" xmlns="http://www.w3.org/1998/Math/MathML">
|
||||
<mover>
|
||||
<mrow id="mrow">hovering over this should not crash Mozilla</mrow>
|
||||
<mover>
|
||||
<mo>10</mo>
|
||||
<mrow>times</mrow>
|
||||
</mover>
|
||||
</mover>
|
||||
</math>
|
||||
</body>
|
||||
</html>
|
@ -1 +1,3 @@
|
||||
load 307826-1.xhtml
|
||||
load 307839-1.xhtml
|
||||
load 307839-2.xhtml
|
||||
|
Loading…
Reference in New Issue
Block a user