RESOLVED FIXED Bug 228882
[LFC][Integration] HTMLTextFormControlElement should use the inline iterator to collect content for wrap=hard
https://bugs.webkit.org/show_bug.cgi?id=228882
Summary [LFC][Integration] HTMLTextFormControlElement should use the inline iterator ...
zalan
Reported 2021-08-06 18:26:41 PDT
see HTMLTextFormControlElement::valueWithHardLineBreaks
Attachments
Patch (6.96 KB, patch)
2021-08-06 18:45 PDT, zalan
no flags
Patch (8.29 KB, patch)
2021-08-20 06:04 PDT, zalan
no flags
Patch (8.28 KB, patch)
2021-08-20 14:17 PDT, zalan
no flags
zalan
Comment 1 2021-08-06 18:45:34 PDT
Antti Koivisto
Comment 2 2021-08-07 06:02:29 PDT
Comment on attachment 435105 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=435105&action=review > Source/WebCore/html/HTMLTextFormControlElement.cpp:709 > + for (; currentLine; currentLine = currentLine.traverseNext()) { no need for "currentLine =", traverseNext mutates the iterator.
Antti Koivisto
Comment 3 2021-08-07 06:03:59 PDT
Comment on attachment 435105 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=435105&action=review > Source/WebCore/html/HTMLTextFormControlElement.cpp:717 > + currentLine = currentLine.traverseNext(); Same here
Radar WebKit Bug Importer
Comment 4 2021-08-13 18:27:27 PDT
zalan
Comment 5 2021-08-20 06:04:07 PDT
zalan
Comment 6 2021-08-20 14:17:49 PDT
EWS
Comment 7 2021-08-20 19:45:05 PDT
Committed r281358 (240773@main): <https://commits.webkit.org/240773@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436026 [details].
Note You need to log in before you can comment on or make changes to this bug.