summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-animations/animation-offscreen-to-onscreen-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-animations/animation-offscreen-to-onscreen-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-animations/animation-offscreen-to-onscreen-ref.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-animations/animation-offscreen-to-onscreen-ref.html b/testing/web-platform/tests/css/css-animations/animation-offscreen-to-onscreen-ref.html
new file mode 100644
index 0000000000..76fd70f3e0
--- /dev/null
+++ b/testing/web-platform/tests/css/css-animations/animation-offscreen-to-onscreen-ref.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<title>Validates rendering of a transformed element when the element is initially off screen</title>
+<style type="text/css" media="screen">
+ body {
+ margin: 0;
+ }
+
+ #box {
+ position: absolute;
+ left: 0px;
+ top: 100px;
+ height: 100px;
+ width: 100px;
+ margin: 0;
+ background-color: green;
+ transform: translate(100px, 0px);
+ }
+</style>
+<body>
+ <div id="box"></div>
+</body>
+</html>