RESOLVED DUPLICATE of bug 117337 123872
Background color applied on a selection of text is lost when the selection is deleted
https://bugs.webkit.org/show_bug.cgi?id=123872
Summary Background color applied on a selection of text is lost when the selection is...
Ryosuke Niwa
Reported 2013-11-05 22:33:06 PST
Consider merging https://chromium.googlesource.com/chromium/blink/+/931167c838db9009745530c4bd55984c4a631800 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.
Attachments
Vani Hegde
Comment 1 2013-11-06 01:55:51 PST
We already have a bug https://bugs.webkit.org/show_bug.cgi?id=117337 for this. Uploaded a new patch in 117337.
Ryosuke Niwa
Comment 2 2013-11-06 02:13:28 PST
(In reply to comment #1) > We already have a bug https://bugs.webkit.org/show_bug.cgi?id=117337 for this. > Uploaded a new patch in 117337. Thanks! I was looking for that bug. *** This bug has been marked as a duplicate of bug 117337 ***
Note You need to log in before you can comment on or make changes to this bug.