RenderImageResourceStyleImage::image() should return the nullImage() if the image...
[WebKit-https.git] / LayoutTests / fast / images / image-element-image-content-data.html
1 <style>
2     img {
3         width: 100px;
4         height: 100px;
5         border: 2px solid black;
6         content: -webkit-named-image(apple-pay-logo-white);
7     }
8 </style>
9 <body>
10     <p>PASS if no crash happens.</p>
11     <img src='resources/green-400x400.png'>
12     <script>
13         if (window.testRunner)
14             testRunner.dumpAsText(true);
15         setTimeout(function() {
16             var image = document.querySelector('img');
17             image.remove();
18         }, 0);
19     </script>
20 </body>