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

Unified Diff: Source/core/css/pluginPlaceholder.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: add the actual .css file Created 6 years, 4 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/css/pluginPlaceholder.css
diff --git a/Source/core/css/pluginPlaceholder.css b/Source/core/css/pluginPlaceholder.css
new file mode 100644
index 0000000000000000000000000000000000000000..0b41f4024d2160b89a5aa07b265bb28830c279b5
--- /dev/null
+++ b/Source/core/css/pluginPlaceholder.css
@@ -0,0 +1,22 @@
+/*
+ * The style sheet loaded for plugin placeholders.
haraken 2014/09/01 00:59:43 This comment should be written after the copyright
jbroman 2014/09/02 15:44:04 This comment is removed in the latest patchset. (
+ *
+ * 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