OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 | 2 |
3 <script src="../js/resources/js-test-pre.js"></script> | 3 <script src="../js/resources/js-test-pre.js"></script> |
4 | 4 |
5 <iframe | 5 <iframe |
6 data-test="missing frameborder attribute should inherit it" | 6 data-test="missing frameborder attribute should inherit it" |
7 data-assert-frame-width="150"> | 7 data-assert-frame-width="150"> |
8 <!doctype html> | 8 <!doctype html> |
9 <frameset rows="*" cols="*" frameborder="0"> | 9 <frameset rows="*" cols="*" frameborder="0"> |
10 <frameset rows="*" cols="50,50"> | 10 <frameset rows="*" cols="50,50"> |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 shouldBe('frames[1].offsetWidth', expectedWidth); | 90 shouldBe('frames[1].offsetWidth', expectedWidth); |
91 if (expectedBorderColor) { | 91 if (expectedBorderColor) { |
92 // This check won't work in Gecko since they don't expose the border
color properly. | 92 // This check won't work in Gecko since they don't expose the border
color properly. |
93 frameset = frames[0].parentNode; | 93 frameset = frames[0].parentNode; |
94 shouldBeEqualToString('getComputedStyle(frameset).borderColor', expe
ctedBorderColor); | 94 shouldBeEqualToString('getComputedStyle(frameset).borderColor', expe
ctedBorderColor); |
95 } | 95 } |
96 debug('<br>'); | 96 debug('<br>'); |
97 }); | 97 }); |
98 </script> | 98 </script> |
99 | 99 |
100 <script src="../js/resources/js-test-post.js"></script> | |
OLD | NEW |