Index: LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg |
diff --git a/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg b/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.svg |
new file mode 100644 |
index 0000000000000000000000000000000000000000..170023a0bc951ed45f2f57cde8ff5787cd3529e3 |
--- /dev/null |
+++ b/LayoutTests/svg/overflow/overflow-y-hidden-on-outermost-svg-element-expected.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="100%" style="overflow-x: visible; overflow-y: hidden;"> |
+ <rect width="4000" height="100%" fill="green"/> |
+</svg> |