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

Unified Diff: Source/core/html/shadow/PluginPlaceholderElement.js

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
« no previous file with comments | « LayoutTests/fast/plugins/plugin-placeholder-inherit-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/PluginPlaceholderElement.js
diff --git a/Source/core/html/shadow/PluginPlaceholderElement.js b/Source/core/html/shadow/PluginPlaceholderElement.js
index c6ab1a8f7d279b11ce26fc4ef22ba6ce1de72ea2..056cfbfa48dbffda4c31445ceb9594c6df849315 100644
--- a/Source/core/html/shadow/PluginPlaceholderElement.js
+++ b/Source/core/html/shadow/PluginPlaceholderElement.js
@@ -8,6 +8,7 @@ installClass('PluginPlaceholderElement', function(PluginPlaceholderElementProtot
// FIXME: Load this from a .css file.
var styleSource =
'#plugin-placeholder {' +
+ ' all: initial;' +
' width: 100%;' +
' height: 100%;' +
' overflow: hidden;' +
« no previous file with comments | « LayoutTests/fast/plugins/plugin-placeholder-inherit-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698