OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style type="text/css"> | 4 <style type="text/css"> |
5 td { | 5 td { |
6 display: table-cell; | 6 display: table-cell; |
7 width: 200px; | 7 width: 200px; |
8 height: 80px; | 8 height: 80px; |
9 border: 1px solid #ccc; | 9 border: 1px solid #ccc; |
10 text-align: center; | 10 text-align: center; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 shouldBe("getComputedStyle(elementWithoutStyleAttribute3).backgroundColor",
'"rgba(0, 0, 0, 0)"'); | 56 shouldBe("getComputedStyle(elementWithoutStyleAttribute3).backgroundColor",
'"rgba(0, 0, 0, 0)"'); |
57 | 57 |
58 shouldBe("elementWithoutStyleAttribute4.style.backgroundColor = 'red'; eleme
ntWithoutStyleAttribute4.setAttribute('style', ''); elementWithoutStyleAttribute
4.removeAttribute('style'); getComputedStyle(elementWithoutStyleAttribute4).back
groundColor", '"rgba(0, 0, 0, 0)"'); | 58 shouldBe("elementWithoutStyleAttribute4.style.backgroundColor = 'red'; eleme
ntWithoutStyleAttribute4.setAttribute('style', ''); elementWithoutStyleAttribute
4.removeAttribute('style'); getComputedStyle(elementWithoutStyleAttribute4).back
groundColor", '"rgba(0, 0, 0, 0)"'); |
59 | 59 |
60 function $(id) { | 60 function $(id) { |
61 return document.getElementById(id); | 61 return document.getElementById(id); |
62 } | 62 } |
63 | 63 |
64 document.getElementById('table').innerHTML = ''; | 64 document.getElementById('table').innerHTML = ''; |
65 </script> | 65 </script> |
66 <script src="../js/resources/js-test-post.js"></script> | |
67 </body> | 66 </body> |
68 </html> | 67 </html> |
OLD | NEW |