Index: LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg |
diff --git a/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg b/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c97d91630b2a9a29e382b4990e5beb69433ed9d |
--- /dev/null |
+++ b/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element.svg |
@@ -0,0 +1,9 @@ |
+<?xml version="1.0" encoding="UTF-8"?> |
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd"> |
+<!-- |
+ Verify that setting overflow on the outermost <svg> element does affect rendering. |
+ You should see a horizontal scrollbar only, as the content is wider than the viewport. |
+--> |
+<svg xmlns="http://www.w3.org/2000/svg" width="4000" height="4000" style="overflow-x: visible; overflow-y: hidden;"> |
+ <rect width="4000" height="4000" fill="green"/> |
+</svg> |