OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Document::nodesFromRect : CSS scale transforms - bug 85792</title> | 4 <title>Document::nodesFromRect : CSS scale transforms - bug 85792</title> |
5 <style type="text/css"> | 5 <style type="text/css"> |
6 #sandbox { | 6 #sandbox { |
7 position: absolute; | 7 position: absolute; |
8 left: 0px; | 8 left: 0px; |
9 top: 0px; | 9 top: 0px; |
10 width: 600px; | 10 width: 600px; |
11 height: 600px; | 11 height: 600px; |
12 } | 12 } |
13 #layer { | 13 #layer { |
14 position: absolute; | 14 position: absolute; |
15 left: 200px; | 15 left: 200px; |
16 top: 200px; | 16 top: 200px; |
17 width: 200px; | 17 width: 200px; |
18 height: 200px; | 18 height: 200px; |
19 } | 19 } |
20 .scaleup { -webkit-transform: scale(2); } | 20 .scaleup { -webkit-transform: scale(2); } |
21 .scaledown { -webkit-transform: scale(0.5); } | 21 .scaledown { -webkit-transform: scale(0.5); } |
22 #layer > #fleft { float: left; width: 50px; height: 200px; } | 22 #layer > #fleft { float: left; width: 50px; height: 200px; } |
23 #layer > #fright { float: right; width: 50px; height: 200px; } | 23 #layer > #fright { float: right; width: 50px; height: 200px; } |
24 #layer > .hbox { height: 100px; margin-right: 50px; margin-left: 50px } | 24 #layer > .hbox { height: 100px; margin-right: 50px; margin-left: 50px } |
25 </style> | 25 </style> |
26 <script src="../../js/resources/js-test-pre.js"></script> | 26 <script src="../../../resources/js-test.js"></script> |
27 <script src="resources/nodesFromRect.js"></script> | 27 <script src="resources/nodesFromRect.js"></script> |
28 </head> | 28 </head> |
29 | 29 |
30 <body> | 30 <body> |
31 <div id=sandbox> | 31 <div id=sandbox> |
32 <div id=layer> | 32 <div id=layer> |
33 <div id=fleft></div> | 33 <div id=fleft></div> |
34 <div id=fright></div> | 34 <div id=fright></div> |
35 <div id=box1 class=hbox></div> | 35 <div id=box1 class=hbox></div> |
36 <div id=box2 class=hbox></div> | 36 <div id=box2 class=hbox></div> |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 } | 86 } |
87 | 87 |
88 window.onload = runTest; | 88 window.onload = runTest; |
89 </script> | 89 </script> |
90 | 90 |
91 <p id='description'></p> | 91 <p id='description'></p> |
92 <span id="console"></span> | 92 <span id="console"></span> |
93 </body> | 93 </body> |
94 </html> | 94 </html> |
95 | 95 |
OLD | NEW |