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

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

Issue 224733011: A sizes attribute parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLImageElement/image-sizes-invalid-length-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLImageElement/image-sizes-invalid-length.html
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-sizes-invalid-length.html b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-invalid-length.html
new file mode 100644
index 0000000000000000000000000000000000000000..1da41402a995b18176f74c61c70b7712518d1d63
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-sizes-invalid-length.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-invalid-length-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698