Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/dom/window-inner-size-scaling.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/window-inner-size-scaling.html b/third_party/WebKit/LayoutTests/fast/dom/window-inner-size-scaling.html |
| deleted file mode 100644 |
| index a0168572c0b05f38503d7f9974632cd13b989b9c..0000000000000000000000000000000000000000 |
| --- a/third_party/WebKit/LayoutTests/fast/dom/window-inner-size-scaling.html |
| +++ /dev/null |
| @@ -1,16 +0,0 @@ |
| -<html> |
| - <script src="../../resources/js-test.js"></script> |
| - <script> |
| - description("This test ensures window.innerWidth/innerHeight return the size of the visual viewport in CSS pixels."); |
|
bokan
2015/10/19 15:01:14
It's fine to remove this test but lets add a check
ymalik
2015/10/20 21:27:13
Acknowledged. I believe that window-scaled-viewpor
|
| - |
| - var originalWidth = window.innerWidth; |
| - var originalHeight = window.innerHeight; |
| - var scale = 2; |
| - |
| - if (window.internals) |
| - window.internals.setPageScaleFactor(scale); |
| - |
| - shouldBe("window.innerWidth", "Math.floor(originalWidth / scale)"); |
| - shouldBe("window.innerHeight", "Math.floor(originalHeight / scale)"); |
| - </script> |
| -</html> |