RESOLVED FIXED 212928
TextManipulation should only convert text from Node's text content to tokens
https://bugs.webkit.org/show_bug.cgi?id=212928
Summary TextManipulation should only convert text from Node's text content to tokens
Sihui Liu
Reported 2020-06-08 15:32:16 PDT
...
Attachments
Patch (15.20 KB, patch)
2020-06-08 15:50 PDT, Sihui Liu
no flags
Patch (15.39 KB, patch)
2020-06-08 18:55 PDT, Sihui Liu
no flags
Patch for landing (15.38 KB, patch)
2020-06-08 23:29 PDT, Sihui Liu
no flags
Sihui Liu
Comment 1 2020-06-08 15:50:22 PDT
Sihui Liu
Comment 2 2020-06-08 18:55:22 PDT
Wenson Hsieh
Comment 3 2020-06-08 20:24:09 PDT
Comment on attachment 401408 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401408&action=review > Source/WebCore/editing/TextManipulationController.cpp:234 > + if (contiansDelimiter) { Nit - contiansDelimiter => containsDelimiter > Source/WebCore/editing/TextManipulationController.cpp:329 > +TextManipulationController::ManipulationUnit TextManipulationController::createUnit(const Vector<String>& text, Node* textNode) Maybe make this take `Node& textNode`, since we never expect it to be null?
Sihui Liu
Comment 4 2020-06-08 23:29:56 PDT
Created attachment 401419 [details] Patch for landing
EWS
Comment 5 2020-06-08 23:54:25 PDT
Committed r262778: <https://trac.webkit.org/changeset/262778> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401419 [details].
Radar WebKit Bug Importer
Comment 6 2020-06-08 23:55:16 PDT
Note You need to log in before you can comment on or make changes to this bug.