[webkit-changes] [WebKit/WebKit] 06461c: <option> label attribute updates are not shown unt...

krzysdz noreply at github.com
Tue Jul 11 03:04:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 06461c59e1c13e5569601f8defb7eadc46459813
      https://github.com/WebKit/WebKit/commit/06461c59e1c13e5569601f8defb7eadc46459813
  Author: krzysdz <krzysdz at users.noreply.github.com>
  Date:   2023-07-11 (Tue, 11 Jul 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/html/HTMLOptionElement.cpp

  Log Message:
  -----------
  <option> label attribute updates are not shown until focus is moved
https://bugs.webkit.org/show_bug.cgi?id=258862

Reviewed by Tim Nguyen.

HTMLOptionElement::label updates from JavaScript were not rendered on parent
<select> element, unless focus was moved to/from it. This change informs the
HTMLSelectElement about <option> child update whenever the label attribute
changes, which allows it to render the updated label.

* LayoutTests/TestExpectations:
* Source/WebCore/html/HTMLOptionElement.cpp:
(WebCore::HTMLOptionElement::attributeChanged):

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




More information about the webkit-changes mailing list