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

Unified Diff: third_party/WebKit/LayoutTests/fast/backgrounds/size/contain-and-cover-zoomed.html

Issue 1456813002: Calculate Background Image Geometries using sub-pixel values (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unit fix and moar ref test corrections. Still no expected results. Created 5 years, 1 month 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/backgrounds/size/contain-and-cover-zoomed.html
diff --git a/third_party/WebKit/LayoutTests/fast/backgrounds/size/contain-and-cover-zoomed.html b/third_party/WebKit/LayoutTests/fast/backgrounds/size/contain-and-cover-zoomed.html
index 873a27b701707f5affd884b71d027b199dff7677..fd9e2f872c76004df7f0b03e64115f69b395631c 100644
--- a/third_party/WebKit/LayoutTests/fast/backgrounds/size/contain-and-cover-zoomed.html
+++ b/third_party/WebKit/LayoutTests/fast/backgrounds/size/contain-and-cover-zoomed.html
@@ -56,8 +56,9 @@
<script>
if (window.testRunner) {
- for (var i = 0; i < 3; ++i) {
+ for (var i = 0; i < 3; ++i)
eventSender.zoomPageOut();
- }
+ } else {
+ document.styleSheets[0].insertRule("body { zoom: 0.666666667; }", 0);
eae 2015/11/25 00:21:05 document.body.style.zoom = 0.666666667; (or even 2
leviw_travelin_and_unemployed 2015/11/25 00:31:56 Fair enough. This change isn't actually necessary.
}
</script>

Powered by Google App Engine
This is Rietveld 408576698