Index: third_party/WebKit/LayoutTests/fast/css/computed-offset-with-zoom.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/computed-offset-with-zoom.html b/third_party/WebKit/LayoutTests/fast/css/computed-offset-with-zoom.html |
index 00cc81a023f5b8cf957d1bf4ff917e39f9f0a0b7..27d8be4f39b3359f272f64b146caec1a4a90e1dc 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/computed-offset-with-zoom.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/computed-offset-with-zoom.html |
@@ -53,12 +53,10 @@ |
document.body.style.zoom = zoomLevel; |
var windowWidth = "'" + (window.innerWidth / 10) + "px'"; |
var windowHeight = "'" + (window.innerHeight / 10) + "px'"; |
- var windowMinusWidth = "'-" + (window.innerWidth / 10) + "px'"; |
- var windowMinusHeight = "'-" + (window.innerHeight / 10) + "px'"; |
shouldBe("window.getComputedStyle(fixedElement).top", "'100px'"); |
- shouldBe("window.getComputedStyle(fixedElement).right", "'-100px'"); |
- shouldBe("window.getComputedStyle(fixedElement).bottom", "'-100px'"); |
+ shouldBe("window.getComputedStyle(fixedElement).right", "'100px'"); |
+ shouldBe("window.getComputedStyle(fixedElement).bottom", "'100px'"); |
shouldBe("window.getComputedStyle(fixedElement).left", "'100px'"); |
shouldBe("window.getComputedStyle(percentageElement).top", "'50px'"); |
@@ -67,8 +65,8 @@ |
shouldBe("window.getComputedStyle(percentageElement).left", "'100px'"); |
shouldBe("window.getComputedStyle(viewportElement).top", windowHeight); |
- shouldBe("window.getComputedStyle(viewportElement).right", windowMinusWidth); |
- shouldBe("window.getComputedStyle(viewportElement).bottom", windowMinusHeight); |
+ shouldBe("window.getComputedStyle(viewportElement).right", windowWidth); |
+ shouldBe("window.getComputedStyle(viewportElement).bottom", windowHeight); |
shouldBe("window.getComputedStyle(viewportElement).left", windowWidth); |
} |
test(0.5); |