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

Unified Diff: LayoutTests/fast/frames/seamless/seamless-document-write.html

Issue 138443013: Remove iframe@seamless (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include remove tests Created 6 years, 11 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/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>

Powered by Google App Engine
This is Rietveld 408576698