[webkit-changes] [WebKit/WebKit] 67952f: [Writing Tools] Smart Replies show no text after a...

megangardner noreply at github.com
Thu Sep 12 09:53:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67952f140c3dd703c1addabed646fa1ce63664cd
      https://github.com/WebKit/WebKit/commit/67952f140c3dd703c1addabed646fa1ce63664cd
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2024-09-12 (Thu, 12 Sep 2024)

  Changed paths:
    M Source/WebCore/html/shadow/TextPlaceholderElement.cpp

  Log Message:
  -----------
  [Writing Tools] Smart Replies show no text after animation finishes.
https://bugs.webkit.org/show_bug.cgi?id=279560
rdar://135770744

Reviewed by Aditya Keerthi.

The placeholder element had a zero width, so we would fail to
make a text indicator from it. Change the placeholder element to not
set the width if it is zero so it defaults to an actual width,
allowing us to make a snapshot of it.

* Source/WebCore/html/shadow/TextPlaceholderElement.cpp:

Canonical link: https://commits.webkit.org/283562@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