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

Unified Diff: LayoutTests/svg/animations/viewspec-animated-viewbox.html

Issue 1051023006: Fix SVG animations which check viewBox attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: LayoutTests/svg/animations/viewspec-animated-viewbox.html Created 5 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/viewspec-animated-viewbox.html
diff --git a/LayoutTests/svg/animations/viewspec-animated-viewbox.html b/LayoutTests/svg/animations/viewspec-animated-viewbox.html
new file mode 100644
index 0000000000000000000000000000000000000000..8cfdc361b9d70829e77f6d27fbe3483c2ed1dd06
--- /dev/null
+++ b/LayoutTests/svg/animations/viewspec-animated-viewbox.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<body>
+<!-- See: https://svgwg.org/svg2-draft/single-page.html#linking-SVGFragmentIdentifiers -->
+Test for crbug.com/235256: viewSpec's ViewBoxParams.<br/>
+There should be 2 green boxes below:<br/>
+<object width="30" height="30" data="resources/viewspec-animated-viewbox.svg#svgView(viewBox(100,100,30,30))"></object>
+<object width="30" height="30" data="resources/viewspec-animated-viewbox.svg#svgView(viewBox(110,110,10,10))"></object>
+<br/>
+There should be 3 blue boxes below:<br/>
+<object width="30" height="30" data="resources/viewspec-animated-viewbox.svg#svgView(viewBox(0))"></object>
+<object width="30" height="30" data="resources/viewspec-animated-viewbox.svg#svgView(viewBox(10,10,-1,-1)"></object>
+<object width="30" height="30" data="resources/viewspec-animated-viewbox.svg#svgView(viewBox(100;100;30;30))"></object>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698