[webkit-changes] [WebKit/WebKit] b47ee9: `text-box` is not working correctly on buttons in ...

Alan Baradlay noreply at github.com
Mon Dec 16 05:32:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b47ee90772a57faa951a312dca2385a7476b3f99
      https://github.com/WebKit/WebKit/commit/b47ee90772a57faa951a312dca2385a7476b3f99
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

  Changed paths:
    A LayoutTests/imported/w3c/web-platform-tests/css/css-inline/text-box-trim/text-box-trim-on-button-expected.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-inline/text-box-trim/text-box-trim-on-button-ref.html
    A LayoutTests/imported/w3c/web-platform-tests/css/css-inline/text-box-trim/text-box-trim-on-button.html
    M Source/WebCore/rendering/RenderButton.cpp

  Log Message:
  -----------
  `text-box` is not working correctly on buttons in Safari
https://bugs.webkit.org/show_bug.cgi?id=284683
<rdar://141460045>

Reviewed by Antti Koivisto.

RenderButton propagates its style to the inner anonymous block container (which has the button content).

* Source/WebCore/rendering/RenderButton.cpp:
(WebCore::RenderButton::updateAnonymousChildStyle const):

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