summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-will-change/will-change-transform-inline-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-will-change/will-change-transform-inline-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-will-change/will-change-transform-inline-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-will-change/will-change-transform-inline-ref.html b/testing/web-platform/tests/css/css-will-change/will-change-transform-inline-ref.html
new file mode 100644
index 0000000000..b05c3c95ac
--- /dev/null
+++ b/testing/web-platform/tests/css/css-will-change/will-change-transform-inline-ref.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<title>CSS Test Reference</title>
+<style>
+ #child {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 200px;
+ height: 200px;
+ background-color: blue;
+ }
+</style>
+<div style="height: 200px"></div>
+<span id="container">
+ Child should be positioned relative to the viewport, not relative to me.
+
+ <div id="child"></div>
+</span>