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

Unified Diff: LayoutTests/fast/frames/seamless/seamless-srcdoc.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-srcdoc.html
diff --git a/LayoutTests/fast/frames/seamless/seamless-srcdoc.html b/LayoutTests/fast/frames/seamless/seamless-srcdoc.html
deleted file mode 100644
index 52e6f9b107a0ff5bbc156ccf9ee14a3b9a6ad955..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/seamless/seamless-srcdoc.html
+++ /dev/null
@@ -1,27 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script src="../../../resources/js-test.js"></script>
- <script>
- window.onload = function () {
- debug("This test ensures that content inside a seamless srcdoc iframe correctly inherits style, even if it doesn't set any styles of its own.");
-
- window.srcdocspan = document.getElementById("nostyle").contentDocument.querySelector('span');
- window.srcdocstylespan = document.getElementById("style").contentDocument.querySelector('span');
- window.span = document.querySelector('iframe[src]').contentDocument.querySelector('span');
-
- shouldBeEqualToString("window.getComputedStyle(srcdocspan).getPropertyCSSValue('color').cssText", "rgb(255, 0, 0)");
- shouldBeEqualToString("window.getComputedStyle(srcdocstylespan).getPropertyCSSValue('color').cssText", "rgb(255, 0, 0)");
- shouldBeEqualToString("window.getComputedStyle(span).getPropertyCSSValue('color').cssText", "rgb(255, 0, 0)");
- };
- </script>
- <style>
- span { color: red; }
- </style>
-</head>
-<body>
- <iframe id="nostyle" seamless srcdoc="<span>This is a span.</span>"></iframe>
- <iframe id="style" seamless srcdoc="<style></style><span>This is a span.</span>"></iframe>
- <iframe seamless src="resources/span.html"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698