| Index: LayoutTests/fast/backgrounds/root-background-display-none-no-crash.html
|
| diff --git a/LayoutTests/fast/backgrounds/root-background-display-none-no-crash.html b/LayoutTests/fast/backgrounds/root-background-display-none-no-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..86d248d45e9e5cf644b07d852b37b4fd18fe31c2
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/backgrounds/root-background-display-none-no-crash.html
|
| @@ -0,0 +1,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.
|
|
|