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

Unified Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-invalid-inputs.html

Issue 1908463002: Modernize fast/hidpi layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add NeedsManualRebaseline Created 4 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: third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-invalid-inputs.html
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-invalid-inputs.html b/third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-invalid-inputs.html
index aab76e7556b7e9b9ed79b362cfbbaf6725fdb4fd..c7558cf94d4e4691a199df01c7b7a1c49b7198c1 100644
--- a/third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-invalid-inputs.html
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/image-srcset-invalid-inputs.html
@@ -1,16 +1,9 @@
-<html>
-<head>
+<!DOCTYPE html>
<script src="../../resources/js-test.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
}
</script>
-</head>
-
-<body id="body">
- <div>This test passes if this img tag below is empty and displays nothing. It ensures that the srcset attribute supports invalid inputs</div>
- <img id="foo" src="" srcset="1x,, , x ,2x " onerror="testPassed('did not load invalid inputs')" onload="testFailed('Loaded
- invalid inputs')"></img>
-</body>
-</html>
+<div>This test passes if this img tag below is empty and displays nothing. It ensures that the srcset attribute supports invalid inputs</div>
+<img id="foo" src="" srcset="1x,, , x ,2x " onerror="testPassed('did not load invalid inputs')" onload="testFailed('Loaded invalid inputs')">

Powered by Google App Engine
This is Rietveld 408576698