[webkit-changes] [WebKit/WebKit] c2e64b: Implement `field-sizing: content` minimum width fo...

Luke Warlow noreply at github.com
Wed May 22 02:03:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c2e64ba96fbed90353cfdea4b0c20a855a6c40bb
      https://github.com/WebKit/WebKit/commit/c2e64ba96fbed90353cfdea4b0c20a855a6c40bb
  Author: Luke Warlow <lwarlow at igalia.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    A LayoutTests/fast/forms/text/text-field-sizing-caret-expected.txt
    A LayoutTests/fast/forms/text/text-field-sizing-caret.html
    A LayoutTests/fast/forms/textarea/textarea-field-sizing-caret-expected.txt
    A LayoutTests/fast/forms/textarea/textarea-field-sizing-caret.html
    M Source/WebCore/html/HTMLTextFormControlElement.cpp

  Log Message:
  -----------
  Implement `field-sizing: content` minimum width for text caret
https://bugs.webkit.org/show_bug.cgi?id=269128

Reviewed by Darin Adler.

Updates text control computed style to include a minimum sizing so the caret shows.

* LayoutTests/fast/forms/text/text-field-sizing-caret-expected.txt: Added.
* LayoutTests/fast/forms/text/text-field-sizing-caret.html: Added.
* LayoutTests/fast/forms/textarea/textarea-field-sizing-caret-expected.txt: Added.
* LayoutTests/fast/forms/textarea/textarea-field-sizing-caret.html: Added.
* Source/WebCore/html/HTMLTextFormControlElement.cpp:
(WebCore::HTMLTextFormControlElement::adjustInnerTextStyle const):

Canonical link: https://commits.webkit.org/279115@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list