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

Unified Diff: LayoutTests/svg/custom/unicode-in-tspan-multi-svg-crash.html

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/unicode-in-tspan-multi-svg-crash.html
diff --git a/LayoutTests/svg/custom/unicode-in-tspan-multi-svg-crash.html b/LayoutTests/svg/custom/unicode-in-tspan-multi-svg-crash.html
deleted file mode 100644
index 5a539aab2d0d4474b3cba166636ca76fed752ea8..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/custom/unicode-in-tspan-multi-svg-crash.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<html>
- <script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- onload = function() {
- tSpanElement = document.getElementById('tSpanInFirstRoot');
- tSpanElement.appendChild(document.createTextNode(unescape('%ufe9e%ue28f%ue47e')));
-
- document.body.offsetTop;
- document.body.style.zoom=0.9;
-
- document.designMode='on';
- filterInFirstRoot = document.getElementById('filterInFirstRoot');
- useElement = document.getElementById('useElement');
- window.getSelection().setBaseAndExtent(filterInFirstRoot, useElement, 5);
- document.execCommand('ForwardDelete');
- document.designMode='off';
- }
- </script>
- <body>
- <svg xmlns="http://www.w3.org/2000/svg">
- <text>
- <filter id="filterInFirstRoot"/>
- <tspan id="tSpanInFirstRoot"/>
- </text>
- <path filter="url(#filterInSecondRoot)"/>
- </svg>
-
- <svg xmlns="http://www.w3.org/2000/svg">
- <use id="useElement"/>
- <filter id="filterInSecondRoot"/>
- </svg>
-
- <p>Test Passes if there is no crash in Debug or Asan builds.</p>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698