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

Side by Side Diff: sky/engine/web/tests/data/select_range_span_editable.html

Issue 1210153009: Remove (almost all of) //sky/engine/web (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 This text won't be selected because it isn't editable.
5 <span id='target' contenteditable="true">16-char header. This text is initially selected. 16-char footer.</span>
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 | « sky/engine/web/tests/data/select_range_input_overflow.html ('k') | sky/engine/web/tests/data/select_range_textarea.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698