[webkit-changes] [WebKit/WebKit] b3dced: ::-webkit-textfield-decoration-container should no...

Ahmad Saleem noreply at github.com
Sun Nov 19 12:31:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b3dced5ca5b4cd68f770ca42bc3ac2b373e3be81
      https://github.com/WebKit/WebKit/commit/b3dced5ca5b4cd68f770ca42bc3ac2b373e3be81
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-11-19 (Sun, 19 Nov 2023)

  Changed paths:
    A LayoutTests/fast/forms/number/number-broken-by-container-style-expected.html
    A LayoutTests/fast/forms/number/number-broken-by-container-style.html
    A LayoutTests/fast/forms/search/search-broken-by-container-style-expected.html
    A LayoutTests/fast/forms/search/search-broken-by-container-style.html
    M Source/WebCore/css/html.css

  Log Message:
  -----------
  ::-webkit-textfield-decoration-container should not accept writing-mode changes

https://bugs.webkit.org/show_bug.cgi?id=265111

Reviewed by Tim Nguyen.

Merge: https://chromium-review.googlesource.com/c/chromium/src/+/2509409

Specifying a 'writing-mode' value different from the host INPUT to its
::-webkit-textfield-decoration-container broke many things, and it was
not helpful because inner-editor always has the 'writing-mode' value
same as the host INPUT.  This patch prohibits authors to specify
'writing-mode' to ::-webkit-textfield-decoration-container.

* Source/WebCore/css/html.css:
(input::-webkit-textfield-decoration-container): Updated
* LayoutTests/fast/forms/number/number-broken-by-container-style-expected.html: Add Test Case
* LayoutTests/fast/forms/number/number-broken-by-container-style.html: Add Test Case Expectation
* LayoutTests/fast/forms/search/search-broken-by-container-style.html: Add Test Case
* LayoutTests/fast/forms/search/search-broken-by-container-style-expected.html: Add Test Case Expectation

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




More information about the webkit-changes mailing list