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

Side by Side Diff: LayoutTests/editing/text-iterator/range-to-from-location-and-length.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 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="test" contenteditable> 7 <div id="test" contenteditable>
8 <p> hello<br> 8 <p> hello<br>
9 world.</p> 9 world.</p>
10 <blockquote><div>|<br></div></blockquote> 10 <blockquote><div>|<br></div></blockquote>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 shouldBe('internals.rangeFromLocationAndLength(container, 0, 6).toArray()', '[p.firstChild, 2, p.childNodes[2], 1]'); 51 shouldBe('internals.rangeFromLocationAndLength(container, 0, 6).toArray()', '[p.firstChild, 2, p.childNodes[2], 1]');
52 52
53 shouldBe('locationAndLengthFromRange(range(p.childNodes[2], 6, p, 3))', '[11 , 1]'); 53 shouldBe('locationAndLengthFromRange(range(p.childNodes[2], 6, p, 3))', '[11 , 1]');
54 shouldBe('internals.rangeFromLocationAndLength(container, 11, 2).toArray()', '[p.childNodes[2], 6, div, 0]'); 54 shouldBe('internals.rangeFromLocationAndLength(container, 11, 2).toArray()', '[p.childNodes[2], 6, div, 0]');
55 55
56 container.style.display = 'none'; 56 container.style.display = 'none';
57 } 57 }
58 58
59 59
60 </script> 60 </script>
61 <script src="../../fast/js/resources/js-test-post.js"></script>
62 </body> 61 </body>
63 </html> 62 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698