Index: LayoutTests/fast/dom/title-directionality-removeChild.html |
diff --git a/LayoutTests/fast/dom/title-directionality-removeChild.html b/LayoutTests/fast/dom/title-directionality-removeChild.html |
deleted file mode 100644 |
index 67e7d7e572aa02b72cfba61f8355dc916478c21a..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/dom/title-directionality-removeChild.html |
+++ /dev/null |
@@ -1,44 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<title>page title</title> |
-</head> |
-<body> |
-<iframe id=iframe></iframe> |
-<script> |
-var iframe = document.getElementById('iframe'); |
- |
-function assertDirection(label, expectedDirection, html) |
-{ |
- var doc = iframe.contentDocument; |
- doc.removeChild(doc.documentElement); |
- doc.open(); |
- doc.write(html); |
- doc.close(); |
- |
- var dir = window.testRunner ? testRunner.titleTextDirection : 'testRunner unavailable'; |
- var status = html + ' should have title direction "' + expectedDirection + '". '; |
- if (dir == expectedDirection) { |
- status += 'PASS'; |
- } else { |
- status += 'FAIL (got: "' + dir + '")'; |
- } |
- var div = document.createElement('div'); |
- div.innerText = status; |
- document.body.appendChild(div); |
-} |
- |
-if (window.testRunner) |
- testRunner.dumpAsText(); |
- |
-assertDirection('normal doc', 'ltr', |
- '<html><title>foo</title></html>'); |
-assertDirection('title dir=rtl', 'rtl', |
- '<html><title dir=rtl>foo</title></html>'); |
-assertDirection('html dir=rtl', 'rtl', |
- '<html dir=rtl><title>foo</title></html>'); |
-assertDirection('html dir=rtl, title dir=ltr', 'ltr', |
- '<html dir=rtl><title dir=ltr>foo</title></html>'); |
-</script> |
-</body> |
-</html> |