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

Unified Diff: LayoutTests/fast/plugins/plugin-placeholder-inherit.html

Issue 669883003: Prevent inherited style from propagating into a plugin placeholder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 1 month 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/plugins/plugin-placeholder-inherit.html
diff --git a/LayoutTests/fast/plugins/plugin-placeholder-inherit.html b/LayoutTests/fast/plugins/plugin-placeholder-inherit.html
new file mode 100644
index 0000000000000000000000000000000000000000..7cc5169fb80054ebb757ff574a857e919e554e33
--- /dev/null
+++ b/LayoutTests/fast/plugins/plugin-placeholder-inherit.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+
+<!-- These properties should not propagate into the placeholder. -->
+<style>
+body {
+ color: red;
+ text-decoration: underline;
+ text-transform: uppercase;
+}
+</style>
+
+<!-- The message inserted below should be shown with some suitable style. -->
+<embed type="application/x-fake-plugin"></embed>
+
+<script>
+var plugin = document.querySelector("embed");
+internals.forcePluginPlaceholder(plugin, { message: "This test fails if this text is red, underlined, or uppercase." });
+</script>
« no previous file with comments | « LayoutTests/fast/plugins/plugin-placeholder.css ('k') | LayoutTests/fast/plugins/plugin-placeholder-inherit-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698