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

Side by Side Diff: Source/WebKit/chromium/tests/data/select_range_div_editable.html

Issue 19906002: Move data/ directory from WebKit/chromium/tests into web/tests/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 This text won't be selected because it isn't editable.
5 <div id='target' contenteditable="true">16-char header. This text is initially s elected. 16-char footer.</div>
6 This text won't be selected because it isn't editable.
7 <script>
8 function select() {
9 var text = document.getElementById('target').firstChild;
10 var range = document.createRange();
11 range.setStart(text, 16);
12 range.setEnd(text, 48);
13 window.getSelection().addRange(range);
14 }
15 window.onload = select;
16 </script>
17 </body>
18 </html>
19
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/tests/data/select_range_basic.html ('k') | Source/WebKit/chromium/tests/data/select_range_iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698