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

Side by Side Diff: LayoutTests/editing/selection/4866671.html

Issue 17225002: Make user-select:none not to affect editability (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 2013-06-19T18:10:01 Created 7 years, 6 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/editing/selection/4866671-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 <p>This tests caret movement through -webkit-user-select:none content. The care t should move over <b>yyy</b>.</p>
2 <div id="div" contenteditable="true">x<span style="font-weight:bold; -webkit-use r-select:none;">yyy</span>x</div>
3
4 <script>
5 var div = document.getElementById("div");
6 var sel = window.getSelection();
7
8 sel.setPosition(div, 0);
9 sel.modify("move", "forward", "character");
10 sel.modify("move", "forward", "character");
11 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/editing/selection/4866671-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698