| 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 height: 40px; | 8 height: 40px; |
| 9 } | 9 } |
| 10 table.small td | 10 table.small td |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 firstRow = document.getElementById("firstRow"); | 50 firstRow = document.getElementById("firstRow"); |
| 51 // Original value. | 51 // Original value. |
| 52 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'44px
'"); | 52 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'44px
'"); |
| 53 | 53 |
| 54 toggleSmallRows(); | 54 toggleSmallRows(); |
| 55 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'24px
'"); | 55 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'24px
'"); |
| 56 toggleSmallRows(); | 56 toggleSmallRows(); |
| 57 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'44px
'"); | 57 shouldBe("getComputedStyle(firstRow, '').getPropertyValue('height')", "'44px
'"); |
| 58 </script> | 58 </script> |
| 59 <script src="../js/resources/js-test-post.js"></script> | |
| 60 </body> | 59 </body> |
| 61 </html> | 60 </html> |
| OLD | NEW |