summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-anchor-position/reference/anchor-position-circular-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-anchor-position/reference/anchor-position-circular-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-anchor-position/reference/anchor-position-circular-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-position-circular-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-position-circular-ref.html
new file mode 100644
index 0000000000..6beb7c77e9
--- /dev/null
+++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-position-circular-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+}
+
+#anchored1 {
+ position: absolute;
+ left: 0;
+ top: 0;
+ background: orange;
+}
+
+#anchored2 {
+ position: absolute;
+ left: 0;
+ top: 100px;
+ background: green;
+}
+</style>
+
+<div id="anchored1"></div>
+<div id="anchored2"></div>