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

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: remove excess inline style from js Created 6 years, 2 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
« no previous file with comments | « LayoutTests/fast/plugins/plugin-placeholder-csp-expected.html ('k') | Source/core/dom/StyleElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e86128d715075169a259eebb32ab5a9d084236fa..786ada0563433f81b3f8494a186a8c63318961ad 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">
« no previous file with comments | « LayoutTests/fast/plugins/plugin-placeholder-csp-expected.html ('k') | Source/core/dom/StyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698