DescriptionLet Selection.deleteFromDocument not delete a character when the selection is a caret.
Selection.deleteFromDocument delete a character when the selection is a caret.
However, current standard says that Selection.deleteFromDocument does nothing when the selection is a caret:
https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#dom-selection-deletefromdocument
Both IE10 and FireFox seem following the spec.
BUG=366498, 362110
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=172511
Patch Set 1 #
Total comments: 11
Patch Set 2 : use shouldBeEqualToString instead of shouldBe #
Messages
Total messages: 12 (0 generated)
|