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

Unified Diff: LayoutTests/svg/custom/bug86392.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
« no previous file with comments | « LayoutTests/svg/custom/bug79798-expected.txt ('k') | LayoutTests/svg/custom/bug86392-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/bug86392.html
diff --git a/LayoutTests/svg/custom/bug86392.html b/LayoutTests/svg/custom/bug86392.html
deleted file mode 100644
index 5451dd9121ae0bc8251121ed2862ba19b77dba19..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/custom/bug86392.html
+++ /dev/null
@@ -1,59 +0,0 @@
-<html>
-<head>
-<style>
-#el1 {
- border-left-style: double;
-}
-#el3 {
- content: counter(c);
-}
-</style>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function executeTest() {
- el0=document.createElementNS('http://www.w3.org/2000/svg', 'svg')
- el0.setAttribute('marker-mid', 'url(#el4)')
- document.body.appendChild(el0)
- el1=document.createElementNS('http://www.w3.org/2000/svg', 'svg')
- el1.setAttribute('id','el1')
- document.body.appendChild(el1)
- el2=document.createElementNS('http://www.w3.org/2000/svg', 'path')
- el2.setAttribute('d', 'M 0 0 s 0 0 0 0 C 0 0 0 0 0 400 c 0 0 0 400 400 0')
- el0.appendChild(el2)
- el3=document.createElementNS('http://www.w3.org/2000/svg', 'svg')
- el3.setAttribute('id','el3')
- el1.appendChild(el3)
- el4=document.createElementNS('http://www.w3.org/2000/svg', 'marker')
- el4.setAttribute('id','el4')
- el3.appendChild(el4)
- scrollTo(0, 60)
- document.body.style.zoom=0.1
- document.designMode='on'
- document.execCommand('selectall')
- document.designMode='off'
-}
-
-window.onload = function(){
- if (location.hash != "#2") {
- if (location.hash)
- location.hash = "#" + (parseInt(location.hash.slice(1)) + 1).toString();
- else
- location.hash = "#1";
- executeTest();
- setTimeout(function(){ location.reload() },0);
- } else {
- document.getElementById("div1").textContent = "PASS: WebKit did not crash.";
- if (window.testRunner)
- testRunner.notifyDone();
- }
-}
-</script>
-</head>
-<body>
-<div id="div1"></div>
-</body>
-</html>
« no previous file with comments | « LayoutTests/svg/custom/bug79798-expected.txt ('k') | LayoutTests/svg/custom/bug86392-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698