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

Unified Diff: LayoutTests/svg/custom/layout-loop.svg

Issue 1167033002: Remove layout tests that run execCommand on non-HTML documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix doctype Created 5 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/custom/layout-loop.svg
diff --git a/LayoutTests/svg/custom/layout-loop.svg b/LayoutTests/svg/custom/layout-loop.svg
deleted file mode 100644
index 21f6cd229a24414e35ffff65477d4bf17b7c64cf..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/custom/layout-loop.svg
+++ /dev/null
@@ -1,53 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg">
-<g>
- <linearGradient>
- <stop id="stop"/>
- </linearGradient>
-</g>
-<g>
- <defs>
- <filter id="filter"/>
- </defs>
-
- <mask id="mask">
- <g filter="url(#filter)">
- <linearGradient id="gradient"/>
- <path fill="url(#gradient)" d="M147.231,26.23c70.188,0,127.086,57.77,127.086,129.032c0"/>
- </g>
- </mask>
-
- <path mask="url(#mask)" d="M147.231,26.23c70.188,0,127.086,57.77,127.086,129.032"/>
-</g>
-
-<text>PASS, if it doesn't crash.</text>
-<script><![CDATA[
-if (window.testRunner)
- testRunner.dumpAsText();
-document.execCommand("SelectAll");
-range = document.createRange();
-range.setStartBefore(document.getElementById("stop"));
-range.insertNode(document.getElementById("mask"));
-
-/* What does this do? It moves the whole <mask> element as child of the <linearGradient>.
-The final DOM looks like:
-
-<g>
- <linearGradient>
- <mask id="mask">
- <g filter="url(#filter)">
- <linearGradient id="gradient"/>
- <path fill="url(#gradient)" d="..."/>
- </g>
- </mask>
- <stop id="stop"/>
- </linearGradient>
-</g>
-<g>
- <defs>
- <filter id="filter"/>
- </defs>
- <path mask="url(#mask)" d="...."/>
-</g>
-*/
-]]></script>
-</svg>
« no previous file with comments | « LayoutTests/svg/custom/delete-text-innerText-crash-expected.txt ('k') | LayoutTests/svg/custom/layout-loop-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698