| OLD | NEW |
| 1 <script src="../../../resources/js-test.js"></script> | 1 <script src="../../../resources/js-test.js"></script> |
| 2 <style> | 2 <style> |
| 3 .bbox { | 3 .bbox { |
| 4 position:absolute; | 4 position:absolute; |
| 5 outline: 5px solid rgba(255, 0, 0, .75); | 5 outline: 5px solid rgba(255, 0, 0, .75); |
| 6 z-index: -1; | 6 z-index: -1; |
| 7 } | 7 } |
| 8 | 8 |
| 9 .box { | 9 .box { |
| 10 width: 400px; | 10 width: 400px; |
| 11 line-height: 40px; | 11 line-height: 40px; |
| 12 } | 12 } |
| 13 | 13 |
| 14 .outer { | 14 .outer { |
| 15 outline: 2px solid green; | 15 outline: 2px solid green; |
| 16 } | 16 } |
| 17 | 17 |
| 18 .inner { | 18 .inner { |
| 19 display: inline-block; | 19 display: inline-block; |
| 20 width: 40px; | 20 width: 40px; |
| 21 height: 20px; | 21 height: 20px; |
| 22 outline: 2px solid blue; | 22 outline: 2px solid blue; |
| 23 } | 23 } |
| 24 | 24 |
| 25 #test8 { | 25 #test8 { |
| 26 -webkit-transform: translate(50px, 100px) rotate(50deg); | 26 transform: translate(50px, 100px) rotate(50deg); |
| 27 } | 27 } |
| 28 | 28 |
| 29 #test10 { | 29 #test10 { |
| 30 height: 400px; | 30 height: 400px; |
| 31 -webkit-writing-mode: vertical-lr; | 31 -webkit-writing-mode: vertical-lr; |
| 32 } | 32 } |
| 33 | 33 |
| 34 #console { | 34 #console { |
| 35 position:absolute; | 35 position:absolute; |
| 36 left: 500px; | 36 left: 500px; |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 debug("Test 11"); | 401 debug("Test 11"); |
| 402 var range11 = document.createRange(); | 402 var range11 = document.createRange(); |
| 403 rects = range11.getClientRects(); | 403 rects = range11.getClientRects(); |
| 404 shouldBe("rects.length", "0"); | 404 shouldBe("rects.length", "0"); |
| 405 | 405 |
| 406 if (window.testRunner) { | 406 if (window.testRunner) { |
| 407 var area = document.getElementById('testArea'); | 407 var area = document.getElementById('testArea'); |
| 408 area.parentNode.removeChild(area); | 408 area.parentNode.removeChild(area); |
| 409 } | 409 } |
| 410 </script> | 410 </script> |
| OLD | NEW |