OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
2 <html lang="en"> | 2 <html lang="en"> |
3 <head> | 3 <head> |
4 <title>currentColor basic test</title> | 4 <title>currentColor basic test</title> |
5 <style type="text/css"> | 5 <style type="text/css"> |
6 .test { | 6 .test { |
7 display: inline-block; | 7 display: inline-block; |
8 height: 5em; | 8 height: 5em; |
9 width: 10em; | 9 width: 10em; |
10 text-align: center; | 10 text-align: center; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 shouldBe('div5.style.getPropertyValue("border")', "'green'"); | 49 shouldBe('div5.style.getPropertyValue("border")', "'green'"); |
50 debug(" NOTE: 'green' is an illegal CSS value for 'border'."); | 50 debug(" NOTE: 'green' is an illegal CSS value for 'border'."); |
51 | 51 |
52 var div6 = document.getElementById("border6"); | 52 var div6 = document.getElementById("border6"); |
53 shouldBe('div6.style.getPropertyValue("border")', "'5px'"); | 53 shouldBe('div6.style.getPropertyValue("border")', "'5px'"); |
54 | 54 |
55 var div7 = document.getElementById("border7"); | 55 var div7 = document.getElementById("border7"); |
56 shouldBe('div7.style.getPropertyValue("border")', "'solid'"); | 56 shouldBe('div7.style.getPropertyValue("border")', "'solid'"); |
57 | 57 |
58 var div8 = document.getElementById("border8"); | 58 var div8 = document.getElementById("border8"); |
59 shouldBe('div8.style.getPropertyValue("border")', "null"); | 59 shouldBeEqualToString('div8.style.getPropertyValue("border")', ""); |
60 | 60 |
61 var div9 = document.getElementById("border9"); | 61 var div9 = document.getElementById("border9"); |
62 shouldBe('div9.style.getPropertyValue("border")', "null"); | 62 shouldBeEqualToString('div9.style.getPropertyValue("border")', ""); |
63 </script> | 63 </script> |
64 </body> | 64 </body> |
65 </html> | 65 </html> |
OLD | NEW |