Bug 210909
| Summary: | Cannot set underline and strikethrough at the same time | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Milan Crha <mcrha> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Milan Crha
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Milan Crha
In Editor::applyStyleToSelection():
// FIXME: This is wrong for text decorations since m_mutableStyle is empty.