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

Unified Diff: third_party/WebKit/LayoutTests/editing/selection/user-select/user-select-all-contenteditable.html

Issue 2151803003: [Editing][Regression] Contenteditable w/ "-webkit-user-select:all" should be editable for drag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/editing/selection/user-select/user-select-all-contenteditable.html
diff --git a/third_party/WebKit/LayoutTests/editing/selection/user-select/user-select-all-contenteditable.html b/third_party/WebKit/LayoutTests/editing/selection/user-select/user-select-all-contenteditable.html
index 8a8862d4b334c1f9d26e93abef07cc26e9e6ef00..daeb8590075c722ba7e18b8b40dfa214f2484450 100644
--- a/third_party/WebKit/LayoutTests/editing/selection/user-select/user-select-all-contenteditable.html
+++ b/third_party/WebKit/LayoutTests/editing/selection/user-select/user-select-all-contenteditable.html
@@ -41,11 +41,11 @@ test(function(){
assert_selection(
'<div contenteditable="true" id="div" style="-webkit-user-select:all">|foo</div>',
selection => selection.modify('extend', 'forward', 'character'),
- '<div contenteditable="true" id="div" style="-webkit-user-select:all">^foo|</div>');
+ '<div contenteditable="true" id="div" style="-webkit-user-select:all">^f|oo</div>');
assert_selection(
'<div contenteditable="true" id="div" style="-webkit-user-select:all">foo|</div>',
selection => selection.modify('extend', 'backward', 'character'),
- '<div contenteditable="true" id="div" style="-webkit-user-select:all">|foo^</div>');
+ '<div contenteditable="true" id="div" style="-webkit-user-select:all">fo|o^</div>');
},
'Selection API can edit in -webkit-user-select:all contenteditable element');

Powered by Google App Engine
This is Rietveld 408576698