mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1121748 - test 1 - Reftest for use of out-of-date frame size during relative positioning in BlockReflowContext. r=smontagu
This commit is contained in:
parent
66fa2911ab
commit
632a838ae2
33
layout/reftests/bugs/1121748-1-ref.html
Normal file
33
layout/reftests/bugs/1121748-1-ref.html
Normal file
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 1121748-1</title>
|
||||
<meta charset=utf-8>
|
||||
<style>
|
||||
html { width: 25%; }
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid green;
|
||||
}
|
||||
ul li {
|
||||
position: relative;
|
||||
margin: 2px 10px;
|
||||
background: #eee;
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function test() {
|
||||
document.body.dir = 'rtl';
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="test()">
|
||||
<ul>
|
||||
<li> item #1 </li>
|
||||
<li> item #2 </li>
|
||||
<li> item #3 </li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
38
layout/reftests/bugs/1121748-1.html
Normal file
38
layout/reftests/bugs/1121748-1.html
Normal file
@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 1121748-1</title>
|
||||
<meta charset=utf-8>
|
||||
<style>
|
||||
html { width: 25%; }
|
||||
ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 1px solid green;
|
||||
}
|
||||
ul li {
|
||||
position: relative;
|
||||
margin: 2px 10px;
|
||||
background: #eee;
|
||||
display: block;
|
||||
}
|
||||
ul li[hidden] {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function test() {
|
||||
document.body.dir = 'rtl';
|
||||
document.querySelector('#test').offsetHeight;
|
||||
document.querySelector('#test').hidden = false;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="test()">
|
||||
<ul>
|
||||
<li id="test" hidden> item #1 </li>
|
||||
<li> item #2 </li>
|
||||
<li> item #3 </li>
|
||||
</ul>
|
||||
</body>
|
||||
</html>
|
@ -1858,6 +1858,7 @@ fuzzy-if(d2d,36,304) HTTP(..) == 1116480-1-fakeitalic-overflow.html 1116480-1-fa
|
||||
== 1119117-1b.html 1119117-1-ref.html
|
||||
== 1120431-1.html 1120431-1-ref.html
|
||||
== 1120431-2.html 1120431-2-ref.html
|
||||
== 1121748-1.html 1121748-1-ref.html
|
||||
== 1127107-1a-nowrap.html 1127107-1-ref.html
|
||||
== 1127107-1b-pre.html 1127107-1-ref.html
|
||||
== 1127107-2-capitalize.html 1127107-2-capitalize-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user