import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<html>
<body>
<br id="x" style="transform-style: preserve-3d;">
<script>
document.addEventListener("MozReftestInvalidate", function() {
document.getElementById("x").style.transform = "scale(2, 2)";
});
</script>
</body>
</html>

View file

@ -0,0 +1,15 @@
<html>
<head>
<meta charset="UTF-8">
<script>
function boom()
{
var div = document.getElementsByTagName("div")[0];
div.childNodes[1].convertPointFromNode({x:0, y:0}, div.childNodes[0]);
}
</script>
</head>
<body onload="boom();">
<div><span>&#x05D0;C</span> </div>
</body>
</html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE HTML>
<html style="mask: url(#none);"><canvas style="transform: scaleY(-118055395520340);"></canvas></html>

View file

@ -0,0 +1,9 @@
<style>td:first-letter {
</style>
><table border=0>
<td><table id=test1>><td id=test2>
<script>
setTimeout("tCFcrash()", 41);
function tCFcrash() {
test1.appendChild(test2);
}</script>>

View file

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<html>
<svg id="s">
<style>
#b { display: none; }
rect { fill:orange; }
</style>
<rect width="10" height="10" fill="lime"/>
</svg>
<style>
#b { display: block; }
rect { fill:blue; }
</style>
<div id="b" style="border:2px solid black">
<svg>
<use xlink:href="#s"/>
</svg>
</div>

View file

@ -0,0 +1,15 @@
<html>
<head>
</head>
<body>
<style>colgroup::after { content:"after"; }</style>
<table>
<colgroup><col style="display: inline;">t</col></colgroup>
</table>
</body>
</html>

View file

@ -0,0 +1,5 @@
<style>.x { } .y { text-transform: uppercase; }</style><span id="I2">a<div id="I3">b</div></span><script>
document.body.offsetTop;
document.querySelector("span").className = "x";
document.querySelector("div").className = "y";
</script>

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
document.documentElement.style.display = "contents";
document.designMode = 'on';
document.documentElement.insertAdjacentHTML("beforeEnd", "<span><optgroup>");
}
</script>
</head>
<body onload="boom();"></body>
</html>

View file

@ -0,0 +1,6 @@
<style>
body::before {
display: ruby;
content: " ";
}
</style>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!--
user_pref("layout.css.grid.enabled", true);
-->
<script>
function boom()
{
document.documentElement.offsetHeight;
document.getElementById("x").style.content = "'x'";
document.documentElement.offsetHeight;
document.getElementById("s").remove();
document.documentElement.offsetHeight;
}
</script>
</head>
<body onload="boom();">
<div style="display: inline-grid; white-space: pre;"><div id="x"><span>
<span>
</span><span id="s"></span></span></div></div>
</body>
</html>

View file

@ -0,0 +1,17 @@
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait">
<script>
function boom()
{
document.getElementById("l").value="פיל\n";
document.documentElement.removeAttribute("class");
}
window.addEventListener("load", function(){setTimeout(boom, 30)}, 0);
</script>
<hbox dir="rtl">
<label id="l" />
</hbox>
</window>

View file

@ -0,0 +1,14 @@
</body>
<script type="text/javascript">
function convertArrayToStrings(array){array.forEach(function(value,index){array[index]=String.fromCharCode(value);}); return array};
var test0=document.body.appendChild(document.createElement("frame"))
var test1=document.body.appendChild(document.createElement("figure"))
var test2=document.body.appendChild(document.createElement("details"))
var test4=document.body.appendChild(document.createElement("embed"))
for(x=0;x<6;x++){
test0.appendChild(document.createTextNode(convertArrayToStrings([38010,20080,40959,29079,56831,13899,8295]).join('')))
test4.appendChild(test0.cloneNode(true));
}
</script>

View file

@ -0,0 +1,7 @@
<BODY>
<DIV id=container style="POSITION: absolute;"></DIV>
<SCRIPT language=Javascript>
document.getElementById('container').style.position='relative';
</SCRIPT>

View file

@ -0,0 +1,11 @@
<html>
<title>B#121533</title>
<script>function writeSorry() {document.writeln("test");
document.close();
}
</script>
<frameset cols="120,*" onLoad="writeSorry()">
<frame name="topslider" src="#"> <frame name="bottomslider" src="#">
</frameset>
</html>

View file

@ -0,0 +1,12 @@
<html>
<head>
<style>
#myStyle:-moz-display-comboboxcontrol-frame {
-moz-user-input: none !important;
}
#myStyle:-moz-dropdown-list {
-moz-user-input: none !important;
}
</style>
</head>
<body onload="getElementById('mySelect').setAttribute('id', 'myStyle');"><select id="mySelect"></select></body></html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<script>
window.addEventListener("load", function() {
setTimeout(function() {
window.location = "data:text/html,2";
}, 0);
}, false);
window.addEventListener("pagehide", function() {
var x = document.createElement("object");
x.setAttribute("data", "data:text/plain,3");
document.documentElement.appendChild(x);
}, false);
</script>

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<body>
<div style="transform: translateY(50%);">
<div style="transform-style: preserve-3d; background-image: -moz-element(#a); position: sticky;" id="a">Q</div>
</div>
</body>
</html>

View file

@ -0,0 +1,10 @@
<html>
<head>
<title>test</title>
</head>
<body>
<div id="test" style="position: absolute;">test</div>
<script type="application/x-javascript">document.getElementById("test").style.position = "fixed";</script>
</body>
</html>

View file

@ -0,0 +1,26 @@
<body>
<script type="application/javascript">
'use strict';
// -sp-context: content
(function () {
let proto = Object.create(HTMLDivElement.prototype);
proto.template = `<style></style>`;
proto.createdCallback = function() {
let shadow = this.createShadowRoot();
if (this.template) {
let te = document.createElement('template');
te.innerHTML = this.template;
shadow.appendChild(document.importNode(te.content, true));
}
};
let UiComponentTest = document.registerElement('ui-component-test', {
prototype: proto,
});
let uic = new UiComponentTest();
document.body.appendChild(uic);
})();
</script>
</body>

View file

@ -0,0 +1,7 @@
<iframe id="iframe" src="1261351-iframe.html"></iframe>
<script type="application/javascript">
let iframe = document.getElementById("iframe");
iframe.addEventListener("load", function() {
document.getElementsByTagName("iframe")[0].marginWidth = "5";
});
</script>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html>
<body>
<div style="isolation:isolate; background-blend-mode:darken; background-image: url(green100x100.jpg)">
<div style="mix-blend-mode: multiply; width: 200px; height: 200px; background-color:red"></div>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html style="transform: translateX(3px); display: grid;">
<head>
<!--
user_pref("layout.event-regions.enabled", true);
-->
</head>
<body>
<div style="position: absolute;">Z</div>
</body>
</html>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
<rt><span style="background:red;"><li></li>&#x200f;

View file

@ -0,0 +1,8 @@
<HTML><HEAD><TITLE>Testcase for bug 128855</TITLE></HEAD>
<BODY>
<P style="FONT-VARIANT: small-caps">2.3&nbsp;
éÄÅÎÔÉÆÉËÁÔÏÒÙ.........................................................................................................................................................................
</P>
</BODY></HTML>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<script>
function boom()
{
document.body.style.overflow = "scroll";
c.style.visibility = "";
}
</script>
</head>
<body onload="boom();">
<div id="c" style="position: relative; transition: 2s; display: table-cell; bottom: 0.1vw;"></div>
</body>
</html>

View file

@ -0,0 +1,6 @@
<body onload="document.documentElement.offsetWidth; document.querySelector('details').style.color = 'green'">
<details style="display: block; overflow: scroll;">
<summary>Some summary</summary>
The details
</details>
</body>

View file

@ -0,0 +1,15 @@
<!DOCTYPE HTML>
<title>Testcase, bug 1299736</title>
<div id="A" style="transform: translateX(50px)">
<div id="B">
<div id="C" style="position: fixed">
</div>
</div>
</div>
<script>
document.getElementById("C").offsetLeft; // flush
document.getElementById("B").style.transform = "translateX(50px)";
document.getElementById("A").style.transform = "";
</script>

View file

@ -0,0 +1,31 @@
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg">
<title>Crash test for bug 1308793</title>
<style id="s" type="text/css">
tspan { fill: green;}
.flex { display:flex; }
.grid { display:grid; }
.col { columns: 3; }
</style>
<text class="flex">
<tspan x="100" y="50">A</tspan>
B
</text>
<text class="grid">
<tspan x="100" y="50">A</tspan>
B
</text>
<text class="col">
<tspan x="100" y="50">A</tspan>
B
</text>
</svg>

After

Width:  |  Height:  |  Size: 542 B

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<table><tbody></tbody><tfoot></tfoot></table>
<script>
document.body.offsetTop;
let parent = document.querySelector("table");
let comment = document.createComment("hello");
let footer = document.querySelector("tfoot");
parent.insertBefore(comment, footer);
</script>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<table><tbody></tbody><tfoot></tfoot></table>
<script>
document.body.offsetTop;
let parent = document.querySelector("table");
let pi = document.createProcessingInstruction('xml-stylesheet', 'href="test.css"');
let footer = document.querySelector("tfoot");
parent.insertBefore(pi, footer);
</script>

View file

@ -0,0 +1,27 @@
<html>
<head>
<title>Bug 133410</title>
</head>
<body>
<table>
<tr>
<td>
<form>
<input type="text">
<input type="submit" value="Search">
<!-- note missing form close tag -->
</td>
</tr>
</table>
<table>
<span>
<!-- simple animated gif -->
<img src="../../../testing/crashtest/images/animfish.gif">
</span>
</table>
</body>
</html>

View file

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
body {
columns: 5;
column-fill: auto;
height: 100px;
}
div {
display: grid;
grid-template-columns: 30px 30px 30px;
grid-auto-rows: 30px;
border:5px solid;
}
span {
border:1px solid black;
}
</style>
<script>
setTimeout(function(){ window.close(); },1000);
window.onload = function(){
let a = document.getElementsByTagName("x")[0],
b = document.createTextNode("カ쾊紋鴺");
a.appendChild(b);
setTimeout(function(){
b.remove();
}, 0);
};
</script>
</head>
<body>
<div>
<span><x>某שּׁ큤</x></span>
The quick brown fox jumps over the lazy dog.
</div>
</body>
</html>

View file

@ -0,0 +1,19 @@
<title>Testcase, bug 143862</title>
<style type="text/css">
html { overflow: hidden; }
</style>
<script>
dump("143862-1-inner.html: A\n");
window.addEventListener("load", o, false);
function o()
{
dump("143862-1-inner.html: B*\n");
document.documentElement.offsetHeight;
dump("143862-1-inner.html: B\n");
document.open();
dump("143862-1-inner.html: C\n");
parent.document.documentElement.removeAttribute("class");
dump("143862-1-inner.html: D\n");
document.close();
}
</script>

View file

@ -0,0 +1,7 @@
<html class="reftest-wait">
<head>
</head>
<body>
<iframe src="143862-1a-inner.html"></iframe>
</body>
</html>

View file

@ -0,0 +1,17 @@
<title>Testcase, bug 143862</title>
<style type="text/css">
html { overflow: hidden; }
</style>
<script>
dump("143862-1-inner.html: A\n");
window.addEventListener("DOMContentLoaded", o, false);
function o()
{
dump("143862-1-inner.html: B\n");
document.open();
dump("143862-1-inner.html: C\n");
parent.document.documentElement.removeAttribute("class");
dump("143862-1-inner.html: D\n");
document.close();
}
</script>

View file

@ -0,0 +1,7 @@
<html class="reftest-wait">
<head>
</head>
<body>
<iframe src="143862-1b-inner.html"></iframe>
</body>
</html>

View file

@ -0,0 +1,17 @@
<title>Testcase, bug 143862</title>
<style type="text/css">
html { overflow: hidden; }
</style>
<script>
dump("143862-1-inner.html: A\n");
o();
function o()
{
dump("143862-1-inner.html: B\n");
document.open();
dump("143862-1-inner.html: C\n");
parent.document.documentElement.removeAttribute("class");
dump("143862-1-inner.html: D\n");
document.close();
}
</script>

View file

@ -0,0 +1,7 @@
<html class="reftest-wait">
<head>
</head>
<body>
<iframe src="143862-1c-inner.html"></iframe>
</body>
</html>

View file

@ -0,0 +1,15 @@
<html class="reftest-wait">
<title>Testcase, bug 143862</title>
<style type="text/css" id="one"> html { overflow: hidden; } </style>
<style type="text/css" id="two"></style>
<script type="text/javascript">
function remove(elt) { elt.parentNode.removeChild(elt); }
function run() {
remove(document.getElementById("one"));
remove(document.getElementById("two"));
document.documentElement.removeAttribute("class");
}
setTimeout(run, 100);
</script>
</html>

View file

@ -0,0 +1,7 @@
<html>
<body>
<fieldset style="position: absolute">
<legend>text</legend>
</fieldset>
</body>
</html>

View file

@ -0,0 +1,11 @@
<html>
<head>
<style type="text/css">
p:first-letter { float: left; }
p:first-line { color: black; }
</style>
</head>
<body>
<p>Ly</p>
</body>
</html>

View file

@ -0,0 +1,44 @@
<html>
<body>
<center><h2><h2></center>
<center><h2>1<h2></center>
<center><h2>2<h2><center>
<center><h2>3<ul><h2><center>
<center><h2>4<h2><center>
<center><h2>5<h2><center>
<center><h2>6<h2><center>
<center><h2>7<h2><center>
<center><h2>8<h2><center>
<center><h2>9<h2><center>
<center><h2>10<h2><center>
<center><h2>11<ul><h2><center>
<center><h2>12<h2><center>
<center><h2>13<h2><center>
<center><h2>14<h2><center>
<center><h2>15<h2><center>
<center><h2>16<h2><center>
<center><h2>17<h2><center>
<center><h2>18<h2><center>
<center><h2>19<h2><center>
<center><h2>20<h2><center>
<center><h2><h2><center>
<center><h2><h2><center>
<center><h2><li>Test</li><h2><center>
<center><h2><li>Test<font color=blue>( CD )</font></li><h2><center>
<center><h2><h2><center>
<center><h2><h2><center>
<center><h2><h2><center>
<center><h2>Test<center>
<center><h2><h2><center>
<center><h1></h1></center>
<center><h3>.<h3><center>
<center><h3><h3><center>
<center><h2>Test<center>
<center><h2><h2><center>
<center><h2><h2><center>
<center><h1><center>
<input type="text" name="maxbid" size="12" maxlength="12">
</body>
</html>

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,10 @@
<html>
<head>
<title>bug 176915</title>
</head>
<body>
<div style='position:relative;display:inline'>
<object style='position:absolute;'></object>
</div>
</body>
</html>

View file

@ -0,0 +1,13 @@
<html>
<head>
<style>
p:first-letter {
position: fixed;
left: 100px;
top: 100px;
}
</style>
<body>
<p>Blah blah blah
</body>
</html>

View file

@ -0,0 +1,33 @@
<html>
<head><title>bug 22037</title>
<!-- got the testcase from /mozilla/layout/html/tests/block/bugs/ -->
</head>
<body>
<p><span><span><span>
before before before before before before before before
before before before before before before before before before before before
before before before before before before before before before before before
before before before before before before before before before before before before
<object src="foo">
left left left left left left left left left left left left left left
left left left left
<h2>
block block block block block block block block block block block block block
block block block block block block block
</h2>
right right right right right right right right right right right right right right right
right right right
</object>
after after after after after after after after after after after after after after after
after after after after after after after after after after after after after after after
after after after after after after after after after after after after after after after
after after after after after after after after after after after after after after after
</span></span></span></p>
</body>
</html>

View file

@ -0,0 +1,5 @@
<html>
<body>
<li>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<script language="JavaScript" type="text/javascript">
document.writeln("<A><DIV STYLE=\"position:absolute;\">" + "</DIV></A>");
</script>
</body>
</html>

View file

@ -0,0 +1,14 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>Testcase</title>
<style type="text/css">
html{
overflow:scroll;
}
</style>
</head>
<body onload="var sheet = document.styleSheets[0]; sheet.disabled = true; sheet.disabled = false;">
Load this page to crash
</body>
</html>

View file

@ -0,0 +1,35 @@
<html style="overflow:scroll">
<body>
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
<p>Dum de doo
</body>
</html>

View file

@ -0,0 +1,5 @@
<html><head></head>
<body background="cid:00d201c264d0$feb75c80$0300a8c0@node3">
</body>
</html>

View file

@ -0,0 +1,4 @@
<!DOCTYPE HTML PUBLIC "" []>
<p style="display: table; white-space: nowrap; width: 400px; height: 100px">
<input type="text" style="display: table-cell;">
</p>

View file

@ -0,0 +1,26 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:mathml="http://www.w3.org/1998/Math/MathML">
<body onload="run()">
<mathml:math id="test" style="display: block">
</mathml:math>
<script>
function run() {
var t1 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
"mtable");
var t2 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
"mtable");
var r1 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
"mtr");
var r2 = document.createElementNS("http://www.w3.org/1998/Math/MathML",
"mtr");
var test =
document.getElementsByTagNameNS("http://www.w3.org/1998/Math/MathML", "math")[0];
t1.appendChild(r1);
test.appendChild(t1);
test.appendChild(t2);
t2.appendChild(r2);
}
</script>
</body>
</html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE HTML>
<html>
<body>
<div style="position:absolute;">Hello</div>
<div style="position:fixed;">Kitty</div>
<script>
document.body.offsetTop;
document.documentElement.style.display = "table";
document.body.offsetTop;
document.documentElement.style.display = "";
document.body.offsetTop;
document.documentElement.style.position = "absolute";
document.body.offsetTop;
document.documentElement.style.display = "table";
document.body.offsetTop;
document.documentElement.style.display = "";
document.body.offsetTop;
document.documentElement.style.position = "fixed";
document.body.offsetTop;
document.documentElement.style.display = "table";
document.body.offsetTop;
document.documentElement.style.display = "";
document.documentElement.style.position = "";
document.body.offsetTop;
</script>
</body>
</html>

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="de" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Crash Test</title>
<base href="D:\CSS Test Files\" />
<style type="text/css">
p { border: 1px red solid }
p:before { content: url("images/quote_end.png") }
</style>
</head>
<body>
<p>Did it crash?</p>
</body>
</html>

View file

@ -0,0 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Testcase for bug 254367</title>
</head>
<body>text<img> </body></html>

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>CSS Writing Modes Module Level 3</title>
<script type="text/javascript">
function boom() {
document.getElementById("example").style.fontSize = "larger";
}
</script>
</head>
<body onload=boom()>
<div id="example">
<p>א</p>
<pre><code>
&lt;HEBREW&gt;
&lt;PAR&gt;HEBREW1 HEBREW2 english3 HEBREW4 HEBREW5&lt;/PAR&gt;
&lt;PAR&gt;HEBREW6 &lt;EMPH&gt;HEBREW7&lt;/EMPH&gt; HEBREW8&lt;/PAR&gt;
&lt;/HEBREW&gt;
&lt;ENGLISH&gt;
&lt;PAR&gt;english9 english10 english11 HEBREW12 HEBREW13&lt;/PAR&gt;
&lt;PAR&gt;english14 english15 english16&lt;/PAR&gt;
&lt;PAR&gt;english17 &lt;HE-QUO&gt;HEBREW18 english19 HEBREW20&lt;/HE-QUO&gt;&lt;/PAR&gt;
&lt;/ENGLISH&gt;
</code></pre>
</div>
</body>
</html>

View file

@ -0,0 +1,19 @@
<HTML>
<HEAD>
<MARQUEE>
<TABLE>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<MARQUEE HEIGHT=100000000>
<TBODY>
Attack of the marquees!

View file

@ -0,0 +1,2 @@
<HTML>
<HR WIDTH=4444444 COLOR="#000000">

View file

@ -0,0 +1,8 @@
<html>
<head>
</head>
<body>
<iframe style="border-top-width: 31378748; border-bottom-right-radius: 23895784; ">
</body>
</html>

View file

@ -0,0 +1,5 @@
<HTML>
<HEAD>
</HEAD>
<BODY STYLE="float:right; HEIGHT:0pt; PADDING:99999999999px;"></BODY>
</HTML>

View file

@ -0,0 +1,8 @@
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
<HTML>
<HEAD>
</HEAD>
<BODY>
<DIV STYLE="MARGIN:-99999999999px; PADDING:99999999999px; float:left; HEIGHT:0;"></DIV>
</BODY>
</HTML>

View file

@ -0,0 +1,10 @@
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
<HTML>
<HEAD>
</HEAD>
<BODY>
<IFRAME STYLE="MARGIN:99999999999px; PADDING:-99999999999px;"></IFRAME>
<APPLET STYLE="HEIGHT:9999999999pt; float:left; MARGIN:-99999999999px; border:99999999999px solid blue;"></APPLET>
<MARQUEE STYLE=" WIDTH:9999999999px;">W</MARQUEE>
</BODY>
</HTML>

View file

@ -0,0 +1,8 @@
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN'>
<HTML>
<HEAD>
</HEAD>
<BODY>
<MARQUEE STYLE="HEIGHT:9999999999px; float:right; border:99999999999px solid blue;"></MARQUEE>
</BODY>
</HTML>

View file

@ -0,0 +1,7 @@
<HTML>
<HEAD>
</HEAD>
<BODY>
<NOFRAMES STYLE="DISPLAY:BLOCK; float:left; overflow:inherit;"></NOFRAMES>
</BODY>
</HTML>

View file

@ -0,0 +1,9 @@
<HTML>
<HEAD>
</HEAD>
<BODY>
<BODY STYLE=" border:10391122102cm solid #FFFFFF; float:right;">
<SPAN STYLE=" border:inherit;"></SPAN>
<H1 STYLE="float:right; HEIGHT:613927841cm; border:inherit;">Test</H1>
</BODY>
</HTML>

View file

@ -0,0 +1,9 @@
<HTML>
<HEAD>
</HEAD>
<BODY>
<BODY STYLE="overflow:hidden;">
<HR STYLE="float:right; padding:71155995130em;">
<OL STYLE="position:static;"><LI>Test</LI></OL>
</BODY>
</HTML>

View file

@ -0,0 +1,9 @@
<HTML>
<HEAD>
</HEAD>
<BODY>
<BODY STYLE="overflow:hidden;">
<HR STYLE="float:right; height:2px; padding:71155995130em;">
<OL STYLE="position:static;"><LI>Test</LI></OL>
</BODY>
</HTML>

View file

@ -0,0 +1,15 @@
2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8
<object>
<div>
</div>
</object>
2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8
<span>
2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0
<object>
<div>
</div>
</object>
2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0
</span>

View file

@ -0,0 +1,11 @@
<html><head>
<style>
BODY { display:table; }
</style>
</head>
<body>
<div><iframe src="data:text/html;charset=utf-8,%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody%3E%3C/body%3E%3C/html%3E"></iframe>
</div>
</body></html>

View file

@ -0,0 +1,18 @@
<html>
<header>
<title>Defects </title>
</header>
<body>
<center><table>
<caption>
</caption>
<p>
<caption>
</tr></td>
</center>
<center><table>
<td><tr>
delete me and the problem goes away
</body>
</html>

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html><head><title>Testcase bug 275746 - Crash when clicking in drop down list, when changing from display:table-cell to display:inline</title>
<style>
span,select{display:table-cell;}
</style>
</head>
<body onload="document.getElementById('x').style.display = 'inline'; document.documentElement.className = '';">
<span>This is needed</span><select id='x'><option>option 1</option><option>option 2</option></select>
</body></html>

View file

@ -0,0 +1,21 @@
<html><head><title>Testcase bug 276053 - Closeing a tab with http://linuxblog.sytes.net loaded in it causes Firefox to crash [@ nsView::GetDimensions]</title>
<style>
#serendipityRightSideBar {
display: block;
}
</style>
</head>
<body>
<table><tbody><tr>
<td>
You should be able to see a green block at the right of this text<br>
Closing this page, should not cause a crash.<br>
<script>var x=document.body.offsetHeight;</script>
</td>
<td id="serendipityRightSideBar">
<iframe src="data:text/html;charset=utf-8,%3Chtml%3E%3Chead%3E%3C/head%3E%3Cbody%20style%3D%22background-color%3Agreen%22%3EYou%20should%20be%20able%20to%20see%20this%20text%3C/body%3E%3C/html%3E"></iframe>
</td>
</tr></tbody></table>
</body></html>

View file

@ -0,0 +1,9 @@
<html class="reftest-wait"><head>
<style>
.rowg {display:table-row-group;}
</style>
</head><body onload="document.getElementById('x').className = 'rowg'; document.body.offsetWidth; document.getElementById('y').className = 'rowg'; document.body.offsetWidth; document.documentElement.className = '';">
<table><tbody><tr>
<td id="x"><input id="y"></td>
</tr></tbody></table>
</body></html>

View file

@ -0,0 +1,9 @@
<html class="reftest-wait"><head>
<style>
.rowg {display:table-row-group;}
</style>
</head><body onload="document.getElementById('x').className = 'rowg'; document.body.offsetWidth; document.getElementById('y').className = 'rowg'; document.body.offsetWidth; document.documentElement.className = '';">
<table><tbody><tr>
<td id="y"><input id="x"></td>
</tr></tbody></table>
</body></html>

View file

@ -0,0 +1 @@
<NOFRAMES STYLE="display:table-header-group; clear:inherit;"></NOFRAMES>

View file

@ -0,0 +1,13 @@
<BODY STYLE="margin:500px;">
<DD>
<OBJECT STYLE="width:500px;">
<BODY>
2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0
2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0 2 4 6 8 0
<UL>
</UL>
</BODY>
</OBJECT>
1
</DD>
</BODY>

View file

@ -0,0 +1,9 @@
<HTML><HEAD><TITLE>286813</TITLE></HEAD><BODY>
<OBJECT>
<EMBED>12345678901234567890123456789123456789F<EMBED>
<OBJECT>
<IFRAME WIDTH="100"> frame </IFRAME>
</OBJECT>
</OBJECT>
</BODY></HTML>

View file

@ -0,0 +1,47 @@
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<title>Testcase bug 288790 - Crash [@ GetNearestContainingBlock] with this xbl testcase</title>
<head>
<style>
#z {position: relative;}
#z span{position: absolute;}
</style>
<bindings xmlns="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml">
<binding id="m"></binding>
<binding id="ma" extends="#m">
<content>
<html:div><children/></html:div>
</content>
</binding>
</bindings>
</head>
<body>
<div id="z"><span></span></div>
<script>
function doe(){
document.getElementById('z').setAttribute('style','-moz-binding:url(#ma)');
setTimeout(doe2,0);
}
function doe2(){
document.getElementsByTagName('span')[0].setAttribute('style','-moz-binding:url(#m)');
}
</script>
<button id="button" onclick="doe()">Click me</button><br/>
Clicking on the above button two times, should not crash Mozilla.
<script>
function clickbutton()
{
var ev = document.createEvent('MouseEvents');
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
var button = document.getElementById('button');
button.dispatchEvent(ev);
button.dispatchEvent(ev);
}
clickbutton();
</script>
</body></html>

View file

@ -0,0 +1,9 @@
<html class="reftest-wait">
<head>
<script>
setTimeout('document.documentElement.className = ""', 500);
</script>
<body>
<iframe src="288790-1-inner.xhtml"></iframe>
</body>
</html>

View file

@ -0,0 +1,50 @@
<html>
<head>
<script>
function init()
{
var c1 = document.getElementById("c1");
var f1 = document.getElementById("f1");
var a1 = document.getElementById("a1");
function first()
{
f1.style.display = "-moz-popup";
c1.style.height = "2em";
window.status = "A";
}
function second()
{
c1.style.position = "absolute";
c1.style.overflow = "auto";
a1.style.position = "absolute";
window.status = "B";
}
first();
document.documentElement.offsetHeight;
second();
}
</script>
</head>
<body onload="init();">
<div id="c1">
<div id="f1">
<table>
<tr>
<td>
<span id="a1">Foo</span>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>

View file

@ -0,0 +1,32 @@
<html xmlns="http://www.w3.org/1999/xhtml" style="white-space: pre;" class="reftest-wait"><script><![CDATA[
function init() {
var docElt = document.documentElement;
var firstText = docElt.childNodes[1];
var div = docElt.childNodes[2];
var bidiText = div.childNodes[0];
function first()
{
docElt.insertBefore(div, firstText);
docElt.insertBefore(bidiText, div);
}
function second()
{
docElt.insertBefore(div, firstText);
docElt.appendChild(bidiText);
document.documentElement.removeAttribute("class");
}
first();
setTimeout(second, 100);
}
window.addEventListener("load", init, false);
]]></script>
A<div>׳
Z</div></html>

View file

@ -0,0 +1,38 @@
<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"><script><![CDATA[
function init()
{
var div2 = document.getElementById("div2");
var div1 = document.getElementById("div1");
var docElt = document.documentElement;
var titleText = document.createTextNode("foo baz");
docElt.appendChild(div2);
div2.appendChild(titleText);
function second ()
{
div2.appendChild(div1);
removeNode(titleText);
removeNode(div2);
document.documentElement.removeAttribute("class");
}
setTimeout(second, 30);
}
function removeNode(q1) { q1.parentNode.removeChild(q1); }
setTimeout(init, 30);
]]></script>
<div xmlns='http://www.w3.org/1999/xhtml' id="div1">
<div id="div2">bar</div>
</div>
</svg>

After

Width:  |  Height:  |  Size: 736 B

View file

@ -0,0 +1,19 @@
<HTML>
<HEAD>
</HEAD>
<BODY onload="document.getElementById('s').removeAttribute('style');">
<span>
<span style="display: block;" id="s">This should not crash Mozilla</span>
</span>
<div style=" position: absolute;">
<span style="position: relative;">
<span style="white-space:pre;">
<span style="position: absolute;">
<span style="float: right;"></span>
</span>
</span>
</span>
</div>
</BODY>
</HTML>

View file

@ -0,0 +1,31 @@
<?xml version="1.0"?>
<window xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="Testcase bug 311661 - Evil xul testcase, using display:table-row causes crash [@ nsTableRowGroupFrame::GetFirstRow]">
<html:script><![CDATA[
function doe(i) {
document.documentElement.getElementsByTagName('*')[i].style.display='table-row';
document.documentElement.getElementsByTagName('*')[i+1].style.display='table-row';
i+=1;
setTimeout(doe2,20,i);
}
function doe2(i){
document.documentElement.getElementsByTagName('*')[i-1].style.display='';
if (i>1)i=1;
setTimeout(doe,20,i);
}
]]></html:script>
<button id="button" onclick="doe(1)" label="Mozilla should not crash, when clicking this button"/>
<script/>
<html:script>
function clickbutton()
{
var ev = document.createEvent('MouseEvents');
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
var button = document.getElementById('button');
button.dispatchEvent(ev);
setTimeout(function() { document.documentElement.className = "" }, 500);
}
window.addEventListener("load", clickbutton, false);
</html:script>
</window>

View file

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<window xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="Testcase bug 311661 - Evil xul testcase, using display:table-row causes crash [@ nsTableRowGroupFrame::GetFirstRow]">
<html:script><![CDATA[
function doe() {
document.documentElement.getElementsByTagName('*')[1].style.display='table-row';
setTimeout(doe2,20);
}
function doe2(){
document.documentElement.getElementsByTagName('*')[1].style.display='';
setTimeout(doe,20);
}
]]></html:script>
<button id="button" onclick="doe()" label="Mozilla should not crash, when clicking this button"/>
<div style="display:table-row"/>
<html:script>
function clickbutton()
{
var ev = document.createEvent('MouseEvents');
ev.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
var button = document.getElementById('button');
button.dispatchEvent(ev);
setTimeout(function() { document.documentElement.className = "" }, 500);
}
window.addEventListener("load", clickbutton, false);
</html:script>
</window>

View file

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' id="root" class="reftest-wait">
<div id="D1"><div id="D2"/></div>
<script>
<![CDATA[
function gE(id) { return document.getElementById(id); }
function init()
{
gE("root").style.display = "table";
gE("D1").style.position = "absolute";
setTimeout(function() {gE("D2").style.position = "fixed";}, 100);
setTimeout(function() {gE("D1").style.overflow = "hidden";}, 200);
setTimeout(function() {gE("root").style.width = "200%"; document.documentElement.removeAttribute("class"); }, 300);
}
window.addEventListener("load", init, false);
]]>
</script>
</html>

View file

@ -0,0 +1 @@
<HEAD><BGSOUND STYLE="Ă" STYLE="Ó" LOOP="top" LOOP=í-> LOOP= LOOP=%n%n%n%n%n%n LOOP="E" onLoad="-m" SRC<52>%n%n%n%n%n%n STYLE=÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷ onLoad=# SRC=# SRC="-." STYLE=RRRRRRRR><IMG START=&; START="left"><BGSOUND STYLE=-í SRC="‡‡‡" STYLE="&"-$";" LOOP=(( SRC="javascript:"_self""-Ç LOOP=# STYLE=úú LOOP="8888" LOOP="-1""\\\\" SRC="ýýýýýý" SRC="-" SRC="w" LOOP="-ˇ" LOOP=öööööööö LOOP=çç STYLE=-Ć STYLE=""ćććć"č" STYLEl>

View file

@ -0,0 +1,31 @@
<html>
<head>
<script>
function clickit()
{
document.getElementById('button').click();
}
window.addEventListener('load', clickit, false);
</script>
</head>
<body>
<div style="width:400px;">
<q style="position:relative;"><q style="position:relative;">
Some random text, some random text, some random text
<span style="position: relative;">
Some random text, some random text, some random text
</span>
</q></q>
</div>
<script>
function doe(){
var q1=document.getElementsByTagName('q')[0];
var q2=document.getElementsByTagName('q')[1];
q1.style.position='static';
q2.style.position='static';
}
//setTimeout(doe,200);
</script>
<button id="button" onclick="doe()">Clicking this button should not crash Mozilla</button>
</body>
</html>

View file

@ -0,0 +1,9 @@
<html class="reftest-wait">
<head>
<script>
setTimeout('document.documentElement.className = ""', 500);
</script>
<body>
<iframe src="317934-1-inner.html"></iframe>
</body>
</html>

View file

@ -0,0 +1,7 @@
<legend>
<kbd>
<object>
<h4>
</object>
</kbd>

View file

@ -0,0 +1,4 @@
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<popupgroup>
</popupgroup>
</window>

View file

@ -0,0 +1,25 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" class="reftest-wait" onload="setTimeout(boom, 30);">
<script><![CDATA[
function boom()
{
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
var popupgroup = document.createElementNS(XUL_NS, 'popupgroup');
document.documentElement.appendChild(popupgroup);
document.documentElement.removeChild(popupgroup);
var tooltip = document.createElementNS(XUL_NS, 'tooltip');
document.documentElement.appendChild(tooltip);
document.documentElement.removeAttribute("class");
}
]]></script>
</window>

View file

@ -0,0 +1,6 @@
<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<tree>
<treechildren/>
</tree>
</window>

View file

@ -0,0 +1,22 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" onload="setTimeout(boom, 0);">
<script type="text/javascript">
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
function boom()
{
// Fire off an image load, then leave while the image load is pending.
document.getElementById("image").src = "data:text/html,foo";
location = "data:text/html,elsewhere";
}
</script>
<tree><treechildren/></tree><image id="image"/>
</window>

View file

@ -0,0 +1,31 @@
<html class="reftest-wait">
<head>
<script>
function foo()
{
setTimeout(bar, 30);
}
function bar()
{
document.getElementById("TT").style.position = "absolute";
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="foo();">
<div id="TT"><div style="position: fixed;"><div style="display: -moz-box;"><div style="float: left;"></div></div></div></div>
</body>
</html>

View file

@ -0,0 +1,29 @@
<html class="reftest-wait">
<head>
<script>
function init()
{
var ww = document.getElementById("ww");
var inp = document.getElementById("inp");
document.addEventListener("DOMNodeInserted", u, false);
document.body.appendChild(ww);
function u()
{
document.removeEventListener("DOMNodeInserted", u, false);
ww.removeChild(inp);
document.documentElement.removeAttribute("class");
}
}
</script>
</head>
<body onload="init()"><div id="ww"><input type="text" value="inputtext" id="inp">moretext</div></body>
</html>

View file

@ -0,0 +1,5 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<body><table><col onload="3"/>foo</table></body>
</html>

View file

@ -0,0 +1,31 @@
<html>
<head>
<title>colgroup pseudos</title>
<style>
div.table {background-color:red; color:yellow; display:table}
div.col {background-color:green; width:400px; display:table-column}
</style>
</head>
<body>
<div class="table">
<div class="col" ></div> anonymous content
</div>
<div class="table">
<div class="col" ></div> <div style="display:table-cell">anonymous cell</div>
</div>
<div class="table">
<div class="col" ></div> <div style="display:table-row">anonymous row</div>
</div>
<div class="table">
<div class="col" ></div> <div style="display:table-row-group">anonymous rowgroup</div>
</div>
<div class="table">
<div class="col" ></div> <div style="display:table">anonymous table</div>
</div>
<div class="table">
<div class="col" ></div> <div style="display:table-caption">anonymous caption</div>
</div>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show more