Bug 210099

Summary: TextManipulationController fails to replace a paragraph that ends with a br
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, koivisto, llivonbemel, mifenton, sihui_liu, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fixes the bug wenson_hsieh: review+

Ryosuke Niwa
Reported 2020-04-07 00:59:29 PDT
Replacing a paragraph content fails with ContentChanged if the paragraph ends with a br.
Attachments
Fixes the bug (9.36 KB, patch)
2020-04-07 01:03 PDT, Ryosuke Niwa
wenson_hsieh: review+
Radar WebKit Bug Importer
Comment 1 2020-04-07 01:00:21 PDT
Ryosuke Niwa
Comment 2 2020-04-07 01:03:11 PDT
Created attachment 395658 [details] Fixes the bug
Louie Livon-Bemel
Comment 3 2020-04-07 10:45:57 PDT
(In reply to Ryosuke Niwa from comment #2) > Created attachment 395658 [details] > Fixes the bug Typo: in `CompleteTextManipulationReplaceParagraphssSeparatedByWrappedBR`, 'Paragraphss' should be 'Paragraphs'.
Wenson Hsieh
Comment 4 2020-04-07 10:55:46 PDT
Comment on attachment 395658 [details] Fixes the bug r=me (with Louie’s comment above)
Ryosuke Niwa
Comment 5 2020-04-07 11:10:11 PDT
Note You need to log in before you can comment on or make changes to this bug.