[webkit-changes] [WebKit/WebKit] 020a45: Input renderer applies overflow clipping to the co...

Alan Baradlay noreply at github.com
Wed May 31 07:28:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 020a45f2e2aa1e6a0c867b4aaaaae9716327c2cc
      https://github.com/WebKit/WebKit/commit/020a45f2e2aa1e6a0c867b4aaaaae9716327c2cc
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-05-31 (Wed, 31 May 2023)

  Changed paths:
    A LayoutTests/fast/forms/placeholder-content-clipping-padding-box-expected.html
    A LayoutTests/fast/forms/placeholder-content-clipping-padding-box.html
    M LayoutTests/platform/ios/TestExpectations
    A LayoutTests/platform/ios/editing/editable-region/search-field-basic-expected.txt
    M Source/WebCore/rendering/RenderTextControlSingleLine.cpp

  Log Message:
  -----------
  Input renderer applies overflow clipping to the content box
https://bugs.webkit.org/show_bug.cgi?id=257463

Reviewed by Simon Fraser.

Clipping is supposed to be applied to the padding box (interop on input shows it too).

* LayoutTests/fast/forms/placeholder-content-clipping-padding-box-expected.html: Added.
* LayoutTests/fast/forms/placeholder-content-clipping-padding-box.html: Added.
* Source/WebCore/rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::controlClipRect const):

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




More information about the webkit-changes mailing list