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

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: 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: 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..5368dbf093d52095d15194c91ecc291fe18c1697
--- /dev/null
+++ b/Tools/GardeningServer/ui/ct-popout-iframe.html
@@ -0,0 +1,30 @@
+<!--
+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">
ojan 2014/09/12 00:22:16 Leave out the script and put a noscript attribute
Robert Sesek 2014/09/12 13:58:58 Cool, didn't know about that. Done.
+ <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>
+ <script>
+ Polymer({
+ src: '',
+ });
+ </script>
+</polymer-element>
« no previous file with comments | « no previous file | Tools/GardeningServer/ui/ct-results-panel.html » ('j') | Tools/GardeningServer/ui/test/ct-popout-iframe.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698