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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <style> 3 <link rel="stylesheet" href="plugin-placeholder.css">
4 .plugin {
5 display: block;
6 width: 300px;
7 height: 150px;
8 }
9
10 .plugin-placeholder {
11 width: 100%;
12 height: 100%;
13 overflow: hidden;
14 display: flex;
15 align-items: center;
16 background-color: gray;
17 font: 12px -webkit-control;
18 }
19
20 .plugin-placeholder-content {
21 text-align: center;
22 margin: auto;
23 }
24 </style>
25 4
26 <div class="plugin"> 5 <div class="plugin">
27 <div class="plugin-placeholder"> 6 <div class="plugin-placeholder">
28 <div class="plugin-placeholder-content"> 7 <div class="plugin-placeholder-content">
29 <div class="plugin-placeholder-message"> 8 <div class="plugin-placeholder-message">
30 Sorry, but your plugin couldn't be loaded. 9 Sorry, but your plugin couldn't be loaded.
31 </div> 10 </div>
32 </div> 11 </div>
33 </div> 12 </div>
34 </div> 13 </div>
OLDNEW
« 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