summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/computed-transform-value.html
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-05-06 11:45:16 +0100
committerSteve Block <steveblock@google.com>2011-05-12 13:44:10 +0100
commitcad810f21b803229eb11403f9209855525a25d57 (patch)
tree29a6fd0279be608e0fe9ffe9841f722f0f4e4269 /WebCore/manual-tests/computed-transform-value.html
parent121b0cf4517156d0ac5111caf9830c51b69bae8f (diff)
downloadexternal_webkit-cad810f21b803229eb11403f9209855525a25d57.zip
external_webkit-cad810f21b803229eb11403f9209855525a25d57.tar.gz
external_webkit-cad810f21b803229eb11403f9209855525a25d57.tar.bz2
Merge WebKit at r75315: Initial merge by git.
Change-Id: I570314b346ce101c935ed22a626b48c2af266b84
Diffstat (limited to 'WebCore/manual-tests/computed-transform-value.html')
-rw-r--r--WebCore/manual-tests/computed-transform-value.html49
1 files changed, 0 insertions, 49 deletions
diff --git a/WebCore/manual-tests/computed-transform-value.html b/WebCore/manual-tests/computed-transform-value.html
deleted file mode 100644
index 5d7e622..0000000
--- a/WebCore/manual-tests/computed-transform-value.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-
-<html lang="en">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Get Computed Transform</title>
- <style type="text/css" media="screen">
- .box {
- height: 200px;
- width: 200px;
- background-color: #00a0a0;
- }
- </style>
- <script type="text/javascript" charset="utf-8">
- function printTransform(event)
- {
- var box = event.target;
- var computedTransform = window.getComputedStyle(box).webkitTransform;
- document.getElementById("output").innerHTML = 'Computed transform is ' + computedTransform;
- }
-
- </script>
-</head>
-<body onclick="printTransform(event)">
-
-<h1>Testing transform computed style</h1>
-<p>All boxes are 200x200 pixels. When you click on an element, the computed transform style will be displayed below</p>
-<p id="output">Computed style for -webkit-transform displayed here</p>
-
-
-<div class="box" style="position: absolute; left: 100px; top: 200px; -webkit-transform: scale(1.5, 0.75)">
- scale(1.5, 0.75)
-</div>
-
-<div class="box" style="position: absolute; left: 400px; top: 200px; -webkit-transform: rotate(30deg)">
- rotate(30deg)
-</div>
-
-<div class="box" style="position: absolute; left: 100px; top: 400px; -webkit-transform: translate(50px, 80px)">
- translate(50px, 80px)
-</div>
-
-<div class="box" style="position: absolute; left: 400px; top: 400px; -webkit-transform: translate(10px, 50px) scale(0.8) rotate(-10deg)">
- translate(10px, 50px) scale(0.8) rotate(-10deg)
-</div>
-
-</body>
-</html>