[webkit-changes] [WebKit/WebKit] 2f5a35: Bail out early for empty text content in text cont...
Rob Buis
noreply at github.com
Tue Nov 29 23:18:35 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2f5a356da67239f4108f5840e99c10a35d7fe344
https://github.com/WebKit/WebKit/commit/2f5a356da67239f4108f5840e99c10a35d7fe344
Author: Rob Buis <rbuis at igalia.com>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M Source/WebCore/html/HTMLTextFormControlElement.cpp
Log Message:
-----------
Bail out early for empty text content in text controls
https://bugs.webkit.org/show_bug.cgi?id=248476
rdar://98298984
Reviewed by Ryosuke Niwa.
If the text control has no text content available then
return early in valueWithHardLineBreaks.
* Source/WebCore/html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::valueWithHardLineBreaks const):
Canonical link: https://commits.webkit.org/257169@main
More information about the webkit-changes
mailing list