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

Unified Diff: LayoutTests/svg/dom/viewspec-viewboxparams.html

Issue 17143003: Rewrite SVG viewspec tests to not be fuzzer tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for landing Created 7 years, 6 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/dom/viewspec-viewboxparams.html
diff --git a/LayoutTests/svg/dom/viewspec-viewboxparams.html b/LayoutTests/svg/dom/viewspec-viewboxparams.html
new file mode 100644
index 0000000000000000000000000000000000000000..d540c5e20d7aa5f95ca219781c9bb32bef567299
--- /dev/null
+++ b/LayoutTests/svg/dom/viewspec-viewboxparams.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<body>
+<!-- See: https://svgwg.org/svg2-draft/single-page.html#linking-SVGFragmentIdentifiers -->
+Test for crbug.com/249578: viewSpec's ViewBoxParams.<br/>
+There should be 2 green boxes below:<br/>
+<object width="30" height="30" data="resources/viewspec-viewboxparams.svg#svgView(viewBox(100,100,30,30))"></object>
+<object width="30" height="30" data="resources/viewspec-viewboxparams.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-viewboxparams.svg#svgView(viewBox(0))"></object>
+<object width="30" height="30" data="resources/viewspec-viewboxparams.svg#svgView(viewBox(10,10,-1,-1)"></object>
+<object width="30" height="30" data="resources/viewspec-viewboxparams.svg#svgView(viewBox(100;100;30;30))"></object>
+</body>
+</html>
« no previous file with comments | « LayoutTests/svg/dom/viewspec-transformparams-expected.html ('k') | LayoutTests/svg/dom/viewspec-viewboxparams-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698