mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 637242, patch 3 of 3: crashtest. r=dbaron
This commit is contained in:
parent
6b3fa1ca1c
commit
d4a41f8618
27
layout/style/crashtests/637242.xhtml
Normal file
27
layout/style/crashtests/637242.xhtml
Normal file
@ -0,0 +1,27 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<style id="style">p { color: red; }</style>
|
||||
<script>
|
||||
<![CDATA[
|
||||
|
||||
function boom()
|
||||
{
|
||||
var styleText = "p { color: green; }";
|
||||
|
||||
// Make 2^17 rules
|
||||
for (var i = 0; i < 17; ++i) {
|
||||
styleText += styleText;
|
||||
}
|
||||
|
||||
document.getElementById("style").firstChild.data = styleText;
|
||||
|
||||
document.body.appendChild(document.createElementNS("http://www.w3.org/1998/Math/MathML", "mrow"));
|
||||
}
|
||||
|
||||
]]>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"><p>This should be green</p></body>
|
||||
|
||||
</html>
|
@ -69,6 +69,7 @@ load 592698-1.html
|
||||
load 601437-1.html
|
||||
load 601439-1.html
|
||||
load 605689-1.html
|
||||
load 637242.xhtml
|
||||
load 645142.html
|
||||
load 611922-1.html
|
||||
== 645951-1.html 645951-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user