Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f5a356da67239f4108f5840e99c10a35d7fe344
      
https://github.com/WebKit/WebKit/commit/2f5a356da67239f4108f5840e99c10a35d7fe344
  Author: Rob Buis <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to