Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Side by Side Diff: LayoutTests/fast/backgrounds/root-background-display-none-no-crash.html

Issue 1200263004: Should not crash when background image a display:none presents on the root (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 html {
4 display: none;
5 background-image: linear-gradient(black, black);
6 }
7 </style>
8 <script src='../../resources/run-after-layout-and-paint.js'></script>
9 <script>
10 runAfterLayoutAndPaint(function(){
11 if (window.testRunner)
12 testRunner.dumpAsText();
13 }, true);
14 </script>
15 This test should not crash due to referencing a null root element renderer when painting root background.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698