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/transforms/matrix-with-zoom.html

Issue 2547723002: Merge LayoutTests fast/transforms in transforms (Closed)
Patch Set: Fix a bad path reference. Created 4 years 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/transforms/matrix-with-zoom.html
diff --git a/third_party/WebKit/LayoutTests/fast/transforms/matrix-with-zoom.html b/third_party/WebKit/LayoutTests/fast/transforms/matrix-with-zoom.html
deleted file mode 100644
index 90b0a212d592d03d13053df466a9d17f0e94d469..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/transforms/matrix-with-zoom.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<html>
-<head>
-<style>
-body {
- zoom: 1.2;
- padding: 0;
- margin: 0;
-}
-
-.box {
- width: 100px;
- height: 100px;
- background-color: blue;
- position: absolute;
- top: 60px;
- left: 40px;
-}
-
-.translate {
- transform: translate(100px, 50px);
- background-color: red;
-}
-
-.matrix {
- transform: matrix(1, 0, 0, 1, 100, 50);
- background-color: green;
-}
-</style>
-<script type="text/javascript">
-
-function runTest() {
-
- if (!window.testRunner) {
-
- var id1 = "a";
- var id2 = "b";
- var element1 = document.getElementById(id1);
- var element2 = document.getElementById(id2);
- var x1 = element1.getBoundingClientRect().left;
- var y1 = element1.getBoundingClientRect().top;
- var x2 = element2.getBoundingClientRect().left;
- var y2 = element2.getBoundingClientRect().top;
-
- var resultString = '';
- if (x1 == x2 && y1 == y2) {
- resultString += "PASS - Element " + id1 + " and Element " + id2 + " had identical positions";
- } else {
- resultString += "FAIL - Element " + id1 + " and Element " + id2 + " had different positions";
- }
-
- document.body.appendChild(document.createTextNode(resultString));
- }
-}
-</script>
-</head>
-<body onload="runTest();">
-
-<!-- You should see green box only. If you see red, the test has failed -->
-
-<div id='a' class="box translate"></div>
-<div id='b' class="box matrix"></div>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698