aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/2d-rotate-js.xht
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2017-11-01 18:17:08 -0400
committerJosh Matthews <josh@joshmatthews.net>2017-11-02 09:22:26 -0400
commit12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6 (patch)
tree982bef2092a4a03855f51022c56460a546d5bce8 /tests/wpt/css-tests/css-transforms-1_dev/xhtml1/2d-rotate-js.xht
parent00940911c5755651df7038c7bf4b51c77a44c225 (diff)
downloadservo-12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6.tar.gz
servo-12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6.zip
Remove all outdated CSS tests.
Diffstat (limited to 'tests/wpt/css-tests/css-transforms-1_dev/xhtml1/2d-rotate-js.xht')
-rw-r--r--tests/wpt/css-tests/css-transforms-1_dev/xhtml1/2d-rotate-js.xht34
1 files changed, 0 insertions, 34 deletions
diff --git a/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/2d-rotate-js.xht b/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/2d-rotate-js.xht
deleted file mode 100644
index 716bb04e29d..00000000000
--- a/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/2d-rotate-js.xht
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><head>
- <title>JS test: Rotate via javascript must show the correct computed rotation</title>
- <link href="http://mrkn.co/axegs" rel="author" title="Rick Hurst" />
- <link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help" />
- <script src="/resources/testharness.js"></script>
- <script src="/resources/testharnessreport.js"></script>
- <meta content="svg" name="flags" />
- <meta content="Asserting that you can rotate an element with JS and it show up in CSS computed values not as a matrix but as the rotation" name="assert" />
- <style>
- #box{
- margin-top:30px;
- display: block;
- width: 50px;
- height: 50px;
- background-color: green;
- }
- </style>
- </head>
- <body>
- <h1>Rotate via JS</h1>
- <div id="log"></div>
- <div id="box"></div>
- <script>
- test(function() {
- var box = document.getElementById("box");
- box.style.transform = "rotate(30deg)";
- assert_equals(window.getComputedStyle(box).getPropertyValue("transform"),
- "rotate(30deg)");
- });
- </script>
-
-
-</body></html> \ No newline at end of file