зеркало из https://github.com/mozilla/gecko-dev.git
Bug 408656 reftests. r=bz
This commit is contained in:
Родитель
fe804fe640
Коммит
64961b4767
|
@ -0,0 +1,16 @@
|
|||
<html>
|
||||
<head><style>
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 1px solid black;
|
||||
margin: 100px;
|
||||
}
|
||||
</style></head>
|
||||
<body>
|
||||
<div/>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<html>
|
||||
<head><style>
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
span.a {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 1px solid black;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style></head>
|
||||
<body>
|
||||
<script>document.body.offsetHeight;</script>
|
||||
<div style="padding: 100px;">
|
||||
<span style="position: relative;">
|
||||
<span class="a"></span>
|
||||
</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<html>
|
||||
<head><style>
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
span.a {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 1px solid black;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style></head>
|
||||
<body>
|
||||
<!-- Note: This variant testcase (with no whitespace -->
|
||||
<!-- between </script> and <div>) only reproduces the -->
|
||||
<!-- bug on nightlies after May 1st, 2005. -->
|
||||
<script>document.body.offsetHeight;</script
|
||||
><div style="padding: 100px;">
|
||||
<span style="position: relative;">
|
||||
<span class="a"></span>
|
||||
</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<html>
|
||||
<head><style>
|
||||
body {
|
||||
margin: 0px;
|
||||
}
|
||||
span.a {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border: 1px solid black;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style></head>
|
||||
<body>
|
||||
<div style="padding: 100px;">
|
||||
<span style="position: relative;">
|
||||
<span class="a"></span>
|
||||
</span>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -614,6 +614,9 @@ random == 403134-1.html 403134-1-ref.html # bug 405377
|
|||
== 407111-1.html 407111-1-ref.html
|
||||
== 407227-1.html 407227-1-ref.html
|
||||
== 407937-1.html 407937-1-ref.html
|
||||
== 408656-1a.html 408656-1-ref.html
|
||||
== 408656-1b.html 408656-1-ref.html
|
||||
== 408656-1c.html 408656-1-ref.html
|
||||
== 408782-1a.html 408782-1-ref.html
|
||||
== 408782-1b.html 408782-1-ref.html
|
||||
== 408782-2a.html 408782-2-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче