Adding some regression tests

git-svn-id: svn://10.0.0.236/trunk@168285 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2005-01-25 04:35:17 +00:00
parent a8e56fa9fe
commit 1a066fc305
7 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Testcase, bug 216303</title>
<style type="text/css">
body {
border: medium solid green;
padding: 1em;
margin: 1em;
height: 20em;
}
div {
float: left;
height: 50%;
border: medium solid orange;
}
</style>
</head>
<body>
<div>This orange box should be 50% of the height of the green box.</div>
</body>
</html>

View File

@@ -214,6 +214,7 @@
215857.html
215857-2.html
215857-3.html
216303.html
217369-1.html
217369-2.html
223394-1.html

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@@ -0,0 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
</head>
<body style="display:table">
<img src="../images/animated.gif" style="float: left">
</body></html>

View File

@@ -0,0 +1,8 @@
<html><head><title>Testcase bug 275625 - Crash with a:hover, a:hover+br{display:table-row;}</title>
<style>
a, a + br{display:inline;}
</style>
</head>
<body onload="document.styleSheets[0].cssRules[0].style.display = 'table-row'">
<a href="#">This should not crash</a><br>
</body></html>

View File

@@ -0,0 +1,7 @@
<html>
<body onload="document.getElementById('foo').appendChild(document.createTextNode('Second line of text'))">
There should be text below this line:
<div style="display: table-row" id="foo">
</div>
</body>
</html>

View File

@@ -204,12 +204,15 @@ bug2585.html
bug26178.html
bug26553.html
bug2684.html
bug269566.html
bug27038-1.html
bug27038-2.html
bug27038-3.html
bug275625.html
bug2757.html
bug2763.html
bug2773.html
bug278266.html
bug27993-1.html
bug27993-2.html
bug28341.html