Bug 175633

Summary: Stroke lost in editing operations because editingProperties doesn’t include stroke-width and stroke-color
Product: WebKit Reporter: mitz
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dbates, rniwa, wenson_hsieh
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

mitz
Reported 2017-08-16 11:29:58 PDT
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
Ryosuke Niwa
Comment 1 2017-08-16 11:33:44 PDT
Ugh... we need to update editingProperties in EditingStyle.cpp. I really wish we didn't have a hard coded list of properties.
Note You need to log in before you can comment on or make changes to this bug.