Skip to content

Set empty string for reflection of IDREF attributes#4977

Merged
webkit-early-warning-system merged 1 commit intoWebKit:mainfrom
mrego:idref-reflection-empty-string
Oct 7, 2022
Merged

Set empty string for reflection of IDREF attributes#4977
webkit-early-warning-system merged 1 commit intoWebKit:mainfrom
mrego:idref-reflection-empty-string

Conversation

@mrego
Copy link
Copy Markdown
Member

@mrego mrego commented Oct 4, 2022

05f0430

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:
whatwg/html#8306

HTML PR is available at:
whatwg/html#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

4454086

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ❌ 🛠 🧪 win
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-debug ✅ 🛠 gtk ✅ 🛠 wincairo
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🛠 mac-AS-debug ✅ 🧪 gtk-wk2
✅ 🧪 api-ios ✅ 🧪 api-mac ✅ 🧪 api-gtk
✅ 🛠 tv ✅ 🧪 mac-wk1
✅ 🛠 tv-sim ✅ 🧪 mac-wk2
✅ 🛠 🧪 merge ✅ 🛠 watch ✅ 🧪 mac-AS-debug-wk2
✅ 🛠 watch-sim ✅ 🧪 mac-wk2-stress

@mrego mrego requested review from cdumez and rniwa as code owners October 4, 2022 12:53
@mrego mrego self-assigned this Oct 4, 2022
@mrego mrego added Accessibility For bugs related to accessibility. WebKit Nightly Build labels Oct 4, 2022
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Oct 4, 2022
@mrego mrego removed the merging-blocked Applied to prevent a change from being merged label Oct 4, 2022
@mrego mrego force-pushed the idref-reflection-empty-string branch from d142ee4 to 4454086 Compare October 4, 2022 14:21
Copy link
Copy Markdown
Member

@rniwa rniwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me

@mrego mrego added the merge-queue Applied to send a pull request to merge-queue label Oct 7, 2022
https://bugs.webkit.org/show_bug.cgi?id=245299

This implements the agreement on the following HTML issue:
whatwg/html#8306

HTML PR is available at:
whatwg/html#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
@webkit-commit-queue
Copy link
Copy Markdown
Collaborator

Committed 255267@main (05f0430): https://commits.webkit.org/255267@main

Reviewed commits have been landed. Closing PR #4977 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit 05f0430 into WebKit:main Oct 7, 2022
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Accessibility For bugs related to accessibility.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants