DescriptionEditing: Let Selection.collapse with null clears selection.
The current spec says Selection.collapse(null) raises exception and the
implementation follows.
However, many web apps assume that chrome clears selection when
Selection.collapse(null) calls.
Thus we revert the behavior.
BUG=395318
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181487
Patch Set 1 : add tests #
Messages
Total messages: 10 (4 generated)
|