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> |