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> |