зеркало из https://github.com/mozilla/pjs.git
Adding test.
This commit is contained in:
Родитель
6a1f6511f6
Коммит
af678afb37
|
@ -0,0 +1,26 @@
|
|||
<?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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
|
||||
<head>
|
||||
<title>Testcase, bug 316057</title>
|
||||
<style type="text/css">
|
||||
|
||||
#outer {
|
||||
border-top:20px solid gray;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#inner {
|
||||
background:green;
|
||||
height:5em;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="outer"><div id="inner">There should be no red in this testcase.</div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<?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 xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
|
||||
<head>
|
||||
<title>Testcase, bug 316057</title>
|
||||
<style type="text/css">
|
||||
|
||||
#outer {
|
||||
position:absolute;
|
||||
background:red;
|
||||
border-top:20px solid gray;
|
||||
}
|
||||
|
||||
#inner {
|
||||
float:left;
|
||||
background:green;
|
||||
height:5em;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="outer"><div id="middle"><div id="inner">There should be no red in this testcase.</div></div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -130,6 +130,7 @@ fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 28811-2a.html 28811-2-ref.html # bug 38
|
|||
!= 315620-1b.html 315620-1-ref.html
|
||||
== 315620-2a.xhtml 315620-2-ref.xhtml
|
||||
!= 315620-2b.xhtml 315620-2-ref.xhtml
|
||||
== 316057-1.html 316057-1-ref.html
|
||||
!= 321402-1.html about:blank
|
||||
!= 321402-2.html about:blank
|
||||
== 321402-3.xul 321402-3-ref.xul
|
||||
|
|
Загрузка…
Ссылка в новой задаче