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

Side by Side Diff: chrome/test/data/find_in_page/select_changes_ordinal.html

Issue 335012: Update the find result index "(m of n)" whenever there is an active selection... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: simplify test Created 11 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/api/src/WebFrameImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:executable
+ *
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function selectLink1() {
5 var selection = window.getSelection();
6 var range = document.createRange();
7 range.setStartBefore(document.getElementById('link1'));
8 range.setEndAfter(document.getElementById('link1'));
9 selection.addRange(range);
10 return "";
11 }
12 </script>
13 </head>
14 <body>
15 google has many links on google.
16 here is a <a id="link1" href="http://www.google.com">link</a>
17 to <a id="link2" href="http://www.google.com">google</a>, where
18 you will find google.
19
20 <br><br><br>
21 <div id="log"><div>
22 </body>
23 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | webkit/api/src/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698