Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / loading / preload-image-src.html
blobce28988234624e72c3bac4aa3df3d9bbd12c4371
1 <html>
2 <head>
3 <script src="/js-test-resources/js-test.js"></script>
4 <script src="http://127.0.0.1:8000/resources/slow-script.pl?delay=100"></script>
5 </head>
6 <body>
7 <script>
8 shouldBeTrue("internals.isPreloaded('resources/base-image1.png');");
9 shouldBeTrue("internals.isPreloaded('resources/base-image2.png');");
10 shouldBeFalse("internals.isPreloaded('resources/base-image3.png');");
11 shouldBeFalse("internals.isPreloaded('data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==');");
12 </script>
13 <div>This test passes if the image (defined in the src attribute) is preloaded, except for data URI.</div>
14 <img src="resources/base-image1.png">
15 <img src="resources/base-image2.png" src="resources/base-image3.png">
16 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
17 </body>
18 </html>