Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Side by Side Diff: LayoutTests/scrollbars/rtl/div-horizontal.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Bug 85856</title> 4 <title>Bug 85856</title>
5 <script src="../../fast/js/resources/js-test-pre.js"></script> 5 <script src="../../fast/js/resources/js-test-pre.js"></script>
6 </head> 6 </head>
7 <body dir="ltr"> 7 <body dir="ltr">
8 <div dir="ltr" id="outer-ltr" style="width: 200px; height: 200px; overflow: scro ll;"> 8 <div dir="ltr" id="outer-ltr" style="width: 200px; height: 200px; overflow: scro ll;">
9 <div id="inner-ltr" style="text-align: left; width: 300px; height: 300px;">ABC</ div> 9 <div id="inner-ltr" style="text-align: left; width: 300px; height: 300px;">ABC</ div>
10 </div> 10 </div>
(...skipping 18 matching lines...) Expand all
29 debug('Verify the widths of the inner RTL elements are the same as the widths of the inner LTR elements.'); 29 debug('Verify the widths of the inner RTL elements are the same as the widths of the inner LTR elements.');
30 shouldBeTrue('innerLTR.offsetWidth == innerRTL.offsetWidth'); 30 shouldBeTrue('innerLTR.offsetWidth == innerRTL.offsetWidth');
31 shouldBeTrue('innerLTR.clientWidth == innerRTL.clientWidth'); 31 shouldBeTrue('innerLTR.clientWidth == innerRTL.clientWidth');
32 shouldBeTrue('innerLTR.scrollWidth == innerRTL.scrollWidth'); 32 shouldBeTrue('innerLTR.scrollWidth == innerRTL.scrollWidth');
33 33
34 debug('Verify the width of the vertical scrollbar of the outer RTL element is th e same as the one of the outer LTR element regardless of their scrollbar positio ns.'); 34 debug('Verify the width of the vertical scrollbar of the outer RTL element is th e same as the one of the outer LTR element regardless of their scrollbar positio ns.');
35 var scrollbarWidthLTR = outerLTR.offsetWidth - outerLTR.clientWidth; 35 var scrollbarWidthLTR = outerLTR.offsetWidth - outerLTR.clientWidth;
36 var scrollbarWidthRTL = outerRTL.offsetWidth - outerRTL.clientWidth; 36 var scrollbarWidthRTL = outerRTL.offsetWidth - outerRTL.clientWidth;
37 shouldBeTrue('scrollbarWidthLTR == scrollbarWidthRTL'); 37 shouldBeTrue('scrollbarWidthLTR == scrollbarWidthRTL');
38 </script> 38 </script>
39 <script src="../../fast/js/resources/js-test-post.js"></script>
40 </body> 39 </body>
41 </html> 40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/scrollbars/rtl/div-absolute.html ('k') | LayoutTests/storage/domstorage/storage-functions-not-overwritten.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698