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

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

Issue 522783002: Add a custom element to own structure of shadow DOM plugin placeholders. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blink-in-JS 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: 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
new file mode 100644
index 0000000000000000000000000000000000000000..2096a3e641d82a38da0cd8545844186c4edd6259
--- /dev/null
+++ b/LayoutTests/fast/plugins/plugin-placeholder-structured-expected.html
@@ -0,0 +1,35 @@
+<!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>
+
+<div class="plugin">
+ <div class="plugin-placeholder">
+ <div class="plugin-placeholder-content">
+ <div class="plugin-placeholder-message">
+ Sorry, but your plugin couldn't be loaded.
+ Here, have a <a href="#">link</a>.
+ </div>
+ </div>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698