From e86711a5b778a6dd6dc8149827d096ab6a95c336 Mon Sep 17 00:00:00 2001 From: sideshowbarker Date: Sun, 1 Sep 2024 12:10:33 +0900 Subject: [PATCH] LibWeb: Make aria-relevant and ariaRelevant reflect MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change makes the aria-relevant content attribute the ariaRelevant IDL/DOM attribute get reflected — which makes the Ladybird behavior interoperable with the implemented behavior in other existing engines. Otherwise, without this change, Ladybird fails the relevant test case in https://wpt.fyi/results/html/dom/aria-attribute-reflection.html — which other existing engines all pass. --- Userland/Libraries/LibWeb/ARIA/ARIAMixin.idl | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibWeb/ARIA/ARIAMixin.idl b/Userland/Libraries/LibWeb/ARIA/ARIAMixin.idl index f608e238a94..b679d0827ac 100644 --- a/Userland/Libraries/LibWeb/ARIA/ARIAMixin.idl +++ b/Userland/Libraries/LibWeb/ARIA/ARIAMixin.idl @@ -36,6 +36,7 @@ interface mixin ARIAMixin { attribute DOMString? ariaPosInSet; attribute DOMString? ariaPressed; attribute DOMString? ariaReadOnly; + attribute DOMString? ariaRelevant; attribute DOMString? ariaRequired; attribute DOMString? ariaRoleDescription;