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

Unified Diff: LayoutTests/svg/animations/animate-viewport-overflow-2.html

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/animations/animate-viewport-overflow-2.html
diff --git a/LayoutTests/svg/animations/animate-viewport-overflow-2.html b/LayoutTests/svg/animations/animate-viewport-overflow-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..f7d0f7d9c9a5ad27241177801d5528b38fc738bd
--- /dev/null
+++ b/LayoutTests/svg/animations/animate-viewport-overflow-2.html
@@ -0,0 +1,29 @@
+<!doctype html>
+<head>
+ <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script>
+ <script>
+ function repaintTest() {
+ var svg = document.getElementById("svg");
+ svg.pauseAnimations();
+ svg.setCurrentTime(5);
+ }
+ </script>
+ <style>
+ div {
+ height:100px; width:100px;
+ }
+ svg { overflow: visible; }
+ </style>
+</head>
+<body>
+ <div>
+ <svg id="svg" height="100" width="100" viewbox="0 0 100 100">
+ <rect y="200" width="100" height="100" fill="blue">
+ <animate attributeName="y" to="150" dur="1s" begin="1s" fill="freeze"/>
+ </rect>
+ </svg>
+ </div>
+ <script>
+ runRepaintAndPixelTest();
+ </script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698