diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:41 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:41 -0800 |
commit | 648161bb0edfc3d43db63caed5cc5213bc6cb78f (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /WebCore/manual-tests/computed-transform-value.html | |
parent | a65af38181ac7d34544586bdb5cd004de93897ad (diff) | |
download | external_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.zip external_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.tar.gz external_webkit-648161bb0edfc3d43db63caed5cc5213bc6cb78f.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/computed-transform-value.html')
-rw-r--r-- | WebCore/manual-tests/computed-transform-value.html | 49 |
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> |