Index: third_party/WebKit/LayoutTests/fast/hidpi/broken-image-icon-hidpi.html |
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/broken-image-icon-hidpi.html b/third_party/WebKit/LayoutTests/fast/hidpi/broken-image-icon-hidpi.html |
index 923b69ae6b6bbbcffbdd3f4995b17408a4ddd84d..1251517a9ac14569b49d3bf222038675191d8172 100644 |
--- a/third_party/WebKit/LayoutTests/fast/hidpi/broken-image-icon-hidpi.html |
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/broken-image-icon-hidpi.html |
@@ -1,19 +1,12 @@ |
-<html> |
- <script> |
- function startTest() { |
- if (window.testRunner) { |
- testRunner.waitUntilDone(); |
- testRunner.setBackingScaleFactor(2, finishTest); |
- } |
- } |
- |
- function finishTest() { |
- setTimeout(function() { testRunner.notifyDone(); }, 0); |
- } |
- </script> |
- </head> |
- <body onload="startTest();"> |
- <div>This test passes if the broken image icon appears high-resolution in HiDPI and if the outline is of the appropriate size.</div> |
- <img src="not-there.png"></img> |
- </body> |
-</html> |
+<!DOCTYPE html> |
+<div>This test passes if the broken image icon appears high-resolution in HiDPI and if the outline is of the appropriate size.</div> |
+<img src="not-there.png"> |
+<script> |
+ function finishTest() { |
+ setTimeout(function() { testRunner.notifyDone(); }, 0); |
+ } |
+ if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.setBackingScaleFactor(2, finishTest); |
+ } |
+</script> |