Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE HTML> | |
| 2 <script src="../../resources/js-test.js"></script> | |
| 3 | |
| 4 <div style="position: relative; width: 0px"> | |
| 5 <div style="position: absolute; left: 1px; right: 1px;" id="absolute_with_le ft_right"></div> | |
| 6 </div> | |
| 7 | |
| 8 <script> | |
| 9 absolute_with_left_right = document.getElementById("absolute_with_left_r ight"); | |
| 10 shouldBe("absolute_with_left_right.getBoundingClientRect().width","0"); | |
| 11 shouldBe("absolute_with_left_right.getClientRects()[0].width","0"); | |
| 12 shouldBe("absolute_with_left_right.offsetWidth","0"); | |
|
rune
2014/09/18 13:07:32
Most tests don't indent script source, but if you
Kyungtae Kim
2014/09/18 14:00:43
Done.
| |
| 13 </script> | |
| OLD | NEW |