зеркало из https://github.com/mozilla/pjs.git
Adding tests
This commit is contained in:
Родитель
b655c5f41e
Коммит
a6e323edd3
|
@ -0,0 +1,33 @@
|
|||
<!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">
|
||||
<head>
|
||||
<title>Overflow: Auto / Cascaded Boxes / Scrollbar Rendering Testcase</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
#outer_box {
|
||||
width: 400px;
|
||||
height: 100px;
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
#inner_box {
|
||||
width: 200%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
#dummy_content {
|
||||
height: 101px;
|
||||
background: yellow;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="outer_box">
|
||||
<div id="inner_box">
|
||||
<div id="dummy_content">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!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">
|
||||
<head>
|
||||
<title>Overflow: Auto / Cascaded Boxes / Scrollbar Rendering Testcase</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<style type="text/css">
|
||||
#outer_box {
|
||||
width: 400px;
|
||||
height: 100px;
|
||||
overflow: auto;
|
||||
}
|
||||
#inner_box {
|
||||
width: 200%;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
#dummy_content {
|
||||
height: 101px;
|
||||
background: yellow;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="outer_box">
|
||||
<div id="inner_box">
|
||||
<div id="dummy_content">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="overflow: scroll; visibility: hidden;
|
||||
height: 100px;">
|
||||
<div style="visibility: visible; height: 50px; background: green">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div style="overflow: scroll; visibility: hidden;
|
||||
height: 100px;">
|
||||
<div style="visibility: visible; height: 50%; background: green">
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -122,6 +122,8 @@ fails-if(MOZ_WIDGET_TOOLKIT=="cocoa") == 28811-2a.html 28811-2-ref.html # bug 38
|
|||
== 300691-1d.html 300691-1-ref.html
|
||||
== 300691-1e.html 300691-1-ref.html
|
||||
== 300691-1f.html 300691-1-ref.html
|
||||
== 301726-1.html 301726-1-ref.html
|
||||
!= 301726-2.html 301726-2-ref.html
|
||||
== 306630-1.html 306630-1-ref.html
|
||||
== 306660-1.html 306660-1-ref.html
|
||||
== 306660-2.html 306660-2-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче