Chromium Code Reviews
Description[InputEvent] Change |getTargetRanges()| to return current selection by default
For ContentEditable |getTargetRanges()| should:
1. Return corresponding ranges for delete-content/word/line.
2. Return current selection for other types.
For <input> and <textarea> |getTargetRanges()| should return empty array.
This CL matches Safari Technology Preview.
BUG=652429
Review-Url: https://codereview.chromium.org/2693863003
Cr-Commit-Position: refs/heads/master@{#450567}
Committed: https://chromium.googlesource.com/chromium/src/+/07359e3b41086b15af2bf433a28f1a4d8b31ff9b
Patch Set 1 #
Total comments: 4
Patch Set 2 : yosin's review: Use const Node&, add null checks #Messages
Total messages: 20 (14 generated)
|