<rdar://problem/63371514>
Created attachment 402011 [details] Patch
Comment on attachment 402011 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402011&action=review > Source/WebCore/editing/TextManipulationController.cpp:419 > + bool crossedItemBoundary = false; This boolean is probably not needed. addItemIfPossible does not add item when units is empty.
(In reply to Sihui Liu from comment #2) > Comment on attachment 402011 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=402011&action=review > > > Source/WebCore/editing/TextManipulationController.cpp:419 > > + bool crossedItemBoundary = false; > > This boolean is probably not needed. addItemIfPossible does not add item > when units is empty. Good point! Removed crossedItemBoundary.
Created attachment 402022 [details] Patch for landing
Committed r263101: <https://trac.webkit.org/changeset/263101> All reviewed patches have been landed. Closing bug and clearing flags on attachment 402022 [details].