OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 <style> | 5 <style> |
6 .ui-btn-up-c | 6 .ui-btn-up-c |
7 { | 7 { |
8 border: 1px solid #d0d0d0; | 8 border: 1px solid #d0d0d0; |
9 background: #ffffff; | 9 background: #ffffff; |
10 color: #444444; | 10 color: #444444; |
(...skipping 24 matching lines...) Expand all Loading... |
35 </li> | 35 </li> |
36 </ul> | 36 </ul> |
37 <div id="console"></div> | 37 <div id="console"></div> |
38 </body> | 38 </body> |
39 <script> | 39 <script> |
40 description('If this test passes, all borders have the same color: #d0d0d0.'); | 40 description('If this test passes, all borders have the same color: #d0d0d0.'); |
41 var spans = document.getElementsByTagName('span'); | 41 var spans = document.getElementsByTagName('span'); |
42 shouldBe('window.getComputedStyle(spans[0]).borderColor', '"rgb(208, 208, 208)"'
); | 42 shouldBe('window.getComputedStyle(spans[0]).borderColor', '"rgb(208, 208, 208)"'
); |
43 shouldBe('window.getComputedStyle(spans[1]).borderColor', '"rgb(208, 208, 208)"'
); | 43 shouldBe('window.getComputedStyle(spans[1]).borderColor', '"rgb(208, 208, 208)"'
); |
44 </script> | 44 </script> |
45 <script src="../js/resources/js-test-post.js"></script> | |
46 </html> | 45 </html> |
OLD | NEW |