<!DOCTYPE html> | |
<style> | |
html { | |
display: none; | |
background-image: linear-gradient(black, black); | |
} | |
</style> | |
<script src='../../resources/run-after-layout-and-paint.js'></script> | |
<script> | |
runAfterLayoutAndPaint(function(){ | |
document.write("PASS"); | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
}, true); | |
</script> | |
This test should not crash due to referencing a null root element renderer when painting root background. |