Index: LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg |
diff --git a/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg b/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc6b693c6547b8edc8df680df32ee04111d698b3 |
--- /dev/null |
+++ b/LayoutTests/svg/overflow/overflow-on-outermost-svg-element-horizontal-auto.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 scrollbars only, as the content is wider than the viewport. |
+--> |
+<svg xmlns="http://www.w3.org/2000/svg" width="4000" height="100" style="overflow: auto"> |
+ <rect width="4000" height="100" fill="green"/> |
+</svg> |