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

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

Issue 516273002: Move plugin placeholder style to CSS, and allow it to bypass main world CSP. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase and rewrite Created 6 years, 3 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: Source/core/html/shadow/PluginPlaceholderElement.css
diff --git a/Source/core/html/shadow/PluginPlaceholderElement.css b/Source/core/html/shadow/PluginPlaceholderElement.css
new file mode 100644
index 0000000000000000000000000000000000000000..23fb8bc25c70401add5e9f910c8d36a3d38661ae
--- /dev/null
+++ b/Source/core/html/shadow/PluginPlaceholderElement.css
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2014 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#plugin-placeholder {
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ display: flex;
+ align-items: center;
+ background: gray;
+ font: 12px -webkit-control;
+}
+
+#plugin-placeholder-content {
+ text-align: center;
+ margin: auto;
+}

Powered by Google App Engine
This is Rietveld 408576698