OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <style> | 4 <style> |
5 table { | 5 table { |
6 background:red; | 6 background:red; |
7 border-spacing:0; | 7 border-spacing:0; |
8 border-collapse:collapse; | 8 border-collapse:collapse; |
9 display:none | 9 display:none |
10 } | 10 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 clonedTable = container.getElementsByTagName("TABLE")[0].cloneNode(true); | 65 clonedTable = container.getElementsByTagName("TABLE")[0].cloneNode(true); |
66 clonedTable.style.display = 'table'; | 66 clonedTable.style.display = 'table'; |
67 container.appendChild(clonedTable); | 67 container.appendChild(clonedTable); |
68 shouldBe('clonedTable.getBoundingClientRect().width', '150'); | 68 shouldBe('clonedTable.getBoundingClientRect().width', '150'); |
69 shouldBe('clonedTable.getBoundingClientRect().height', '20'); | 69 shouldBe('clonedTable.getBoundingClientRect().height', '20'); |
70 } | 70 } |
71 | 71 |
72 var testCasesContainer = document.getElementById('testCases'); | 72 var testCasesContainer = document.getElementById('testCases'); |
73 document.body.removeChild(testCasesContainer); | 73 document.body.removeChild(testCasesContainer); |
74 </script> | 74 </script> |
75 <script src="../js/resources/js-test-post.js"></script> | |
76 </body> | 75 </body> |
77 </html> | 76 </html> |
OLD | NEW |