forked from mirrors/gecko-dev
Fixes a missing closing tag in the retained-dl-style-change-stacking-context-3 test page. Unfortunately, this changes the structure of the page and makes the test fail, so the reftest.list file is updated accordingly. Since the existing test structure was clearly testing something else, and caught a legitimate difference in behaviour with and without APZ zooming on desktop, this patch also creates a new test with that structure (and better indentation). Differential Revision: https://phabricator.services.mozilla.com/D82214
29 lines
649 B
HTML
29 lines
649 B
HTML
<html class="reftest-wait">
|
|
<head>
|
|
<style>
|
|
body {
|
|
margin: 0px;
|
|
}
|
|
div {
|
|
width:100px;
|
|
height:100px;
|
|
display: inline-block;
|
|
position:absolute;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div style="position:fixed;" class="reftest-display-list">
|
|
<div style="background-color:green;" class="reftest-no-display-list"></div>
|
|
</div>
|
|
<div id="second" style="background-color:red; top: 110px;"></div>
|
|
</body>
|
|
<script>
|
|
function doTest() {
|
|
document.getElementById("second").style.backgroundColor = "green";
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
|
|
window.addEventListener("MozReftestInvalidate", doTest);
|
|
</script>
|
|
</html>
|