mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 894931. Add reftest. r=dbaron
This commit is contained in:
parent
516c4c5af4
commit
399d3edad1
8
layout/reftests/bugs/894931-1-ref.html
Normal file
8
layout/reftests/bugs/894931-1-ref.html
Normal file
@ -0,0 +1,8 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<body>
|
||||
<div style="position:relative; margin-top:100px;">
|
||||
<div style="background:yellow; width:100px; height:100px; position:absolute"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
15
layout/reftests/bugs/894931-1.html
Normal file
15
layout/reftests/bugs/894931-1.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<body>
|
||||
<div id="d" style="margin-top:100px;">
|
||||
<div style="background:yellow; width:100px; height:100px; position:absolute; top:0; left:0"></div>
|
||||
</div>
|
||||
<script>
|
||||
function doTest() {
|
||||
document.getElementById("d").style.position = "relative";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
window.addEventListener("MozReftestInvalidate", doTest, false);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
@ -1770,3 +1770,4 @@ random-if(Android&&AndroidVersion>=15) == 875060-1.html 875060-1-ref.html #Bug 8
|
||||
== 883987-1e.html 883987-1-ref.html
|
||||
== 883987-1f.html 883987-1-ref.html
|
||||
== 890495-1.html 890495-1-ref.html
|
||||
== 894931-1.html 894931-1-ref.html
|
||||
|
Loading…
Reference in New Issue
Block a user