| 1 |
<!DOCTYPE html><!-- DO NOT EDIT. This file auto-generated by generate_closure_unit_tests.js --><!-- |
| 2 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 3 |
|
| 4 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 5 |
See the COPYING file for details. |
| 6 |
--><html><head><meta charset="UTF-8"> |
| 7 |
|
| 8 |
<script src="../../base.js"></script> |
| 9 |
|
| 10 |
<script>goog.require('goog.cssom.iframe.styleTest');</script> |
| 11 |
<title>Closure Unit Tests - goog.cssom.iframe.styleTest</title><!-- |
| 12 |
Copyright 2017 The Closure Library Authors. All Rights Reserved. |
| 13 |
|
| 14 |
Use of this source code is governed by the Apache License, Version 2.0. |
| 15 |
See the COPYING file for details. |
| 16 |
--> |
| 17 |
<style type="text/css"> |
| 18 |
@import url("style_test_import.css"); |
| 19 |
|
| 20 |
body { font-family: Verdana; } |
| 21 |
div { background-color: #ffc; margin: 10px 0; } |
| 22 |
p { margin: 10px 0; } |
| 23 |
.boxy { padding: 5px; background-color: #fa0; } |
| 24 |
.special .boxy { padding: 10px; background-color: #abef00; } |
| 25 |
div div strong { color: red; } |
| 26 |
div { line-height: 1.3; } |
| 27 |
.wrapper .inner-wrapper { border: 2px solid pink;} |
| 28 |
a { color: red; } |
| 29 |
#source4 { background-color: #900; } |
| 30 |
|
| 31 |
#backgroundTest-ancestor-1 { |
| 32 |
background-color: rgb(128,0,128); |
| 33 |
} |
| 34 |
#backgroundTest-ancestor-0 { |
| 35 |
background-image: url("../../images/blank.gif"); |
| 36 |
background-position: 40px 70px; |
| 37 |
background-repeat: repeat; |
| 38 |
background-color: transparent; |
| 39 |
padding: 5px 8px; |
| 40 |
} |
| 41 |
div#backgroundTest-parent { |
| 42 |
border: 1px solid black; |
| 43 |
background-color: transparent; |
| 44 |
} |
| 45 |
div#backgroundTest { |
| 46 |
position: relative; |
| 47 |
background-color: transparent; |
| 48 |
height: 100px; |
| 49 |
margin-top: 0; |
| 50 |
} |
| 51 |
</style> |
| 52 |
<style type="text/css"> |
| 53 |
.goog-presently-theme-monochrome { |
| 54 |
background-color: black; |
| 55 |
color: #CCC; |
| 56 |
} |
| 57 |
.goog-presently-theme-monochrome a { |
| 58 |
color: #FFF; |
| 59 |
} |
| 60 |
.goog-presently-theme-monochrome p#source4 { |
| 61 |
font-variant: small-caps; |
| 62 |
} |
| 63 |
|
| 64 |
.italic { |
| 65 |
font-style: italic; |
| 66 |
} |
| 67 |
</style> |
| 68 |
<style type="text/css"> |
| 69 |
@font-face { |
| 70 |
font-family: Cavalier; |
| 71 |
} |
| 72 |
#cavalier { |
| 73 |
font-family: Cavalier; |
| 74 |
} |
| 75 |
</style> |
| 76 |
</head><body><div class="wrapper"> |
| 77 |
<div class="inner-wrapper"> |
| 78 |
<div class="italic" id="source1"> |
| 79 |
hello world |
| 80 |
</div> |
| 81 |
<div id="source2"> |
| 82 |
<div> |
| 83 |
Some |
| 84 |
<strong> |
| 85 |
strong |
| 86 |
</strong> |
| 87 |
text |
| 88 |
</div> |
| 89 |
<div class="boxy exciting"> |
| 90 |
A box |
| 91 |
</div> |
| 92 |
<div class="inner-wrapper"> |
| 93 |
A wrapper |
| 94 |
</div> |
| 95 |
</div> |
| 96 |
<div class="special" id="source3"> |
| 97 |
Some |
| 98 |
<strong> |
| 99 |
strong |
| 100 |
</strong> |
| 101 |
text |
| 102 |
<div class="boxy"> |
| 103 |
A box |
| 104 |
</div> |
| 105 |
</div> |
| 106 |
<div class="goog-presently-theme-monochrome" id="ancestor"> |
| 107 |
<p id="source4" style="background-color: #900"> |
| 108 |
Here's a link: |
| 109 |
<a href="#"> |
| 110 |
my link |
| 111 |
</a> |
| 112 |
</p> |
| 113 |
</div> |
| 114 |
<div id="backgroundTest-ancestor-1"> |
| 115 |
<div id="backgroundTest-ancestor-0"> |
| 116 |
<div id="backgroundTest-parent"> |
| 117 |
<div id="backgroundTest"> |
| 118 |
hello |
| 119 |
</div> |
| 120 |
</div> |
| 121 |
</div> |
| 122 |
</div> |
| 123 |
<div id="cavalier"> |
| 124 |
</div> |
| 125 |
</div> |
| 126 |
</div> |
| 127 |
<br> |
| 128 |
<br></body></html> |