LayoutTests:
[WebKit-https.git] / LayoutTests / fast / backgrounds / solid-color-context-restore.html
1 <html>
2 <head>
3     <style type="text/css">
4         #target { background: url(data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==); }
5     </style>
6 </head>
7 <body>
8     <p>
9         This tests that the graphics context is restored after painting solid color
10         images. The highlight color should be light blue.
11     </p>
12     <hr>
13     <div id="target">
14         foo
15     </div>
16     <script type="text/javascript">
17         if (window.layoutTestController)
18             layoutTestController.display();
19         target = document.getElementById('target');
20         window.getSelection().setBaseAndExtent(target, 0, target, 1);
21     </script>
22 </body>
23 </html>