summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/painting/foreignObject-overflow.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/painting/foreignObject-overflow.html')
-rw-r--r--testing/web-platform/tests/svg/painting/foreignObject-overflow.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/painting/foreignObject-overflow.html b/testing/web-platform/tests/svg/painting/foreignObject-overflow.html
new file mode 100644
index 0000000000..2802884bda
--- /dev/null
+++ b/testing/web-platform/tests/svg/painting/foreignObject-overflow.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<html>
+<title>foreignObject overflow</title>
+<link rel="match" href="foreignObject-overflow-ref.html">
+<svg width="400" height="400">
+ <foreignObject x="100" y="100" style="overflow: visible" width="2" height="2" font-size="16px">
+ <div style="width:100px;height:100px;background:yellow;border:1px solid red">
+ <div style="position:absolute;top:20px;left:30px;width:20px;height:20px;background:navy"></div>
+ Should show all the text
+ </div>
+ </foreignObject>
+</svg>