NEW210909
Cannot set underline and strikethrough at the same time
https://bugs.webkit.org/show_bug.cgi?id=210909
Summary Cannot set underline and strikethrough at the same time
Milan Crha
Reported 2020-04-23 05:34:20 PDT
This sounds quite similarly as bug #27818, except that one is closed as fixed. I can reproduce this in r260336. Steps: a) one MiniBroser: ./MiniBrowser --editor-mode b) type: aaa c) click the Underline button on the toolbar d) type: bbb e) click the strikethrough button on the toolbar f) type: ccc Expected result: the 'ccc' text is both underlined and stroke through Actual result: it is only stroke through g) click the Underline button on the toolbar h) type: ddd Expected result: the 'ddd' text is both underlined and stroke through Actual result: it is only underlined
Attachments
Milan Crha
Comment 1 2020-04-23 08:41:17 PDT
In Editor::applyStyleToSelection(): // FIXME: This is wrong for text decorations since m_mutableStyle is empty.
Note You need to log in before you can comment on or make changes to this bug.