Bug 175633
Summary: | Stroke lost in editing operations because editingProperties doesn’t include stroke-width and stroke-color | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | dbates, rniwa, wenson_hsieh |
Priority: | P2 | ||
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
mitz
To reproduce:
<div contenteditable><span style="stroke-color: blue; stroke-width: 1px">Place the insertion point here, then press Return, then Backspace</span></div>
Note that after hitting backspace, the end of the sentence is missing the stroke. Note that this doesn’t happen when using the -webkit-prefixed properties:
<div contenteditable><span style="-webkit-text-stroke-color: lightblue; -webkit-text-stroke-width: 1px">Place the insertion point here, then press Return, then Backspace</span></div>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Ugh... we need to update editingProperties in EditingStyle.cpp. I really wish we didn't have a hard coded list of properties.