[webkit-changes] [WebKit/WebKit] ef6cd5: [Text Directionality] Setting `.value =` sometimes...

Said Abou-Hallawa noreply at github.com
Mon Aug 5 23:11:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef6cd5cc4e16ac3adf78d8b8481412e60d8c3266
      https://github.com/WebKit/WebKit/commit/ef6cd5cc4e16ac3adf78d8b8481412e60d8c3266
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2024-08-05 (Mon, 05 Aug 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir-auto-form-associated.window-expected.txt
    M LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir-auto-form-associated.window-expected.txt
    M LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir-auto-form-associated.window-expected.txt
    M Source/WebCore/html/HTMLInputElement.cpp

  Log Message:
  -----------
  [Text Directionality] Setting `.value =` sometimes doesn't update dir=auto inputs
https://bugs.webkit.org/show_bug.cgi?id=276873
rdar://132214207

Reviewed by Tim Nguyen.

Like what we do when the `value` property of an <input> element changes, we need
to update the effective directionality when its `value` atttribute changes.

* LayoutTests/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir-auto-form-associated.window-expected.txt:
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir-auto-form-associated.window-expected.txt:
* LayoutTests/platform/wpe/imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir-auto-form-associated.window-expected.txt:
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::attributeChanged):

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