mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 722923. Part 0: Add reftest for opacity and out-of-flow needing to invalidate the out-of-flow. r=matspal
This commit is contained in:
parent
2f18e51054
commit
5c0eba1b31
18
layout/reftests/bugs/722923-1-ref.html
Normal file
18
layout/reftests/bugs/722923-1-ref.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<body>
|
||||
<div id="d" style="opacity:0.9; position:absolute; top:100px; width:200px; height:200px; background:lime"></div>
|
||||
<script>
|
||||
var d = document.getElementById("d");
|
||||
|
||||
function doTest() {
|
||||
d.style.opacity = 0.8;
|
||||
setTimeout(function() {
|
||||
d.style.opacity = 0.5;
|
||||
document.documentElement.removeAttribute("class");
|
||||
}, 50);
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/bugs/722923-1.html
Normal file
20
layout/reftests/bugs/722923-1.html
Normal file
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<body>
|
||||
<div id="d" style="opacity:0.9; height:10px;">
|
||||
<div style="position:absolute; top:100px; width:200px; height:200px; background:lime"></div>
|
||||
</div>
|
||||
<script>
|
||||
var d = document.getElementById("d");
|
||||
|
||||
function doTest() {
|
||||
d.style.opacity = 0.8;
|
||||
setTimeout(function() {
|
||||
d.style.opacity = 0.5;
|
||||
document.documentElement.removeAttribute("class");
|
||||
}, 50);
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1690,3 +1690,4 @@ needs-focus != 703186-1.html 703186-2.html
|
||||
== 714519-2-q.html 714519-2-ref.html
|
||||
fuzzy-if(cocoaWidget,1,170) == 718521.html 718521-ref.html
|
||||
== 720987.html 720987-ref.html
|
||||
== 722923-1.html 722923-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user