gecko-dev/layout/base/crashtests/1467688.html
Matt Woodrow 7391f4b580 Bug 1467688 - Make sure we invalidate for perspective changes even if the frame isn't otherwise transformed. r=dbaron
MozReview-Commit-ID: JQGb41kp76P

--HG--
extra : rebase_source : f9105e949f8fa02697a94718ea69742ac115f8e6
2018-07-02 21:35:14 -04:00

17 lines
538 B
HTML

<html class="reftest-wait">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="transform:translate(4px)">
<div id="invalid" style="width:100px; height:100px; background-color:red;"></div>
<script>
function doTest() {
document.documentElement.style.perspective = '100px';
document.getElementById("invalid").style.backgroundColor = "green";
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>