Index: third_party/WebKit/LayoutTests/fast/hidpi/broken-image-with-size-hidpi.html |
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/broken-image-with-size-hidpi.html b/third_party/WebKit/LayoutTests/fast/hidpi/broken-image-with-size-hidpi.html |
index 547636c7624b4638e0a715d1b5cdc421c7d5a565..0c39e426cbdeb33bc5286fb0ff768fdc665189d1 100644 |
--- a/third_party/WebKit/LayoutTests/fast/hidpi/broken-image-with-size-hidpi.html |
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/broken-image-with-size-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 is the appropriate size.</div> |
- <img src="not-there.png" width=300 height=150></img> |
- </body> |
-</html> |
+<!DOCTYPE html> |
+<div>This test passes if the broken image icon appears high-resolution in HiDPI and is the appropriate size.</div> |
+<img src="not-there.png" width=300 height=150> |
+<script> |
+ function finishTest() { |
+ setTimeout(function() { testRunner.notifyDone(); }, 0); |
+ } |
+ if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.setBackingScaleFactor(2, finishTest); |
+ } |
+</script> |