summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/animation-worklet/references
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/animation-worklet/references')
-rw-r--r--testing/web-platform/tests/animation-worklet/references/not-translated-box-ref.html12
-rw-r--r--testing/web-platform/tests/animation-worklet/references/translated-box-ref.html12
2 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/animation-worklet/references/not-translated-box-ref.html b/testing/web-platform/tests/animation-worklet/references/not-translated-box-ref.html
new file mode 100644
index 0000000000..96acf1ad96
--- /dev/null
+++ b/testing/web-platform/tests/animation-worklet/references/not-translated-box-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>Reference for Animation Worklet local time set after duration</title>
+<style>
+#box {
+ width: 100px;
+ height: 100px;
+ background-color: green;
+ will-change: transform;
+}
+</style>
+
+<div id="box"></div>
diff --git a/testing/web-platform/tests/animation-worklet/references/translated-box-ref.html b/testing/web-platform/tests/animation-worklet/references/translated-box-ref.html
new file mode 100644
index 0000000000..f1dde2e19b
--- /dev/null
+++ b/testing/web-platform/tests/animation-worklet/references/translated-box-ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<style>
+#box {
+ width: 100px;
+ height: 100px;
+ transform: translateY(100px);
+ background-color: green;
+ will-change: transform;
+}
+</style>
+
+<div id="box"></div>