OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style type="text/css" title="teste"> | 4 <style type="text/css" title="teste"> |
5 .box { | 5 .box { |
6 margin: 0px; | 6 margin: 0px; |
7 padding: 0px; | 7 padding: 0px; |
8 overflow: hidden; | 8 overflow: hidden; |
9 } | 9 } |
10 .border { border:1px solid black; } | 10 .border { border:1px solid black; } |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 var ps2h = document.getElementById('ps2').offsetHeight; | 161 var ps2h = document.getElementById('ps2').offsetHeight; |
162 var ps3h = document.getElementById('ps3').offsetHeight; | 162 var ps3h = document.getElementById('ps3').offsetHeight; |
163 shouldBeTrue("ps1h > ps2h && ps1h > ps3h"); | 163 shouldBeTrue("ps1h > ps2h && ps1h > ps3h"); |
164 </script> | 164 </script> |
165 | 165 |
166 <div id="box_mono_one" class="box mono one"></div> | 166 <div id="box_mono_one" class="box mono one"></div> |
167 <div id="box_mono" class="box mono" style="display:inline-block">0</div> | 167 <div id="box_mono" class="box mono" style="display:inline-block">0</div> |
168 <script type="text/javascript"> | 168 <script type="text/javascript"> |
169 shouldEvaluateTo('document.getElementById("box_mono_one").clientWidth',
'document.getElementById("box_mono").clientWidth'); | 169 shouldEvaluateTo('document.getElementById("box_mono_one").clientWidth',
'document.getElementById("box_mono").clientWidth'); |
170 </script> | 170 </script> |
171 <script src="../js/resources/js-test-post.js"></script> | |
172 <script> | 171 <script> |
173 // Text with '<span class="fail">' must not appear in DumpRenderTree's o
utput, only when opening this file in a web browser. | 172 // Text with '<span class="fail">' must not appear in DumpRenderTree's o
utput, only when opening this file in a web browser. |
174 if (window.testRunner) { | 173 if (window.testRunner) { |
175 var CSSRules = 'rules'; | 174 var CSSRules = 'rules'; |
176 for (var i = 0; i < document.styleSheets[0][CSSRules].length; ++i) | 175 for (var i = 0; i < document.styleSheets[0][CSSRules].length; ++i) |
177 if (document.styleSheets[0][CSSRules][i].selectorText === ".fail
") { | 176 if (document.styleSheets[0][CSSRules][i].selectorText === ".fail
") { |
178 document.styleSheets[0][CSSRules][i].style['display'] = 'non
e'; | 177 document.styleSheets[0][CSSRules][i].style['display'] = 'non
e'; |
179 break; | 178 break; |
180 } | 179 } |
181 } | 180 } |
182 </script> | 181 </script> |
183 </body> | 182 </body> |
184 </html> | 183 </html> |
OLD | NEW |