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

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

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: gn 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: LayoutTests/fast/plugins/plugin-placeholder-structured-expected.html
diff --git a/LayoutTests/fast/plugins/plugin-placeholder-structured-expected.html b/LayoutTests/fast/plugins/plugin-placeholder-structured-expected.html
index 2096a3e641d82a38da0cd8545844186c4edd6259..b934e8b03920dc5f9a5412664dc59c026a2e47d8 100644
--- a/LayoutTests/fast/plugins/plugin-placeholder-structured-expected.html
+++ b/LayoutTests/fast/plugins/plugin-placeholder-structured-expected.html
@@ -1,27 +1,6 @@
<!DOCTYPE html>
-<style>
-.plugin {
- display: block;
- width: 300px;
- height: 150px;
-}
-
-.plugin-placeholder {
- width: 100%;
- height: 100%;
- overflow: hidden;
- display: flex;
- align-items: center;
- background-color: gray;
- font: 12px -webkit-control;
-}
-
-.plugin-placeholder-content {
- text-align: center;
- margin: auto;
-}
-</style>
+<link rel="stylesheet" href="plugin-placeholder.css">
<div class="plugin">
<div class="plugin-placeholder">

Powered by Google App Engine
This is Rietveld 408576698