Index: LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg |
diff --git a/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg b/LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e1ba2055a694e6853573bdda372a4b55d18939d8 |
--- /dev/null |
+++ b/LayoutTests/svg/overflow/overflow-x-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 vertical scrollbar only, since horizontal overflow is hidden. |
+--> |
+<svg xmlns="http://www.w3.org/2000/svg" width="4000" height="4000" style="overflow-x: hidden; overflow-y: scroll;"> |
+ <rect width="4000" height="4000" fill="green"/> |
+</svg> |