Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / backgrounds / root-background-display-none-no-crash.html
blob86d248d45e9e5cf644b07d852b37b4fd18fe31c2
1 <!DOCTYPE html>
2 <style>
3 html {
4 display: none;
5 background-image: linear-gradient(black, black);
7 </style>
8 <script src='../../resources/run-after-layout-and-paint.js'></script>
9 <script>
10 runAfterLayoutAndPaint(function(){
11 document.write("PASS");
12 if (window.testRunner)
13 testRunner.dumpAsText();
14 }, true);
15 </script>
16 This test should not crash due to referencing a null root element renderer when painting root background.