Index: third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background-with-zoom.html |
diff --git a/third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background.html b/third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background-with-zoom.html |
similarity index 53% |
copy from third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background.html |
copy to third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background-with-zoom.html |
index 4f678c389943926b2ad5c37d7ff7ab06f427238f..52caff1e2eacb26ba4e2eb5027aa91832338fa00 100644 |
--- a/third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background.html |
+++ b/third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background-with-zoom.html |
@@ -1,6 +1,5 @@ |
<html> |
<head> |
-<script src="resources/srcset-helper.js"></script> |
<style> |
#foo { |
width:100px; |
@@ -8,10 +7,14 @@ |
background-image: -webkit-image-set(url('resources/blue-100-px-square.png') 1x, url('resources/green-400-px-square.png') 2x); |
} |
</style> |
+<script> |
+if (window.eventSender) |
+ window.eventSender.zoomPageIn(); |
+</script> |
</head> |
-<body id="body"> |
- <div>This test passes if the div below is a blue 100px square when the deviceScaleFactor is 1, and if it is a 100px green square when the deviceScaleFactor is 2.</div> |
+<body> |
+ <div>This test passes if the div below is a green square. </div> |
<div id=foo></div> |
</body> |
</html> |