Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: LayoutTests/svg/overflow/overflow-x-hidden-on-outermost-svg-element.svg

Issue 220853002: SVG does not respect overflow:visible. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698