Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: true
- Manifest: layout/reftests/display-list/reftest.list
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<meta charset="UTF-8">
</head>
<body>
<div style="will-change: transform;" class="reftest-no-display-list">
Foo
</div>
<div style="color: red;" id="changed">
Bar
</div>
<script>
function doTest() {
const e = document.getElementById('changed');
e.style.color = 'green';
document.documentElement.removeAttribute('class');
}
document.addEventListener("MozReftestInvalidate", doTest);
</script>
</body>
</html>