Index: LayoutTests/fast/repaint/background-scaling.html |
diff --git a/LayoutTests/fast/repaint/background-scaling.html b/LayoutTests/fast/repaint/background-scaling.html |
index 9000673edb967a59b692bffb1a24ac6535d3cf1c..1444c1a423549e348ef94d8ad166ee5d4c38ea2a 100644 |
--- a/LayoutTests/fast/repaint/background-scaling.html |
+++ b/LayoutTests/fast/repaint/background-scaling.html |
@@ -1,15 +1,14 @@ |
-<html style="background-color: green;"> |
-<head> |
-<script src="resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script> |
+<!DOCTYPE html> |
+<html style="background-color: blue;"> |
+<head> |
<script type="text/javascript"> |
- function repaintTest() |
- { |
- if (window.eventSender) |
- window.eventSender.setPageScaleFactor(0.25, 0, 0); |
- } |
+window.onload = function() { |
+ if (window.eventSender) |
+ window.eventSender.setPageScaleFactor(0.25, 0, 0); |
+} |
</script> |
-</head> |
-<body style="margin:0;" onload="runRepaintTest();"> |
- <div style="background-color: green; width: 100%; height: 100px;"></div> |
+</head> |
+<body style="margin:0; overflow: hidden; width: 4000px; height: 4000px"> |
+ <div style="background-color: green; width: 100vw; height: 100px;"></div> |
</body> |
</html> |