| Index: third_party/WebKit/LayoutTests/fast/hidpi/resize-corner-hidpi.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/resize-corner-hidpi.html b/third_party/WebKit/LayoutTests/fast/hidpi/resize-corner-hidpi.html
|
| index 3d57d504dc740eeeadac7ff2a1d5d7ad514219f1..d113639b0c81b04aab13a6b58862c3ee3bb02279 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/hidpi/resize-corner-hidpi.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/hidpi/resize-corner-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 resize corner icon appears high-resolution in HiDPI.</div>
|
| - <textarea style="resize:both;"></textarea>
|
| - </body>
|
| -</html>
|
| +<!DOCTYPE html>
|
| +<div>This test passes if the resize corner icon appears high-resolution in HiDPI.</div>
|
| +<textarea style="resize: both"></textarea>
|
| +<script>
|
| + function finishTest() {
|
| + setTimeout(function() { testRunner.notifyDone(); }, 0);
|
| + }
|
| + if (window.testRunner) {
|
| + testRunner.waitUntilDone();
|
| + testRunner.setBackingScaleFactor(2, finishTest);
|
| + }
|
| +</script>
|
|
|