зеркало из https://github.com/mozilla/pjs.git
** NOT PART OF THE BUILD **
Adding more testcases to the regression test suite
This commit is contained in:
Родитель
4bb8e89c98
Коммит
fb9cfc9bdf
|
@ -0,0 +1,8 @@
|
|||
<html><body>
|
||||
<table>
|
||||
<p><h3>Please Enter your Homesite Login, E-mail and Password to delete</h3></p>
|
||||
<form method="POST">
|
||||
<input type=submit>
|
||||
</form>
|
||||
</table>
|
||||
</body></html>
|
|
@ -0,0 +1,17 @@
|
|||
<html><head></head>
|
||||
<body>
|
||||
<table>
|
||||
<tbody><tr>
|
||||
<td colspan="2">
|
||||
<br>
|
||||
<form>
|
||||
sometexthere<textarea><TR></tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</textarea><table border="0">
|
||||
</table></form></td></tr></tbody></table></body></html>
|
|
@ -0,0 +1,8 @@
|
|||
<html><body>
|
||||
<table>
|
||||
<p><h3>Please Enter your Homesite Login, E-mail and Password to delete</h3></p>
|
||||
<form method="POST">
|
||||
<input type=submit>
|
||||
</form>
|
||||
</table>
|
||||
</body></html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>parserspace.html</title></head>
|
||||
|
||||
<body>
|
||||
The head and body tags appear side by side in this test: <br></HEAD><BODY><br> so you <b>should not</b> see an [object Text] between the ending head and beginning body tags.
|
||||
<br><br>
|
||||
<script type="text/javascript">
|
||||
|
||||
for(i=0; i<3; i++){
|
||||
var oWhat=document.firstChild.childNodes[i];
|
||||
document.write(oWhat +"<BR>");
|
||||
}
|
||||
|
||||
</script>undefined<br>undefined<br>undefined<br>
|
||||
</body></html>
|
|
@ -0,0 +1,17 @@
|
|||
<html><head></head>
|
||||
<body><form>
|
||||
|
||||
<table>
|
||||
<tbody><tr><td>
|
||||
test
|
||||
<table><tbody><tr>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
</td></tr>
|
||||
</tbody></table>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,8 @@
|
|||
<html><head></head>
|
||||
<body><ul>
|
||||
<li>A
|
||||
</li><li>B
|
||||
</li><li>C</li>
|
||||
|
||||
</ul>
|
||||
</body></html>
|
|
@ -0,0 +1,25 @@
|
|||
<html><head></head>
|
||||
<body bgcolor="#ffffff" text="#000000">
|
||||
|
||||
|
||||
|
||||
<font face="geneva, arial, helvetica">
|
||||
<font size="-1">
|
||||
|
||||
This text, in the body, is in "Font Face A"
|
||||
|
||||
<table>
|
||||
<tbody><tr>
|
||||
<td align="center">
|
||||
<font face="arial, helvetica" color="#404040" size="5">
|
||||
This text, in a table, is in "Font Face B". Immediately following
|
||||
this text is a close font tag, and another erroneously placed close font
|
||||
tag. </font>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody></table> This text, back in the body, should be in Font Face A,
|
||||
but is not because Mozilla incorrectly heeded the second close-font tag in
|
||||
the above table. </font>
|
||||
|
||||
</font></body></html>
|
|
@ -0,0 +1,8 @@
|
|||
<html><head></head>
|
||||
<body>
|
||||
<br>
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="540">
|
||||
<tbody><tr>
|
||||
<td>***</td></tr><tr><td>***</td></tr>
|
||||
</tbody></table>
|
||||
</body></html>
|
|
@ -0,0 +1,10 @@
|
|||
<html><head></head>
|
||||
<body>
|
||||
|
||||
<center style="color: green;">
|
||||
This should be on all one <!-- new date --> line... but it isn't
|
||||
</center>
|
||||
<table style="background: yellow none repeat scroll 0%;">
|
||||
</table>
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title>BUTTON in SPAN in SPAN / SPAN in BUTTON in SPAN</title></head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>BUTTON in SPAN in SPAN</p>
|
||||
<span>
|
||||
<span>
|
||||
<button>
|
||||
myButton
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
<p>Text after button</p>
|
||||
|
||||
<hr>
|
||||
|
||||
<p>SPAN in BUTTON in SPAN</p>
|
||||
<span>
|
||||
<button>
|
||||
<span>
|
||||
myButton
|
||||
</span>
|
||||
</button>
|
||||
</span>
|
||||
<p>Text after button</p>
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><title>Mozilla Tests: An XHTML Document</title>
|
||||
|
||||
<style type="text/css">
|
||||
.xhtml { display: none; }
|
||||
strong { color: red; }
|
||||
</style></head>
|
||||
|
||||
<body>
|
||||
<h1>An XHTML Document</h1>
|
||||
<p>This document is being parsed as <span class="xhtml">X</span>HTML. </p>
|
||||
<p> <strong> This should not be emphasised text. </strong></p>
|
||||
<strong> </strong><p><strong> This should be a second paragraph. </strong></p>
|
||||
<strong> </strong></body></html>
|
|
@ -0,0 +1,7 @@
|
|||
<html><head>
|
||||
<style>
|
||||
p { font-size: 24px}
|
||||
</style></head>
|
||||
<body>
|
||||
<p>text text text text</p>
|
||||
</body></html>
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><html><head><title>Child Selectors Test</title>
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
DIV P { background: red; color: yellow }
|
||||
LI P { background: green; color: white; }
|
||||
|
||||
DIV P:after { content: ' [[ FAILED ]]'; }
|
||||
LI P:after { content: ' [[ PASSED ]]'; }
|
||||
|
||||
* { padding: 4px; border: 1px solid lime; margin: 4px; }
|
||||
|
||||
</style></head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Below this box, every box should be within another. In other
|
||||
words, the only SIBLINGS in this document should be this box and the
|
||||
immediate next one. In particular, LI should allow the inner DIV to
|
||||
nest within it.</p>
|
||||
|
||||
<div>
|
||||
DIV
|
||||
<ol>
|
||||
<li>
|
||||
LI
|
||||
<div>
|
||||
DIV
|
||||
<p>
|
||||
P
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</body></html>
|
|
@ -0,0 +1,3 @@
|
|||
<html><head></head>
|
||||
<body><p><b><font color="red">bold red</font></b></p> neither bold nor red
|
||||
</body></html>
|
|
@ -0,0 +1,8 @@
|
|||
<html><head>
|
||||
<title>PG&E &E: &e. &e; &&e &&e;</title>
|
||||
<!-- will render as 'PG . & & -->
|
||||
</head><body>
|
||||
<p>Title should look like this:</p>
|
||||
<p>PG&E &E: &e. &e; &&e &&e;</p>
|
||||
<!-- will render as 'PG&E &E: &e. &e; &&e &&e;' -->
|
||||
</body>
|
Загрузка…
Ссылка в новой задаче