WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
REVERT of 254905@main
bug-245762-20220927172907.patch (text/plain), 46.68 KB, created by
WebKit Commit Bot
on 2022-09-27 17:29:07 PDT
(
hide
)
Description:
REVERT of 254905@main
Filename:
MIME Type:
Creator:
WebKit Commit Bot
Created:
2022-09-27 17:29:07 PDT
Size:
46.68 KB
patch
obsolete
>From d316b222fe44e971b19877baa08b65eee76e2ac4 Mon Sep 17 00:00:00 2001 >From: Commit Queue <commit-queue@webkit.org> >Date: Tue, 27 Sep 2022 17:29:06 -0700 >Subject: [PATCH] Unreviewed, reverting r254905@main. > https://bugs.webkit.org/show_bug.cgi?id=245762 > >Introduced consistent crash on macOS Debug > >Reverted changeset: > >"Integrate ARIA element reflection in the Accessibility Tree" >https://bugs.webkit.org/show_bug.cgi?id=244972 >https://commits.webkit.org/254905@main >--- > .../WebCore/accessibility/AXObjectCache.cpp | 13 --- > .../accessibility/AccessibilityObject.cpp | 23 ++--- > Source/WebCore/dom/Element.cpp | 4 +- > Source/WebCore/dom/Element.h | 2 - > ...flection-ariaactivedescendant-expected.txt | 17 ---- > ...ement-reflection-ariaactivedescendant.html | 43 ---------- > ...ement-reflection-ariacontrols-expected.txt | 25 ------ > .../element-reflection-ariacontrols.html | 86 ------------------- > ...nt-reflection-ariadescribedby-expected.txt | 23 ----- > .../element-reflection-ariadescribedby.html | 75 ---------------- > ...lement-reflection-ariadetails-expected.txt | 25 ------ > .../element-reflection-ariadetails.html | 84 ------------------ > ...t-reflection-ariaerrormessage-expected.txt | 25 ------ > .../element-reflection-ariaerrormessage.html | 84 ------------------ > ...element-reflection-ariaflowto-expected.txt | 25 ------ > .../element-reflection-ariaflowto.html | 84 ------------------ > ...ent-reflection-arialabelledby-expected.txt | 16 ---- > .../element-reflection-arialabelledby.html | 67 --------------- > .../element-reflection-ariaowns-expected.txt | 25 ------ > .../element-reflection-ariaowns.html | 84 ------------------ > LayoutTests/platform/mac-wk1/TestExpectations | 2 - > LayoutTests/platform/win/TestExpectations | 9 -- > 22 files changed, 7 insertions(+), 834 deletions(-) > delete mode 100644 LayoutTests/accessibility/element-reflection-ariaactivedescendant-expected.txt > delete mode 100644 LayoutTests/accessibility/element-reflection-ariaactivedescendant.html > delete mode 100644 LayoutTests/accessibility/element-reflection-ariacontrols-expected.txt > delete mode 100644 LayoutTests/accessibility/element-reflection-ariacontrols.html > delete mode 100644 LayoutTests/accessibility/element-reflection-ariadescribedby-expected.txt > delete mode 100644 LayoutTests/accessibility/element-reflection-ariadescribedby.html > delete mode 100644 LayoutTests/accessibility/element-reflection-ariadetails-expected.txt > delete mode 100644 LayoutTests/accessibility/element-reflection-ariadetails.html > delete mode 100644 LayoutTests/accessibility/element-reflection-ariaerrormessage-expected.txt > delete mode 100644 LayoutTests/accessibility/element-reflection-ariaerrormessage.html > delete mode 100644 LayoutTests/accessibility/element-reflection-ariaflowto-expected.txt > delete mode 100644 LayoutTests/accessibility/element-reflection-ariaflowto.html > delete mode 100644 LayoutTests/accessibility/element-reflection-arialabelledby-expected.txt > delete mode 100644 LayoutTests/accessibility/element-reflection-arialabelledby.html > delete mode 100644 LayoutTests/accessibility/element-reflection-ariaowns-expected.txt > delete mode 100644 LayoutTests/accessibility/element-reflection-ariaowns.html > >diff --git a/Source/WebCore/accessibility/AXObjectCache.cpp b/Source/WebCore/accessibility/AXObjectCache.cpp >index 971586a13d92..eb76a85f3e64 100644 >--- a/Source/WebCore/accessibility/AXObjectCache.cpp >+++ b/Source/WebCore/accessibility/AXObjectCache.cpp >@@ -4067,19 +4067,6 @@ void AXObjectCache::updateRelationsForTree(ContainerNode& rootNode) > updateRelationsForTree(*shadowRoot); > // Collect all possible origins, i.e., elements with non-empty relation attributes. > for (const auto& attribute : relationAttributes()) { >- if (Element::isElementReflectionAttribute(attribute)) { >- if (auto reflectedElement = element.getElementAttribute(attribute)) { >- addRelation(&element, reflectedElement, attributeToRelationType(attribute)); >- continue; >- } >- } else if (Element::isElementsArrayReflectionAttribute(attribute)) { >- if (auto reflectedElements = element.getElementsArrayAttribute(attribute)) { >- for (auto reflectedElement : reflectedElements.value()) >- addRelation(&element, reflectedElement.get(), attributeToRelationType(attribute)); >- continue; >- } >- } >- > auto& idsString = element.attributeWithoutSynchronization(attribute); > if (idsString.isNull()) { > if (auto* defaultARIA = element.customElementDefaultARIAIfExists()) { >diff --git a/Source/WebCore/accessibility/AccessibilityObject.cpp b/Source/WebCore/accessibility/AccessibilityObject.cpp >index e297b358f3de..ae3b574a3b55 100644 >--- a/Source/WebCore/accessibility/AccessibilityObject.cpp >+++ b/Source/WebCore/accessibility/AccessibilityObject.cpp >@@ -3739,27 +3739,14 @@ Vector<Element*> AccessibilityObject::elementsFromAttribute(const QualifiedName& > if (!node || !node->isElementNode()) > return { }; > >- auto& element = downcast<Element>(*node); >- if (Element::isElementReflectionAttribute(attribute)) { >- if (auto reflectedElement = element.getElementAttribute(attribute)) { >- Vector<Element*> elements; >- elements.append(reflectedElement); >- return elements; >- } >- } else if (Element::isElementsArrayReflectionAttribute(attribute)) { >- if (auto reflectedElements = element.getElementsArrayAttribute(attribute)) { >- return WTF::map(reflectedElements.value(), [](RefPtr<Element> element) -> Element* { >- return element.get(); >- }); >- } >- } >- > auto& idsString = getAttribute(attribute); > if (idsString.isEmpty()) { >+ auto& element = downcast<Element>(*node); > if (auto* defaultARIA = element.customElementDefaultARIAIfExists()) { >- return WTF::map(defaultARIA->elementsForAttribute(element, attribute), [](RefPtr<Element> element) -> Element* { >- return element.get(); >- }); >+ Vector<Element*> elements; >+ for (auto& element : defaultARIA->elementsForAttribute(element, attribute)) >+ elements.append(element.get()); >+ return elements; > } > return { }; > } >diff --git a/Source/WebCore/dom/Element.cpp b/Source/WebCore/dom/Element.cpp >index 88e1d01af166..b2388ec7e149 100644 >--- a/Source/WebCore/dom/Element.cpp >+++ b/Source/WebCore/dom/Element.cpp >@@ -1935,12 +1935,12 @@ static inline AtomString makeIdForStyleResolution(const AtomString& value, bool > return value; > } > >-bool Element::isElementReflectionAttribute(const QualifiedName& name) >+static inline bool isElementReflectionAttribute(const QualifiedName& name) > { > return name == HTMLNames::aria_activedescendantAttr; > } > >-bool Element::isElementsArrayReflectionAttribute(const QualifiedName& name) >+static inline bool isElementsArrayReflectionAttribute(const QualifiedName& name) > { > return name == HTMLNames::aria_controlsAttr > || name == HTMLNames::aria_describedbyAttr >diff --git a/Source/WebCore/dom/Element.h b/Source/WebCore/dom/Element.h >index 9fb96d50d29c..d649943a311b 100644 >--- a/Source/WebCore/dom/Element.h >+++ b/Source/WebCore/dom/Element.h >@@ -131,8 +131,6 @@ public: > WEBCORE_EXPORT void setElementAttribute(const QualifiedName& attributeName, Element* value); > WEBCORE_EXPORT std::optional<Vector<RefPtr<Element>>> getElementsArrayAttribute(const QualifiedName& attributeName) const; > WEBCORE_EXPORT void setElementsArrayAttribute(const QualifiedName& attributeName, std::optional<Vector<RefPtr<Element>>>&& value); >- static bool isElementReflectionAttribute(const QualifiedName&); >- static bool isElementsArrayReflectionAttribute(const QualifiedName&); > > // Call this to get the value of an attribute that is known not to be the style > // attribute or one of the SVG animatable attributes. >diff --git a/LayoutTests/accessibility/element-reflection-ariaactivedescendant-expected.txt b/LayoutTests/accessibility/element-reflection-ariaactivedescendant-expected.txt >deleted file mode 100644 >index 37e636392efd..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariaactivedescendant-expected.txt >+++ /dev/null >@@ -1,17 +0,0 @@ >-Checks that element reflection is exposed to the a11y tree for 'ariaActiveDescendantElement' >- >-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". >- >- >-PASS axTarget1.selectedChildrenCount is 1 >-PASS axTarget1.selectedChildAtIndex(0).isEqual(axDescendant1) is true >-PASS axTarget2.selectedChildrenCount is 1 >-PASS axTarget2.selectedChildAtIndex(0).isEqual(axDescendantFirstChild) is true >-PASS axTarget2.selectedChildrenCount is 1 >-PASS axTarget2.selectedChildAtIndex(0).isEqual(axDescendant2) is true >-PASS axTarget3.selectedChildrenCount is 1 >-PASS axTarget3.selectedChildAtIndex(0).isEqual(axDescendant3) is true >-PASS successfullyParsed is true >- >-TEST COMPLETE >- >diff --git a/LayoutTests/accessibility/element-reflection-ariaactivedescendant.html b/LayoutTests/accessibility/element-reflection-ariaactivedescendant.html >deleted file mode 100644 >index 3bec616099dc..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariaactivedescendant.html >+++ /dev/null >@@ -1,43 +0,0 @@ >-<!DOCTYPE html> >-<script src="../resources/js-test.js"></script> >-<script src="../resources/accessibility-helper.js"></script> >-<ul id="target1" role="menubar"> >- <li id="descendant1"></li> >-</ul> >-<ul id="target2" role="menubar"> >- <li></li> >- <li id="descendant2"></li> >-</ul> >-<ul id="target3" role="menubar"> >- <li id="descendant3"></li> >-</ul> >- >-<script> >- description("Checks that element reflection is exposed to the a11y tree for 'ariaActiveDescendantElement'"); >- if (!window.accessibilityController) { >- debug("This test requires accessibilityController"); >- } else { >- target1.ariaActiveDescendantElement = descendant1; >- var axTarget1 = accessibilityController.accessibleElementById("target1"); >- var axDescendant1 = accessibilityController.accessibleElementById("descendant1"); >- shouldBe("axTarget1.selectedChildrenCount", "1"); >- shouldBeTrue("axTarget1.selectedChildAtIndex(0).isEqual(axDescendant1)"); >- >- target2.ariaActiveDescendantElement = target2.firstElementChild; >- var axTarget2 = accessibilityController.accessibleElementById("target2"); >- var axDescendant2 = accessibilityController.accessibleElementById("descendant2"); >- var axDescendantFirstChild = axTarget2.childAtIndex(0); >- shouldBe("axTarget2.selectedChildrenCount", "1"); >- shouldBeTrue("axTarget2.selectedChildAtIndex(0).isEqual(axDescendantFirstChild)"); >- target2.setAttribute("aria-activedescendant", "descendant2"); >- shouldBe("axTarget2.selectedChildrenCount", "1"); >- shouldBeTrue("axTarget2.selectedChildAtIndex(0).isEqual(axDescendant2)"); >- >- target3.ariaActiveDescendantElement = descendant3; >- descendant3.id = "descendant3-new"; >- var axTarget3 = accessibilityController.accessibleElementById("target3"); >- var axDescendant3 = accessibilityController.accessibleElementById("descendant3-new"); >- shouldBe("axTarget3.selectedChildrenCount", "1"); >- shouldBeTrue("axTarget3.selectedChildAtIndex(0).isEqual(axDescendant3)"); >- } >-</script> >diff --git a/LayoutTests/accessibility/element-reflection-ariacontrols-expected.txt b/LayoutTests/accessibility/element-reflection-ariacontrols-expected.txt >deleted file mode 100644 >index 8556e45ebae8..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariacontrols-expected.txt >+++ /dev/null >@@ -1,25 +0,0 @@ >-Checks that element reflection is exposed to the a11y tree for 'ariaControlsElements' >- >-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". >- >- >-PASS axTab1.ariaControlsElementAtIndex(0).isEqual(axPanel1) is true >-PASS axTab2.ariaControlsElementAtIndex(0).isEqual(axPanel2) is true >-PASS axTab2.ariaControlsElementAtIndex(0).isEqual(axPanel1) is true >-PASS axTab3.ariaControlsElementAtIndex(0).isEqual(axPanel3) is true >-PASS axTab2.ariaControlsElementAtIndex(0).isEqual(axPanel1) is true >-PASS axTab2.ariaControlsElementAtIndex(1).isEqual(axPanel2) is true >-PASS axTab2.ariaControlsElementAtIndex(2).isEqual(axPanel3) is true >-PASS axTab4.ariaControlsElementAtIndex(0).isEqual(axPanel4) is true >-PASS axTab5.ariaControlsElementAtIndex(0).isEqual(axPanel5) is true >-PASS successfullyParsed is true >- >-TEST COMPLETE >-First panel >-Tab 1 >-Second panel >-Tab 2 >-Third panel >-Fourth panel >-Tab 4 >-Fifth panel >diff --git a/LayoutTests/accessibility/element-reflection-ariacontrols.html b/LayoutTests/accessibility/element-reflection-ariacontrols.html >deleted file mode 100644 >index bf4d84c2da8b..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariacontrols.html >+++ /dev/null >@@ -1,86 +0,0 @@ >-<!DOCTYPE html> >-<script src="../resources/js-test.js"></script> >-<script src="../resources/accessibility-helper.js"></script> >-<div id="panel1">First panel</div> >-<div id="tab1" role="tab">Tab 1</div> >-<div id="wrapper" tabindex="0"> >- <div class="panel">Second panel</div> >-</div> >-<div id="tab2" role="tab">Tab 2</div> >-<div id="panel3">Third panel</div> >-<x-tab></x-tab> >-<div id="panel4">Fourth panel</div> >-<div id="tab4" role="tab">Tab 4</div> >-<x-custom></x-custom> >- >-<script> >- class XTab extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let tab = document.createElement("div"); >- tab.id = "innertab"; >- tab.role = "tab"; >- tab.textContent = "Tab 3"; >- tab.ariaControlsElements = [panel3]; >- this.shadowRoot.appendChild(tab); >- } >- } >- customElements.define("x-tab", XTab); >- >- class XCustom extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let panel = document.createElement("div"); >- panel.id = "panel5"; >- panel.textContent = "Fifth panel"; >- let tab = document.createElement("div"); >- tab.id = "tab5"; >- tab.role = "tab"; >- tab.textContent = "Tab 5"; >- this.shadowRoot.appendChild(panel); >- this.shadowRoot.appendChild(tab); >- tab.ariaControlsElements = [panel]; >- document.body.appendChild(panel); >- } >- } >- customElements.define("x-custom", XCustom); >- >- description("Checks that element reflection is exposed to the a11y tree for 'ariaControlsElements'"); >- if (!window.accessibilityController) { >- debug("This test requires accessibilityController"); >- } else { >- tab1.ariaControlsElements = [panel1]; >- var axPanel1 = accessibilityController.accessibleElementById("panel1"); >- var axTab1 = accessibilityController.accessibleElementById("tab1"); >- shouldBeTrue("axTab1.ariaControlsElementAtIndex(0).isEqual(axPanel1)"); >- >- tab2.ariaControlsElements = [document.getElementsByClassName("panel")[0]]; >- var wrapper = accessibilityController.accessibleElementById("wrapper"); >- var axPanel2 = wrapper.childAtIndex(0); >- var axTab2 = accessibilityController.accessibleElementById("tab2"); >- shouldBeTrue("axTab2.ariaControlsElementAtIndex(0).isEqual(axPanel2)"); >- tab2.setAttribute("aria-controls", "panel1"); >- shouldBeTrue("axTab2.ariaControlsElementAtIndex(0).isEqual(axPanel1)"); >- >- var axPanel3 = accessibilityController.accessibleElementById("panel3"); >- var axTab3 = accessibilityController.accessibleElementById("innertab"); >- shouldBeTrue("axTab3.ariaControlsElementAtIndex(0).isEqual(axPanel3)"); >- >- tab2.ariaControlsElements = [panel1, document.getElementsByClassName("panel")[0], panel3]; >- shouldBeTrue("axTab2.ariaControlsElementAtIndex(0).isEqual(axPanel1)"); >- shouldBeTrue("axTab2.ariaControlsElementAtIndex(1).isEqual(axPanel2)"); >- shouldBeTrue("axTab2.ariaControlsElementAtIndex(2).isEqual(axPanel3)"); >- >- tab4.ariaControlsElements = [panel4]; >- panel4.id = "panel4-new"; >- var axPanel4 = accessibilityController.accessibleElementById("panel4-new"); >- var axTab4 = accessibilityController.accessibleElementById("tab4"); >- shouldBeTrue("axTab4.ariaControlsElementAtIndex(0).isEqual(axPanel4)"); >- >- var axPanel5 = accessibilityController.accessibleElementById("panel5"); >- var axTab5 = accessibilityController.accessibleElementById("tab5"); >- shouldBeTrue("axTab5.ariaControlsElementAtIndex(0).isEqual(axPanel5)"); >- } >-</script> >diff --git a/LayoutTests/accessibility/element-reflection-ariadescribedby-expected.txt b/LayoutTests/accessibility/element-reflection-ariadescribedby-expected.txt >deleted file mode 100644 >index a60e41997e5c..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariadescribedby-expected.txt >+++ /dev/null >@@ -1,23 +0,0 @@ >-Checks that element reflection is exposed to the a11y tree for 'ariaDescribedByElements' >- >-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". >- >- >-PASS axTarget1.helpText is "AXHelp: First description" >-PASS axTarget2.helpText is "AXHelp: Second description" >-PASS axTarget2.helpText is "AXHelp: First description" >-PASS axInnerTarget.helpText is "AXHelp: Third description" >-PASS axTarget2.helpText is "AXHelp: First description Second description Third description" >-PASS axTarget4.helpText is "AXHelp: Fourth description" >-PASS axTarget5.helpText is "AXHelp: Fifth description" >-PASS successfullyParsed is true >- >-TEST COMPLETE >-First description >-Target 1 >-Second description >-Target 2 >-Third description >-Fourth description >-Target 4 >-Fifth description >diff --git a/LayoutTests/accessibility/element-reflection-ariadescribedby.html b/LayoutTests/accessibility/element-reflection-ariadescribedby.html >deleted file mode 100644 >index bdbcaee1854b..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariadescribedby.html >+++ /dev/null >@@ -1,75 +0,0 @@ >-<!DOCTYPE html> >-<script src="../resources/js-test.js"></script> >-<script src="../resources/accessibility-helper.js"></script> >- >-<div id="desc1">First description</div> >-<div id="target1">Target 1</div> >-<div class="desc">Second description</div> >-<div id="target2">Target 2</div> >-<div id="desc3">Third description</div> >-<x-target></x-target> >-<div id="desc4">Fourth description</div> >-<div id="target4">Target 4</div> >-<x-custom></x-custom> >- >-<script> >- class XTarget extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let target = document.createElement("div"); >- target.id = "innertarget"; >- target.textContent = "Target 3"; >- target.ariaDescribedByElements = [desc3]; >- this.shadowRoot.appendChild(target); >- } >- } >- customElements.define("x-target", XTarget); >- >- class XCustom extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let desc = document.createElement("div"); >- desc.id = "desc5"; >- desc.textContent = "Fifth description"; >- let target = document.createElement("div"); >- target.id = "target5"; >- target.textContent = "Target 5"; >- this.shadowRoot.appendChild(desc); >- this.shadowRoot.appendChild(target); >- target.ariaDescribedByElements = [desc]; >- document.body.appendChild(desc); >- } >- } >- customElements.define("x-custom", XCustom); >- >- description("Checks that element reflection is exposed to the a11y tree for 'ariaDescribedByElements'"); >- if (!window.accessibilityController) { >- debug("This test requires accessibilityController"); >- } else { >- target1.ariaDescribedByElements = [desc1]; >- var axTarget1 = accessibilityController.accessibleElementById("target1"); >- shouldBeEqualToString("axTarget1.helpText", "AXHelp: First description"); >- >- target2.ariaDescribedByElements = [document.getElementsByClassName("desc")[0]]; >- var axTarget2 = accessibilityController.accessibleElementById("target2"); >- shouldBeEqualToString("axTarget2.helpText", "AXHelp: Second description"); >- target2.setAttribute("aria-describedby", "desc1"); >- shouldBeEqualToString("axTarget2.helpText", "AXHelp: First description"); >- >- var axInnerTarget = accessibilityController.accessibleElementById("innertarget"); >- shouldBeEqualToString("axInnerTarget.helpText", "AXHelp: Third description"); >- >- target2.ariaDescribedByElements = [desc1, document.getElementsByClassName("desc")[0], desc3]; >- shouldBeEqualToString("axTarget2.helpText", "AXHelp: First description Second description Third description"); >- >- target4.ariaDescribedByElements = [desc4]; >- desc4.id = "desc4-new"; >- var axTarget4 = accessibilityController.accessibleElementById("target4"); >- shouldBeEqualToString("axTarget4.helpText", "AXHelp: Fourth description"); >- >- var axTarget5 = accessibilityController.accessibleElementById("target5"); >- shouldBeEqualToString("axTarget5.helpText", "AXHelp: Fifth description"); >- } >-</script> >diff --git a/LayoutTests/accessibility/element-reflection-ariadetails-expected.txt b/LayoutTests/accessibility/element-reflection-ariadetails-expected.txt >deleted file mode 100644 >index d569db03f57d..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariadetails-expected.txt >+++ /dev/null >@@ -1,25 +0,0 @@ >-Checks that element reflection is exposed to the a11y tree for 'ariaDetailsElements' >- >-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". >- >- >-PASS axTarget1.ariaDetailsElementAtIndex(0).isEqual(axDetail1) is true >-PASS axTarget2.ariaDetailsElementAtIndex(0).isEqual(axDetail2) is true >-PASS axTarget2.ariaDetailsElementAtIndex(0).isEqual(axDetail1) is true >-PASS axInnerTarget.ariaDetailsElementAtIndex(0).isEqual(axDetail3) is true >-PASS axTarget2.ariaDetailsElementAtIndex(0).isEqual(axDetail1) is true >-PASS axTarget2.ariaDetailsElementAtIndex(1).isEqual(axDetail2) is true >-PASS axTarget2.ariaDetailsElementAtIndex(2).isEqual(axDetail3) is true >-PASS axTarget4.ariaDetailsElementAtIndex(0).isEqual(axDetail4) is true >-PASS axTarget5.ariaDetailsElementAtIndex(0).isEqual(axDetail5) is true >-PASS successfullyParsed is true >- >-TEST COMPLETE >-First detail >-Target 1 >-Second detail >-Target 2 >-Third detail >-Fourth detail >-Target 4 >-Fifth detail >diff --git a/LayoutTests/accessibility/element-reflection-ariadetails.html b/LayoutTests/accessibility/element-reflection-ariadetails.html >deleted file mode 100644 >index ae0cfdc4d725..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariadetails.html >+++ /dev/null >@@ -1,84 +0,0 @@ >-<!DOCTYPE html> >-<script src="../resources/js-test.js"></script> >-<script src="../resources/accessibility-helper.js"></script> >-<div id="detail1">First detail</div> >-<div id="target1">Target 1</div> >-<div id="wrapper" tabindex="0"> >- <div class="detail">Second detail</div> >-</div> >-<div id="target2">Target 2</div> >-<div id="detail3">Third detail</div> >-<x-target></x-target> >-<div id="detail4">Fourth detail</div> >-<div id="target4">Target 4</div> >-<x-custom></x-custom> >- >-<script> >- class XTarget extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let target = document.createElement("div"); >- target.id = "innertarget"; >- target.textContent = "Target 3"; >- target.ariaDetailsElements = [detail3]; >- this.shadowRoot.appendChild(target); >- } >- } >- customElements.define("x-target", XTarget); >- >- class XCustom extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let detail = document.createElement("div"); >- detail.id = "detail5"; >- detail.textContent = "Fifth detail"; >- let target = document.createElement("div"); >- target.id = "target5"; >- target.textContent = "Target 5"; >- this.shadowRoot.appendChild(detail); >- this.shadowRoot.appendChild(target); >- target.ariaDetailsElements = [detail]; >- document.body.appendChild(detail); >- } >- } >- customElements.define("x-custom", XCustom); >- >- description("Checks that element reflection is exposed to the a11y tree for 'ariaDetailsElements'"); >- if (!window.accessibilityController) { >- debug("This test requires accessibilityController"); >- } else { >- target1.ariaDetailsElements = [detail1]; >- var axDetail1 = accessibilityController.accessibleElementById("detail1"); >- var axTarget1 = accessibilityController.accessibleElementById("target1"); >- shouldBeTrue("axTarget1.ariaDetailsElementAtIndex(0).isEqual(axDetail1)"); >- >- target2.ariaDetailsElements = [document.getElementsByClassName("detail")[0]]; >- var wrapper = accessibilityController.accessibleElementById("wrapper"); >- var axDetail2 = wrapper.childAtIndex(0); >- var axTarget2 = accessibilityController.accessibleElementById("target2"); >- shouldBeTrue("axTarget2.ariaDetailsElementAtIndex(0).isEqual(axDetail2)"); >- target2.setAttribute("aria-details", "detail1"); >- shouldBeTrue("axTarget2.ariaDetailsElementAtIndex(0).isEqual(axDetail1)"); >- >- var axDetail3 = accessibilityController.accessibleElementById("detail3"); >- var axInnerTarget = accessibilityController.accessibleElementById("innertarget"); >- shouldBeTrue("axInnerTarget.ariaDetailsElementAtIndex(0).isEqual(axDetail3)"); >- >- target2.ariaDetailsElements = [detail1, document.getElementsByClassName("detail")[0], detail3]; >- shouldBeTrue("axTarget2.ariaDetailsElementAtIndex(0).isEqual(axDetail1)"); >- shouldBeTrue("axTarget2.ariaDetailsElementAtIndex(1).isEqual(axDetail2)"); >- shouldBeTrue("axTarget2.ariaDetailsElementAtIndex(2).isEqual(axDetail3)"); >- >- target4.ariaDetailsElements = [detail4]; >- detail4.id = "detail4-new"; >- var axDetail4 = accessibilityController.accessibleElementById("detail4-new"); >- var axTarget4 = accessibilityController.accessibleElementById("target4"); >- shouldBeTrue("axTarget4.ariaDetailsElementAtIndex(0).isEqual(axDetail4)"); >- >- var axDetail5 = accessibilityController.accessibleElementById("detail5"); >- var axTarget5 = accessibilityController.accessibleElementById("target5"); >- shouldBeTrue("axTarget5.ariaDetailsElementAtIndex(0).isEqual(axDetail5)"); >- } >-</script> >diff --git a/LayoutTests/accessibility/element-reflection-ariaerrormessage-expected.txt b/LayoutTests/accessibility/element-reflection-ariaerrormessage-expected.txt >deleted file mode 100644 >index 600da2d3122d..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariaerrormessage-expected.txt >+++ /dev/null >@@ -1,25 +0,0 @@ >-Checks that element reflection is exposed to the a11y tree for 'ariaErrorMessageElements' >- >-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". >- >- >-PASS axTarget1.ariaErrorMessageElementAtIndex(0).isEqual(axError1) is true >-PASS axTarget2.ariaErrorMessageElementAtIndex(0).isEqual(axError2) is true >-PASS axTarget2.ariaErrorMessageElementAtIndex(0).isEqual(axError1) is true >-PASS axInnerTarget.ariaErrorMessageElementAtIndex(0).isEqual(axError3) is true >-PASS axTarget2.ariaErrorMessageElementAtIndex(0).isEqual(axError1) is true >-PASS axTarget2.ariaErrorMessageElementAtIndex(1).isEqual(axError2) is true >-PASS axTarget2.ariaErrorMessageElementAtIndex(2).isEqual(axError3) is true >-PASS axTarget4.ariaErrorMessageElementAtIndex(0).isEqual(axErrorMessage4) is true >-PASS axTarget5.ariaErrorMessageElementAtIndex(0).isEqual(axErrorMessage5) is true >-PASS successfullyParsed is true >- >-TEST COMPLETE >-First error >-Target 1 >-Second error >-Target 2 >-Third error >-Fourth error >-Target 4 >-Fifth error >diff --git a/LayoutTests/accessibility/element-reflection-ariaerrormessage.html b/LayoutTests/accessibility/element-reflection-ariaerrormessage.html >deleted file mode 100644 >index d649018612cc..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariaerrormessage.html >+++ /dev/null >@@ -1,84 +0,0 @@ >-<!DOCTYPE html> >-<script src="../resources/js-test.js"></script> >-<script src="../resources/accessibility-helper.js"></script> >-<div id="error1">First error</div> >-<div id="target1">Target 1</div> >-<div id="wrapper" tabindex="0"> >- <div class="error">Second error</div> >-</div> >-<div id="target2">Target 2</div> >-<div id="error3">Third error</div> >-<x-target></x-target> >-<div id="error4">Fourth error</div> >-<div id="target4">Target 4</div> >-<x-custom></x-custom> >- >-<script> >- class XTarget extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let target = document.createElement("div"); >- target.id = "innertarget"; >- target.textContent = "Target 3"; >- target.ariaErrorMessageElements = [error3]; >- this.shadowRoot.appendChild(target); >- } >- } >- customElements.define("x-target", XTarget); >- >- class XCustom extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let error = document.createElement("div"); >- error.id = "error5"; >- error.textContent = "Fifth error"; >- let target = document.createElement("div"); >- target.id = "target5"; >- target.textContent = "Target 5"; >- this.shadowRoot.appendChild(error); >- this.shadowRoot.appendChild(target); >- target.ariaErrorMessageElements = [error]; >- document.body.appendChild(error); >- } >- } >- customElements.define("x-custom", XCustom); >- >- description("Checks that element reflection is exposed to the a11y tree for 'ariaErrorMessageElements'"); >- if (!window.accessibilityController) { >- debug("This test requires accessibilityController"); >- } else { >- target1.ariaErrorMessageElements = [error1]; >- var axError1 = accessibilityController.accessibleElementById("error1"); >- var axTarget1 = accessibilityController.accessibleElementById("target1"); >- shouldBeTrue("axTarget1.ariaErrorMessageElementAtIndex(0).isEqual(axError1)"); >- >- target2.ariaErrorMessageElements = [document.getElementsByClassName("error")[0]]; >- var wrapper = accessibilityController.accessibleElementById("wrapper"); >- var axError2 = wrapper.childAtIndex(0); >- var axTarget2 = accessibilityController.accessibleElementById("target2"); >- shouldBeTrue("axTarget2.ariaErrorMessageElementAtIndex(0).isEqual(axError2)"); >- target2.setAttribute("aria-errormessage", "error1"); >- shouldBeTrue("axTarget2.ariaErrorMessageElementAtIndex(0).isEqual(axError1)"); >- >- var axError3 = accessibilityController.accessibleElementById("error3"); >- var axInnerTarget = accessibilityController.accessibleElementById("innertarget"); >- shouldBeTrue("axInnerTarget.ariaErrorMessageElementAtIndex(0).isEqual(axError3)"); >- >- target2.ariaErrorMessageElements = [error1, document.getElementsByClassName("error")[0], error3]; >- shouldBeTrue("axTarget2.ariaErrorMessageElementAtIndex(0).isEqual(axError1)"); >- shouldBeTrue("axTarget2.ariaErrorMessageElementAtIndex(1).isEqual(axError2)"); >- shouldBeTrue("axTarget2.ariaErrorMessageElementAtIndex(2).isEqual(axError3)"); >- >- target4.ariaErrorMessageElements = [error4]; >- error4.id = "error4-new"; >- var axErrorMessage4 = accessibilityController.accessibleElementById("error4-new"); >- var axTarget4 = accessibilityController.accessibleElementById("target4"); >- shouldBeTrue("axTarget4.ariaErrorMessageElementAtIndex(0).isEqual(axErrorMessage4)"); >- >- var axErrorMessage5 = accessibilityController.accessibleElementById("error5"); >- var axTarget5 = accessibilityController.accessibleElementById("target5"); >- shouldBeTrue("axTarget5.ariaErrorMessageElementAtIndex(0).isEqual(axErrorMessage5)"); >- } >-</script> >diff --git a/LayoutTests/accessibility/element-reflection-ariaflowto-expected.txt b/LayoutTests/accessibility/element-reflection-ariaflowto-expected.txt >deleted file mode 100644 >index 2b8fcf89c2bd..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariaflowto-expected.txt >+++ /dev/null >@@ -1,25 +0,0 @@ >-Checks that element reflection is exposed to the a11y tree for 'ariaFlowToElements' >- >-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". >- >- >-PASS axTarget1.ariaFlowToElementAtIndex(0).isEqual(axFlow1) is true >-PASS axTarget2.ariaFlowToElementAtIndex(0).isEqual(axFlow2) is true >-PASS axTarget2.ariaFlowToElementAtIndex(0).isEqual(axFlow1) is true >-PASS axInnerTarget.ariaFlowToElementAtIndex(0).isEqual(axFlow3) is true >-PASS axTarget2.ariaFlowToElementAtIndex(0).isEqual(axFlow1) is true >-PASS axTarget2.ariaFlowToElementAtIndex(1).isEqual(axFlow2) is true >-PASS axTarget2.ariaFlowToElementAtIndex(2).isEqual(axFlow3) is true >-PASS axTarget4.ariaFlowToElementAtIndex(0).isEqual(axFlow4) is true >-PASS axTarget5.ariaFlowToElementAtIndex(0).isEqual(axFlow5) is true >-PASS successfullyParsed is true >- >-TEST COMPLETE >-First flow >-Target 1 >-Second flow >-Target 2 >-Third flow >-Fourth flow >-Target 4 >-Fifth flow >diff --git a/LayoutTests/accessibility/element-reflection-ariaflowto.html b/LayoutTests/accessibility/element-reflection-ariaflowto.html >deleted file mode 100644 >index 98b2aa32bafa..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariaflowto.html >+++ /dev/null >@@ -1,84 +0,0 @@ >-<!DOCTYPE html> >-<script src="../resources/js-test.js"></script> >-<script src="../resources/accessibility-helper.js"></script> >-<div id="flow1">First flow</div> >-<div id="target1">Target 1</div> >-<div id="wrapper" tabindex="0"> >- <div class="flow">Second flow</div> >-</div> >-<div id="target2">Target 2</div> >-<div id="flow3">Third flow</div> >-<x-target></x-target> >-<div id="flow4">Fourth flow</div> >-<div id="target4">Target 4</div> >-<x-custom></x-custom> >- >-<script> >- class XTarget extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let target = document.createElement("div"); >- target.id = "innertarget"; >- target.textContent = "Target 3"; >- target.ariaFlowToElements = [flow3]; >- this.shadowRoot.appendChild(target); >- } >- } >- customElements.define("x-target", XTarget); >- >- class XCustom extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let flow = document.createElement("div"); >- flow.id = "flow5"; >- flow.textContent = "Fifth flow"; >- let target = document.createElement("div"); >- target.id = "target5"; >- target.textContent = "Target 5"; >- this.shadowRoot.appendChild(flow); >- this.shadowRoot.appendChild(target); >- target.ariaFlowToElements = [flow]; >- document.body.appendChild(flow); >- } >- } >- customElements.define("x-custom", XCustom); >- >- description("Checks that element reflection is exposed to the a11y tree for 'ariaFlowToElements'"); >- if (!window.accessibilityController) { >- debug("This test requires accessibilityController"); >- } else { >- target1.ariaFlowToElements = [flow1]; >- var axFlow1 = accessibilityController.accessibleElementById("flow1"); >- var axTarget1 = accessibilityController.accessibleElementById("target1"); >- shouldBeTrue("axTarget1.ariaFlowToElementAtIndex(0).isEqual(axFlow1)"); >- >- target2.ariaFlowToElements = [document.getElementsByClassName("flow")[0]]; >- var wrapper = accessibilityController.accessibleElementById("wrapper"); >- var axFlow2 = wrapper.childAtIndex(0); >- var axTarget2 = accessibilityController.accessibleElementById("target2"); >- shouldBeTrue("axTarget2.ariaFlowToElementAtIndex(0).isEqual(axFlow2)"); >- target2.setAttribute("aria-flowto", "flow1"); >- shouldBeTrue("axTarget2.ariaFlowToElementAtIndex(0).isEqual(axFlow1)"); >- >- var axFlow3 = accessibilityController.accessibleElementById("flow3"); >- var axInnerTarget = accessibilityController.accessibleElementById("innertarget"); >- shouldBeTrue("axInnerTarget.ariaFlowToElementAtIndex(0).isEqual(axFlow3)"); >- >- target2.ariaFlowToElements = [flow1, document.getElementsByClassName("flow")[0], flow3]; >- shouldBeTrue("axTarget2.ariaFlowToElementAtIndex(0).isEqual(axFlow1)"); >- shouldBeTrue("axTarget2.ariaFlowToElementAtIndex(1).isEqual(axFlow2)"); >- shouldBeTrue("axTarget2.ariaFlowToElementAtIndex(2).isEqual(axFlow3)"); >- >- target4.ariaFlowToElements = [flow4]; >- flow4.id = "flow4-new"; >- var axFlow4 = accessibilityController.accessibleElementById("flow4-new"); >- var axTarget4 = accessibilityController.accessibleElementById("target4"); >- shouldBeTrue("axTarget4.ariaFlowToElementAtIndex(0).isEqual(axFlow4)"); >- >- var axFlow5 = accessibilityController.accessibleElementById("flow5"); >- var axTarget5 = accessibilityController.accessibleElementById("target5"); >- shouldBeTrue("axTarget5.ariaFlowToElementAtIndex(0).isEqual(axFlow5)"); >- } >-</script> >diff --git a/LayoutTests/accessibility/element-reflection-arialabelledby-expected.txt b/LayoutTests/accessibility/element-reflection-arialabelledby-expected.txt >deleted file mode 100644 >index 7b1fdfd7132e..000000000000 >--- a/LayoutTests/accessibility/element-reflection-arialabelledby-expected.txt >+++ /dev/null >@@ -1,16 +0,0 @@ >-Checks that element reflection is exposed to the a11y tree for 'ariaLabelledByElements' >- >-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". >- >- >-PASS platformValueForW3CName(axInput1) is "First label" >-PASS platformValueForW3CName(axInput2) is "Second label" >-PASS platformValueForW3CName(axInput2) is "First label" >-PASS platformValueForW3CName(axInnerInput) is "Third label" >-PASS platformValueForW3CName(axInput2) is "First label Second label Third label" >-PASS platformValueForW3CName(axInput5) is "Fifth label" >-PASS successfullyParsed is true >- >-TEST COMPLETE >-First label Second label Third label Fourth label >-Fifth label >diff --git a/LayoutTests/accessibility/element-reflection-arialabelledby.html b/LayoutTests/accessibility/element-reflection-arialabelledby.html >deleted file mode 100644 >index e74a8d992c54..000000000000 >--- a/LayoutTests/accessibility/element-reflection-arialabelledby.html >+++ /dev/null >@@ -1,67 +0,0 @@ >-<!DOCTYPE html> >-<script src="../resources/js-test.js"></script> >-<script src="../resources/accessibility-helper.js"></script> >-<label id="label1">First label</label> >-<input id="input1"></input> >-<label>Second label</label> >-<input id="input2"></input> >-<label id="label3">Third label</label> >-<x-input></x-input> >-<label id="label4">Fourth label</label> >-<input id="input4"></input> >-<x-custom></x-custom> >- >-<script> >- class XInput extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let input = document.createElement("input"); >- input.id = "innerinput"; >- input.ariaLabelledByElements = [label3]; >- this.shadowRoot.appendChild(input); >- } >- } >- customElements.define("x-input", XInput); >- >- class XCustom extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let label = document.createElement("div"); >- label.id = "label5"; >- label.textContent = "Fifth label"; >- let input = document.createElement("input"); >- input.id = "input5"; >- this.shadowRoot.appendChild(label); >- this.shadowRoot.appendChild(input); >- input.ariaLabelledByElements = [label]; >- document.body.appendChild(label); >- } >- } >- customElements.define("x-custom", XCustom); >- >- description("Checks that element reflection is exposed to the a11y tree for 'ariaLabelledByElements'"); >- if (!window.accessibilityController) { >- debug("This test requires accessibilityController"); >- } else { >- input1.ariaLabelledByElements = [label1]; >- var axInput1 = accessibilityController.accessibleElementById("input1"); >- shouldBeEqualToString("platformValueForW3CName(axInput1)", "First label"); >- >- input2.ariaLabelledByElements = [document.getElementsByTagName("label")[1]]; >- var axInput2 = accessibilityController.accessibleElementById("input2"); >- shouldBeEqualToString("platformValueForW3CName(axInput2)", "Second label"); >- input2.setAttribute("aria-labelledby", "label1"); >- shouldBeEqualToString("platformValueForW3CName(axInput2)", "First label"); >- >- var axInnerInput = accessibilityController.accessibleElementById("innerinput"); >- shouldBeEqualToString("platformValueForW3CName(axInnerInput)", "Third label"); >- >- input2.ariaLabelledByElements = [label1, document.getElementsByTagName("label")[1], label3]; >- shouldBeEqualToString("platformValueForW3CName(axInput2)", "First label Second label Third label"); >- >- var axInput5 = accessibilityController.accessibleElementById("input5"); >- shouldBeEqualToString("platformValueForW3CName(axInput5)", "Fifth label"); >- } >-</script> >diff --git a/LayoutTests/accessibility/element-reflection-ariaowns-expected.txt b/LayoutTests/accessibility/element-reflection-ariaowns-expected.txt >deleted file mode 100644 >index 0d4c42b0f84a..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariaowns-expected.txt >+++ /dev/null >@@ -1,25 +0,0 @@ >-Checks that element reflection is exposed to the a11y tree for 'ariaOwnsElements' >- >-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". >- >- >-PASS axTarget1.ariaOwnsElementAtIndex(0).isEqual(axOwn1) is true >-PASS axTarget2.ariaOwnsElementAtIndex(0).isEqual(axOwn2) is true >-PASS axTarget2.ariaOwnsElementAtIndex(0).isEqual(axOwn1) is true >-PASS axInnerTarget.ariaOwnsElementAtIndex(0).isEqual(axOwn3) is true >-PASS axTarget2.ariaOwnsElementAtIndex(0).isEqual(axOwn1) is true >-PASS axTarget2.ariaOwnsElementAtIndex(1).isEqual(axOwn2) is true >-PASS axTarget2.ariaOwnsElementAtIndex(2).isEqual(axOwn3) is true >-PASS axTarget4.ariaOwnsElementAtIndex(0).isEqual(axOwn4) is true >-PASS axTarget5.ariaOwnsElementAtIndex(0).isEqual(axOwn5) is true >-PASS successfullyParsed is true >- >-TEST COMPLETE >-First own >-Target 1 >-Second own >-Target 2 >-Third own >-Fourth own >-Target 4 >-Fifth own >diff --git a/LayoutTests/accessibility/element-reflection-ariaowns.html b/LayoutTests/accessibility/element-reflection-ariaowns.html >deleted file mode 100644 >index 68f9e629e304..000000000000 >--- a/LayoutTests/accessibility/element-reflection-ariaowns.html >+++ /dev/null >@@ -1,84 +0,0 @@ >-<!DOCTYPE html> >-<script src="../resources/js-test.js"></script> >-<script src="../resources/accessibility-helper.js"></script> >-<div id="own1">First own</div> >-<div id="target1">Target 1</div> >-<div id="wrapper" tabindex="0"> >- <div class="own">Second own</div> >-</div> >-<div id="target2">Target 2</div> >-<div id="own3">Third own</div> >-<x-target></x-target> >-<div id="own4">Fourth own</div> >-<div id="target4">Target 4</div> >-<x-custom></x-custom> >- >-<script> >- class XTarget extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let target = document.createElement("div"); >- target.id = "innertarget"; >- target.textContent = "Target 3"; >- target.ariaOwnsElements = [own3]; >- this.shadowRoot.appendChild(target); >- } >- } >- customElements.define("x-target", XTarget); >- >- class XCustom extends HTMLElement { >- constructor() { >- super(); >- this.attachShadow({ mode: "open" }); >- let own = document.createElement("div"); >- own.id = "own5"; >- own.textContent = "Fifth own"; >- let target = document.createElement("div"); >- target.id = "target5"; >- target.textContent = "Target 5"; >- this.shadowRoot.appendChild(own); >- this.shadowRoot.appendChild(target); >- target.ariaOwnsElements = [own]; >- document.body.appendChild(own); >- } >- } >- customElements.define("x-custom", XCustom); >- >- description("Checks that element reflection is exposed to the a11y tree for 'ariaOwnsElements'"); >- if (!window.accessibilityController) { >- debug("This test requires accessibilityController"); >- } else { >- target1.ariaOwnsElements = [own1]; >- var axOwn1 = accessibilityController.accessibleElementById("own1"); >- var axTarget1 = accessibilityController.accessibleElementById("target1"); >- shouldBeTrue("axTarget1.ariaOwnsElementAtIndex(0).isEqual(axOwn1)"); >- >- target2.ariaOwnsElements = [document.getElementsByClassName("own")[0]]; >- var wrapper = accessibilityController.accessibleElementById("wrapper"); >- var axOwn2 = wrapper.childAtIndex(0); >- var axTarget2 = accessibilityController.accessibleElementById("target2"); >- shouldBeTrue("axTarget2.ariaOwnsElementAtIndex(0).isEqual(axOwn2)"); >- target2.setAttribute("aria-owns", "own1"); >- shouldBeTrue("axTarget2.ariaOwnsElementAtIndex(0).isEqual(axOwn1)"); >- >- var axOwn3 = accessibilityController.accessibleElementById("own3"); >- var axInnerTarget = accessibilityController.accessibleElementById("innertarget"); >- shouldBeTrue("axInnerTarget.ariaOwnsElementAtIndex(0).isEqual(axOwn3)"); >- >- target2.ariaOwnsElements = [own1, document.getElementsByClassName("own")[0], own3]; >- shouldBeTrue("axTarget2.ariaOwnsElementAtIndex(0).isEqual(axOwn1)"); >- shouldBeTrue("axTarget2.ariaOwnsElementAtIndex(1).isEqual(axOwn2)"); >- shouldBeTrue("axTarget2.ariaOwnsElementAtIndex(2).isEqual(axOwn3)"); >- >- target4.ariaOwnsElements = [own4]; >- own4.id = "own4-new"; >- var axOwn4 = accessibilityController.accessibleElementById("own4-new"); >- var axTarget4 = accessibilityController.accessibleElementById("target4"); >- shouldBeTrue("axTarget4.ariaOwnsElementAtIndex(0).isEqual(axOwn4)"); >- >- var axOwn5 = accessibilityController.accessibleElementById("own5"); >- var axTarget5 = accessibilityController.accessibleElementById("target5"); >- shouldBeTrue("axTarget5.ariaOwnsElementAtIndex(0).isEqual(axOwn5)"); >- } >-</script> >diff --git a/LayoutTests/platform/mac-wk1/TestExpectations b/LayoutTests/platform/mac-wk1/TestExpectations >index cfa064b86b1b..2faab7f8a205 100644 >--- a/LayoutTests/platform/mac-wk1/TestExpectations >+++ b/LayoutTests/platform/mac-wk1/TestExpectations >@@ -1387,9 +1387,7 @@ accessibility/aria-current.html [ Skip ] > accessibility/aria-sort-changed-notification.html [ Skip ] > accessibility/aria-sort.html [ Skip ] > accessibility/mac/aria-details.html [ Skip ] >-accessibility/element-reflection-ariadetails.html [ Skip ] > accessibility/mac/aria-errormessage.html [ Skip ] >-accessibility/element-reflection-ariaerrormessage.html [ Skip ] > accessibility/mac/pseudo-element-text-markers.html [ Skip ] > accessibility/nested-textareas-value-changed-notifications.html [ Skip ] > accessibility/selected-state-changed-notifications.html [ Skip ] >diff --git a/LayoutTests/platform/win/TestExpectations b/LayoutTests/platform/win/TestExpectations >index b367faa77315..c363ae2497d4 100644 >--- a/LayoutTests/platform/win/TestExpectations >+++ b/LayoutTests/platform/win/TestExpectations >@@ -559,15 +559,6 @@ accessibility/ignored-textfield-still-accessible.html [ Skip ] > # Default ARIA for custom elements are not yet enabled > accessibility/custom-elements/ [ Skip ] > >-accessibility/element-reflection-ariaactivedescendant.html [ Skip ] >-accessibility/element-reflection-ariacontrols.html [ Skip ] >-accessibility/element-reflection-ariadescribedby.html [ Skip ] >-accessibility/element-reflection-ariadetails.html [ Skip ] >-accessibility/element-reflection-ariaerrormessage.html [ Skip ] >-accessibility/element-reflection-ariaflowto.html [ Skip ] >-accessibility/element-reflection-arialabelledby.html [ Skip ] >-accessibility/element-reflection-ariaowns.html [ Skip ] >- > webkit.org/b/245301 fast/custom-elements/reactions-for-aria-element-attributes.html [ Failure ] > > # TODO Conic gradients
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 245762
: 462666