Index: LayoutTests/fast/frames/seamless/seamless-document-write.html |
diff --git a/LayoutTests/fast/frames/seamless/seamless-document-write.html b/LayoutTests/fast/frames/seamless/seamless-document-write.html |
deleted file mode 100644 |
index 6e3bcfd5d67ec0245a1390c7bcf622cd486252e4..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/frames/seamless/seamless-document-write.html |
+++ /dev/null |
@@ -1,30 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
- <style> |
- .red { color: red; } |
- </style> |
- <script src="../../../resources/js-test.js"></script> |
- <script> |
- function writeToFrame(html) { |
- var frame = document.querySelector('iframe'); |
- var iframeDoc = frame.contentWindow.document; |
- iframeDoc.open(); |
- iframeDoc.write(html); |
- iframeDoc.close(); |
- } |
- |
- window.onload = function () { |
- debug("This test ensures that content written into a seamless iframe correctly inherits style."); |
- |
- writeToFrame('<div class=\"red\">Text.</div>'); |
- window.framedElement = document.querySelector('iframe').contentDocument.querySelector('div'); |
- |
- shouldBeEqualToString("window.getComputedStyle(framedElement).getPropertyCSSValue('color').cssText", "rgb(255, 0, 0)"); |
- }; |
- </script> |
-</head> |
-<body> |
- <iframe seamless></iframe> |
-</body> |
-</html> |