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

Unified Diff: LayoutTests/fast/dom/HTMLImageElement/image-sizes-simple.html

Issue 224733011: A sizes attribute parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/HTMLImageElement/image-sizes-simple.html
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-simple.html b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-simple.html
new file mode 100644
index 0000000000000000000000000000000000000000..634f0f2adf3fa45f299c8f4d81680de1f3cb2376
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-simple.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+<script src="../../../resources/js-test.js"></script>
+<script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ }
+</script>
+</head>
+
+<body id="body">
+ <img id="foo" src="" sizes="(max-width: 300px) 200w, 400w " srcset="resources/image-set-1x.png 200w, resources/image-set-2x.png 400w">
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLImageElement/image-sizes-simple-expected.txt » ('j') | Source/core/css/MediaValues.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698