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

Unified Diff: LayoutTests/fast/frames/seamless/seamless-contenteditable-not-inherited.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-contenteditable-not-inherited.html
diff --git a/LayoutTests/fast/frames/seamless/seamless-contenteditable-not-inherited.html b/LayoutTests/fast/frames/seamless/seamless-contenteditable-not-inherited.html
deleted file mode 100644
index 2375968fbb0bb49850017d51f38f7f481a0cd4e0..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/seamless/seamless-contenteditable-not-inherited.html
+++ /dev/null
@@ -1,26 +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 iframe does not inherit editability via the contenteditable attribute on a parent element, but does via a CSS rule that cascades into the frame.");
-
- window.span = document.querySelector('div > iframe').contentDocument.querySelector('span');
- window.p = document.querySelector('body > iframe').contentDocument.querySelector('p');
-
- shouldBeEqualToString("window.getComputedStyle(span).getPropertyCSSValue('-webkit-user-modify').cssText", "read-only");
- shouldBeEqualToString("window.getComputedStyle(p).getPropertyCSSValue('-webkit-user-modify').cssText", "read-write");
- };
- </script>
-</head>
-<body>
- <div contenteditable>
- <iframe seamless srcdoc="<span>This span is not editable.</span>"></iframe>
- </div>
- <style>
- p { -webkit-user-modify: read-write; }
- </style>
- <iframe seamless srcdoc="<p>This paragraph is not editable.</p>"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698