Index: third_party/WebKit/LayoutTests/fast/hidpi/video-controls-in-hidpi.html |
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/video-controls-in-hidpi.html b/third_party/WebKit/LayoutTests/fast/hidpi/video-controls-in-hidpi.html |
index 896522a0d524f2d838bb6def37b864132be3373d..d987da40b104e666d85e0dff1bd79ff18e8ad092 100644 |
--- a/third_party/WebKit/LayoutTests/fast/hidpi/video-controls-in-hidpi.html |
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/video-controls-in-hidpi.html |
@@ -1,19 +1,12 @@ |
-<html> |
+<!DOCTYPE html> |
+<div>This test passes if the video controls are non-blurry and properly positioned in HiDPI.</div> |
+<video controls></video> |
<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 video controls are non-blurry and properly positioned in HiDPI.</div> |
- <video controls></video> |
-</body> |
-</html> |
+ if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.setBackingScaleFactor(2, finishTest); |
+ } |
+</script> |