[webkit-changes] [WebKit/WebKit] 05f043: Set empty string for reflection of IDREF attributes

Manuel Rego Casasnovas noreply at github.com
Fri Oct 7 06:56:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 05f04306d2dc59ca6b5c255a6e31483799daf9f8
      https://github.com/WebKit/WebKit/commit/05f04306d2dc59ca6b5c255a6e31483799daf9f8
  Author: Manuel Rego Casasnovas <rego at igalia.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M LayoutTests/accessibility/ARIA-reflection-expected.txt
    M LayoutTests/accessibility/ARIA-reflection.html
    M LayoutTests/fast/custom-elements/reactions-for-aria-element-attributes.html
    M LayoutTests/imported/w3c/web-platform-tests/html/dom/aria-element-reflection-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html/dom/aria-element-reflection.html
    M Source/WebCore/dom/Element.cpp

  Log Message:
  -----------
  Set empty string for reflection of IDREF attributes
https://bugs.webkit.org/show_bug.cgi?id=245299

This implements the agreement on the following HTML issue:
https://github.com/whatwg/html/issues/8306

HTML PR is available at:
https://github.com/whatwg/html/pull/8352

It just always set the content attribute to the empty string in
Element::setElementAttribute() and Element::setElementsArrayAttribute().

The tests are updated accordingly to the new behavior.

Reviewed by Ryosuke Niwa.

* LayoutTests/accessibility/ARIA-reflection-expected.txt:
* LayoutTests/accessibility/ARIA-reflection.html:
* LayoutTests/fast/custom-elements/reactions-for-aria-element-attributes.html:
* LayoutTests/imported/w3c/web-platform-tests/html/dom/aria-element-reflection-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html/dom/aria-element-reflection.html:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::setElementAttribute):
(WebCore::Element::setElementsArrayAttribute):

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




More information about the webkit-changes mailing list