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

Side by Side Diff: LayoutTests/fast/dom/Range/range-toString-non-anchor-no-crash.html

Issue 1121633004: Revert Range firstNode/pastLastNode() refactoring. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revert back to previous versions of firstNode/pastLastNode + add test Created 5 years, 7 months 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/range-toString-non-anchor-no-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <script>
4 description('Tests that performing toString() over a Range without a root does n ot crash.');
5
6 var t1 = document.createElement("textarea");
7 var t2 = document.createElement("textarea");
8 t1.appendChild(document.createTextNode("PASS"));
9 t1.appendChild(t2);
10
11 var r = document.createRange();
12 r.setStart(t1, 0);
13 r.setEnd(t2, 0);
14
15 shouldBeEqualToString('r.toString()', 'PASS');
16 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Range/range-toString-non-anchor-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698