OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 td | 5 td |
6 { | 6 { |
7 width: 50px; | 7 width: 50px; |
8 } | 8 } |
9 tr | 9 tr |
10 { | 10 { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 firstRow = document.getElementById("firstRow"); | 47 firstRow = document.getElementById("firstRow"); |
48 // Original value. | 48 // Original value. |
49 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'40px
'"); | 49 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'40px
'"); |
50 | 50 |
51 toggleSmallRows(); | 51 toggleSmallRows(); |
52 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'20px
'"); | 52 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'20px
'"); |
53 toggleSmallRows(); | 53 toggleSmallRows(); |
54 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'40px
'"); | 54 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'40px
'"); |
55 </script> | 55 </script> |
56 <script src="../js/resources/js-test-post.js"></script> | |
57 </body> | 56 </body> |
58 </html> | 57 </html> |
OLD | NEW |