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

Unified Diff: Tools/GardeningServer/ui/ct-popout-iframe.html

Issue 559843006: SheriffOMatic: Add ct-popout-iframe and switch test output iframes to use it. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address comments 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
« no previous file with comments | « no previous file | Tools/GardeningServer/ui/ct-results-panel.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/ui/ct-popout-iframe.html
diff --git a/Tools/GardeningServer/ui/ct-popout-iframe.html b/Tools/GardeningServer/ui/ct-popout-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..8e33d086ddf3658a2f5feee38fb2d5fee8dc2036
--- /dev/null
+++ b/Tools/GardeningServer/ui/ct-popout-iframe.html
@@ -0,0 +1,25 @@
+<!--
+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.
+-->
+
+<polymer-element name="ct-popout-iframe" attributes="src" noscript>
+ <template>
+ <style>
+ .link {
+ /* <ct-test-output> sets line-height 0, so reset it here. */
+ line-height: initial;
+ padding: 3px;
+ }
+ iframe {
+ border: none;
+ width: 100%;
+ height: 400px;
+ }
+ </style>
+
+ <iframe src="{{src}}"></iframe>
+ <div class="link"><a href="{{src}}" target="_blank">pop out to a new tab</a></div>
+ </template>
+</polymer-element>
« no previous file with comments | « no previous file | Tools/GardeningServer/ui/ct-results-panel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698