Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / background-image-reload.html
blob2bd8d16dc8a5a0e71d065f278ec7aac4eec41b38
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #target {
6 background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAIAAABLixI0AAAAJklEQVR4nGJg+M9ANTRq1qhZo2aNmjVq1qhZo2ZhIAAAAAD//wMA1XBuro0zsokAAAAASUVORK5CYII=) center no-repeat;
7 width: 32px;
8 height: 32px;
9 position: absolute;
10 left: 0;
11 top: 0;
13 </style>
14 <script>
15 if (window.testRunner) {
16 if (window.localStorage.getItem("finish-during-reload") == null)
17 testRunner.setImagesAllowed(false);
18 testRunner.waitUntilDone();
21 function test() {
22 if (window.localStorage.getItem("finish-during-reload") == null) {
23 window.localStorage.setItem("finish-during-reload", "reload");
24 testRunner.setImagesAllowed(true);
25 internals.forceReload(false);
26 } else {
27 window.localStorage.clear();
28 if (window.testRunner)
29 testRunner.notifyDone();
32 </script>
33 </head>
34 <body onload="setTimeout(test, 0);">
35 <div id="target"></div>
36 </body>
37 </html>