Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: third_party/WebKit/LayoutTests/fast/hidpi/image-set-as-background-with-zoom.html

Issue 1634023002: Use devicePixelRatio in image set (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698