Fix selected text decoration when no selection style
If there is a selection style but no text-decoration in it, and text decoration in another pseudo style that applies, then it is possible for the style to have text decorations but not the pseudo selection style. Avoid crashing in this case. Also improve selection decoration color by using just the color from the selection style if available. Bug: 1144134 Change-Id: Id09fbaeafcc7bdf187abcf6be5d542004e61a16c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513825Reviewed-by:Koji Ishii <kojii@chromium.org> Commit-Queue: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#823269}
Showing
Please register or sign in to comment