DescriptionContentEditable plaintext-only crash fix.
Calling createLink execCommand on a selection that includes both normal
contentEditable and plaintext-only contentEditable caused a crash when
applying style in ApplyStyleCommand::applyInlineStyleToNodeRange because the
EditingStyle::m_mutableStyle is null.
I do not have a well enough understanding of what is going on here to be sure
this is the correct fix, but trying to move the check for style()->style
further up caused various LayoutTests to fail.
BUG=270031
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158248
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|