Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html

Issue 1435113003: Make use of new AX name calc in Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix issue with ariaTextAlternative Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html
diff --git a/third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html b/third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html
index c5528fdc482059ac0c89df233977eaff14e3f1f2..054bb7095187ce4ab417c8e5b1484ef350470839 100644
--- a/third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html
+++ b/third_party/WebKit/LayoutTests/accessibility/inline-text-changes.html
@@ -26,9 +26,9 @@
shouldBe("axStaticText.childrenCount", "2");
window.axInlineBefore0 = axStaticText.childAtIndex(0);
- shouldBe("axInlineBefore0.stringValue", "'AXValue: This paragraph contains '");
+ shouldBe("axInlineBefore0.name", "'This paragraph contains '");
window.axInlineBefore1 = axStaticText.childAtIndex(1);
- shouldBe("axInlineBefore1.stringValue", "'AXValue: two lines of text.'");
+ shouldBe("axInlineBefore1.name", "'two lines of text.'");
// Modify the text.
document.getElementById("p").innerText += ' One more sentence.';
@@ -38,14 +38,14 @@
// Make sure the inline text boxes changed.
shouldBe("axStaticText.childrenCount", "3");
window.axInlineAfter0 = axStaticText.childAtIndex(0);
- shouldBe("axInlineAfter0.stringValue", "'AXValue: This paragraph contains '");
+ shouldBe("axInlineAfter0.name", "'This paragraph contains '");
window.axInlineAfter1 = axStaticText.childAtIndex(1);
- shouldBe("axInlineAfter1.stringValue", "'AXValue: two lines of text. One '");
+ shouldBe("axInlineAfter1.name", "'two lines of text. One '");
window.axInlineAfter2 = axStaticText.childAtIndex(2);
- shouldBe("axInlineAfter2.stringValue", "'AXValue: more sentence.'");
+ shouldBe("axInlineAfter2.name", "'more sentence.'");
// Make sure the old object pointing to the second text box is no longer valid.
- shouldBe("axInlineBefore1.stringValue", "'AXValue: '");
+ shouldBe("axInlineBefore1.name", "''");
finishJSTest();
});
}

Powered by Google App Engine
This is Rietveld 408576698