id summary reporter owner description type status priority milestone component version resolution keywords cc 9998 [Umbrella][Blink/Webkit] Issues related to backspace and delete keys handling lmeurs "This is an umbrella ticket for all issues related to backspace and delete keys handling caused by the following Webkit's and Blink's bugs: * http://code.google.com/p/chromium/issues/detail?id=226941 * https://bugs.webkit.org/show_bug.cgi?id=114791 Related tickets: #8438, #8439, #8440, #10359, #10515, #11483, #11592, and many others... ---- == Cases == === created while joining two adjacent elements === Related issues: #9998 '''Target ticket''': #11861 ==== Example 1 ==== 1. Set data {{{

foo

^bar

}}} 2. Backspace. 3. `

foobar

` ==== Example 2 ==== 1. Set data {{{

foo

^bar

}}} 2. Backspace. 3. `

foobar

` === Attempt to preserve the visual style of the contents -> i.e. becomes === ==== Backspace (unable to remove formatting) ==== Related issues: #8438, #11592, #11483 1. `

xy^

` 2. Backspace. 3. Type “z”. 4. `

xz^

` ==== Backspace (underlined link becomes ``) ==== Related issues: #11592 1. `

[foo]bar

` 2. Backspace. 3. Type ""foo"". 4. `

foo^bar

` 5. ''Frown'' 6. ''Grin'' '''Note''': This case uncovers the algorithm used in Webkit. The engine attempts to preserve the style no matter how ridiculous it would be – it uses `` because it is the closest style, which corresponds visually with underlined link. ==== Del (unable to remove formatting) ==== Related issues: #8439, #8440 1. `

foo

` 2. CTRL+A. 3. Bold. 4. DEL. 5. Type “bar”. 6. `

bar^

` === created while splitting elements (DnD), extra   === Related issues: #10515 1. Set the following HTML {{{

foo [bar] bam bang

}}} 2. Drag `[bar]` into `ba|m` 3. `editor.getData()`. 4. See the result. {{{

foo   ba bar m bang

}}} 5. Then WYSIWYG->Source->WYSIWYG. 6. ACF brings the ultimate destruction. {{{

foo  ba bar m bang

}}}" Bug confirmed High General Blink Webkit laura@… ben@… matti.jarvinen@… ivanjh@… joel.peltonen@…