OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Bug 91756</title> | 4 <title>Bug 91756</title> |
5 <script src="../../fast/js/resources/js-test-pre.js"></script> | 5 <script src="../../fast/js/resources/js-test-pre.js"></script> |
6 <style> | 6 <style> |
7 div.outer { overflow: auto; width: 100px; position: relative; height: 100px; bor
der: solid; } | 7 div.outer { overflow: auto; width: 100px; position: relative; height: 100px; bor
der: solid; } |
8 div.inner { position: absolute; top: 250px; } | 8 div.inner { position: absolute; top: 250px; } |
9 </style> | 9 </style> |
10 </head> | 10 </head> |
(...skipping 11 matching lines...) Expand all Loading... |
22 shouldBeTrue('outerLTR.clientWidth == outerRTL.clientWidth'); | 22 shouldBeTrue('outerLTR.clientWidth == outerRTL.clientWidth'); |
23 shouldBeTrue('outerLTR.scrollWidth == outerRTL.scrollWidth'); | 23 shouldBeTrue('outerLTR.scrollWidth == outerRTL.scrollWidth'); |
24 | 24 |
25 debug('Verify the widths of the inner RTL element are the same as the widths of
the inner LTR element.'); | 25 debug('Verify the widths of the inner RTL element are the same as the widths of
the inner LTR element.'); |
26 var innerLTR = document.getElementById('innerLTR'); | 26 var innerLTR = document.getElementById('innerLTR'); |
27 var innerRTL = document.getElementById('innerRTL'); | 27 var innerRTL = document.getElementById('innerRTL'); |
28 shouldBeTrue('innerLTR.offsetWidth == innerRTL.offsetWidth'); | 28 shouldBeTrue('innerLTR.offsetWidth == innerRTL.offsetWidth'); |
29 shouldBeTrue('innerLTR.clientWidth == innerRTL.clientWidth'); | 29 shouldBeTrue('innerLTR.clientWidth == innerRTL.clientWidth'); |
30 shouldBeTrue('innerLTR.scrollWidth == innerRTL.scrollWidth'); | 30 shouldBeTrue('innerLTR.scrollWidth == innerRTL.scrollWidth'); |
31 </script> | 31 </script> |
32 <script src="../../fast/js/resources/js-test-post.js"></script> | |
33 </body> | 32 </body> |
34 </html> | 33 </html> |
OLD | NEW |