Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /infrastructure/reftest/reftest_wait_TestRendered.html - WPT Dashboard Interop Dashboard
<html class="reftest-wait">
<title>Test with reftest-wait</title>
<link rel=match href=green.html>
<style>
:root {background-color:red}
</style>
<script>
document.addEventListener("TestRendered",
function() {
document.documentElement.style.backgroundColor = "green";
document.documentElement.className = "";
});
</script>
</html>