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

Side by Side Diff: LayoutTests/picture/working/picture-only-one-resource.html

Issue 14449003: Picture element initial implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@picture_after_rebase
Patch Set: Created 7 years, 8 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Picture test</title>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 </script>
10 </head>
11
12 <body>
13 <p> You got cake? </p>
14 <picture alt="cake">
15 <source src="../resources/cake.png" media="screen and (m in-width: 800px)" />
16 <source src="../resources/red.png" media="screen and (ma x-width:799px)" />
17 </picture>
18 <script>
19 window.addEventListener("load", function(){
20 var fromCache = internals.isLoadingFromMemoryCache("../resources/red.p ng");
21 var result = "FAIL";
22 if (!fromCache)
23 result = "SUCCESS";
24 document.getElementsByTagName("body")[0].appendChild(document.createTe xtNode(result))
25 }, false);
26 </script>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/picture/working/picture-expected.html ('k') | LayoutTests/picture/working/picture-only-one-resource-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698