summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/backgrounds/root-background-display-none-no-crash.html
blob: 86d248d45e9e5cf644b07d852b37b4fd18fe31c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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.