|
This patch makes CSS property |user-select:none| not to affect editability as IE and FireFox.
However, selection behavior different among browsers:
- Chrome: selection works as |user-select:text|.
- FireFox: selection works as |user-select:text| for text input and textarea. In other elements, selection can be extended by cursor key. Mouse click always set caret to start of text.
- IE: Selection can not be extended neither cursor key nor mouse click.
* editing/selection/4866671.html: Replaced with editing/selection/user-select-none-in-editable.html
* editing/selection/5779984-1.html: Replaced with editing/selection/user-select-none-in-editable.html and user-select-js-property.html, for style.webkitUserSelect property.
* fast/events/standalone-image-drag-to-editable.html: Convert to text test instead of pixel test for updating reference images, since the final image is colored with selection color.
BUG= 105876
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152753
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+192 lines, -164 lines) |
Patch |
|
D |
LayoutTests/editing/selection/4866671.html
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
|
D |
LayoutTests/editing/selection/4866671-expected.txt
|
View
|
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
|
D |
LayoutTests/editing/selection/5779984-1.html
|
View
|
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
|
D |
LayoutTests/editing/selection/5779984-1-expected.txt
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
A |
LayoutTests/editing/selection/user-select-js-property.html
|
View
|
1
2
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/editing/selection/user-select-js-property-expected.txt
|
View
|
1
2
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/editing/selection/user-select-none-in-editable.html
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/editing/selection/user-select-none-in-editable-expected.txt
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/resources/standalone-image-drag-to-editable-frame.html
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/standalone-image-drag-to-editable.html
|
View
|
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/standalone-image-drag-to-editable-expected.txt
|
View
|
|
1 chunk |
+1 line, -26 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/forms/input-select-webkit-user-select-none.html
|
View
|
|
1 chunk |
+30 lines, -22 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/forms/input-select-webkit-user-select-none-expected.txt
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/forms/input-user-select-none.html
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/forms/input-user-select-none-expected.txt
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
D |
LayoutTests/platform/chromium-android/fast/events/standalone-image-drag-to-editable-expected.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/platform/chromium-android/fast/events/standalone-image-drag-to-editable-expected.txt
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
|
D |
LayoutTests/platform/chromium-linux/fast/events/standalone-image-drag-to-editable-expected.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/platform/chromium-mac-lion/fast/events/standalone-image-drag-to-editable-expected.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/platform/chromium-mac-snowleopard/fast/events/standalone-image-drag-to-editable-expected.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/platform/chromium-mac/fast/events/standalone-image-drag-to-editable-expected.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/platform/chromium-win/fast/events/standalone-image-drag-to-editable-expected.png
|
View
|
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/platform/chromium-win/fast/events/standalone-image-drag-to-editable-expected.txt
|
View
|
|
1 chunk |
+0 lines, -26 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Position.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.cpp
|
View
|
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|