aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/tests/svg/geometry/reftests/rect-calc-dynamic-viewport-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/tests/svg/geometry/reftests/rect-calc-dynamic-viewport-ref.html')
-rw-r--r--tests/wpt/tests/svg/geometry/reftests/rect-calc-dynamic-viewport-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/wpt/tests/svg/geometry/reftests/rect-calc-dynamic-viewport-ref.html b/tests/wpt/tests/svg/geometry/reftests/rect-calc-dynamic-viewport-ref.html
new file mode 100644
index 00000000000..84971d4b811
--- /dev/null
+++ b/tests/wpt/tests/svg/geometry/reftests/rect-calc-dynamic-viewport-ref.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<title>Changing container size of SVG with calc() width/height/x/y/rx/ry on &lt;rect> (reference)</title>
+<div id="hcontainer" style="width: 100px; height: 100px; position: absolute">
+ <svg width="100" height="100">
+ <rect width="100" height="100"/>
+ </svg>
+ <svg width="100" height="100">
+ <rect width="100" height="100" x="50"/>
+ </svg>
+ <svg width="100" height="100">
+ <rect width="100" height="100" rx="50"/>
+ </svg>
+</div>
+<div id="vcontainer" style="width: 100px; height: 100px; position: absolute; left: 116px">
+ <svg width="100" height="100">
+ <rect width="100" height="100"/>
+ </svg>
+ <svg width="100" height="100">
+ <rect width="100" height="100" y="50"/>
+ </svg>
+ <svg width="100" height="100">
+ <rect width="100" height="100" ry="50"/>
+ </svg>
+</div>