DescriptionBackground color applied on a selection of text is lost when the selection is deleted
While deleting a selection, only inheritable style properties were
saved. Since background color is considered as noninheritable style
property, it was not being saved and hence was lost. Because of this
background color set on a selection of text was lost when the selection
was deleted and if new text is inserted after this it would not have
the background color set.
Before deleting a selection we should save all style properties applied
on that particular selection. Modified accordingly.
NOTE: This patch makes chrome behavior compatible with that of IE and FF.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158906
Patch Set 1 #
Total comments: 7
Patch Set 2 : Review comments addressed #
Messages
Total messages: 12 (0 generated)
|