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

Unified Diff: LayoutTests/fast/frames/seamless/seamless-inherited-document-style.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-inherited-document-style.html
diff --git a/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html b/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html
deleted file mode 100644
index 620a1571a958d2944665c9666291a06ea4065df4..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<script src="../../../resources/js-test.js"></script>
-<style>
-iframe {
- -webkit-rtl-ordering: visual;
- -webkit-user-modify: read-write;
- -webkit-locale: 'en_US';
- writing-mode: lr;
- direction: rtl;
- font: normal normal normal 18px/normal Ahem;
-}
-</style>
-<iframe id="iframe" seamless srcdoc=""></iframe>
-<script>
-debug("Test that seamless iframes inherit styles from their parent iframe instead of using StyleResolver::styleForDocument defaults.")
-window.onload = function () {
- window.iframe = document.getElementById("iframe");
- window.rootElement = iframe.contentDocument.documentElement;
- shouldBeEqualToString("window.getComputedStyle(rootElement)['-webkit-rtl-ordering']", "visual");
- shouldBeEqualToString("window.getComputedStyle(rootElement)['-webkit-locale']", "en_US");
- shouldBeEqualToString("window.getComputedStyle(rootElement)['writing-mode']", "lr");
- shouldBeEqualToString("window.getComputedStyle(rootElement)['direction']", "rtl");
- shouldBeEqualToString("window.getComputedStyle(rootElement)['font']", "normal normal normal 18px/normal Ahem");
-
- debug("'-webkit-user-modify', on the other hand, should not be inherited.");
- shouldBeEqualToString("window.getComputedStyle(rootElement)['-webkit-user-modify']", "read-only");
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698