Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 description("HTMLHeaderElement color and noshade attribute test"); | |
| 2 | |
| 3 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t1'),null).getPropertyValue('border-color')","rgb(255, 0, 0)"); | |
| 4 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t1'),null).getPropertyValue('background-color')","rgb(255, 0, 0)"); | |
| 5 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t2'),null).getPropertyValue('border-color')","rgb(0, 0, 255)"); | |
| 6 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t2'),null).getPropertyValue('background-color')","rgb(0, 0, 255)"); | |
| 7 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t3'),null).getPropertyValue('border-color')","rgb(0, 0, 0)"); | |
| 8 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t3'),null).getPropertyValue('background-color')","rgb(0, 0, 0)"); | |
| 9 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t4'),null).getPropertyValue('border-color')","rgb(128, 128, 128)"); | |
| 10 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t4'),null).getPropertyValue('background-color')","rgb(128, 128, 128)"); | |
| 11 document.getElementById('hrElement5').setAttribute("color","yellow"); | |
| 12 document.getElementById('hrElement5').setAttribute("noshade", ""); | |
|
rwlbuis
2014/03/04 19:11:35
Nit: you should choose one indenting style and sti
| |
| 13 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t5'),null).getPropertyValue('border-color')","rgb(255, 255, 0)"); | |
| 14 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t5'),null).getPropertyValue('background-color')","rgb(255, 255, 0)"); | |
| 15 document.getElementById('hrElement6').setAttribute("noshade", ""); | |
| 16 document.getElementById('hrElement6').setAttribute("color","green"); | |
| 17 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t6'),null).getPropertyValue('border-color')","rgb(0, 128, 0)"); | |
| 18 shouldBeEqualToString("window.getComputedStyle(document.getElementById('hrElemen t6'),null).getPropertyValue('background-color')","rgb(0, 128, 0)"); | |
| 19 | |
| OLD | NEW |