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

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/title-ui-element-correctness-expected.txt

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt 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 unified diff | Download patch
OLDNEW
1 This tests that titleUIElement works correctly even when things change dynamical ly. 1 This tests that titleUIElement works correctly even when things change dynamical ly.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS axElement('control1').deprecatedTitleUIElement().isEqual(axElement('label1' )) is true 6 PASS axElement('control1').nameElementAtIndex(0).isEqual(axElement('label1')) is true
7 PASS axElement('control2').deprecatedTitleUIElement().isEqual(axElement('label2' )) is true 7 PASS axElement('control2').nameElementAtIndex(0).isEqual(axElement('label2')) is true
8 PASS hasTitleUIElement(axElement('control3')) is false 8 PASS hasTitleUIElement(axElement('control3')) is false
9 PASS document.getElementById('label3').setAttribute('for', 'control3'); axElemen t('control3').deprecatedTitleUIElement().isEqual(axElement('label3')) is true 9 PASS document.getElementById('label3').setAttribute('for', 'control3'); axElemen t('control3').nameElementAtIndex(0).isEqual(axElement('label3')) is true
10 PASS var label4Element = createLabelWithIdAndForAttribute('label4', 'control4'); hasTitleUIElement(axElement('control4')) is false 10 PASS var label4Element = createLabelWithIdAndForAttribute('label4', 'control4'); hasTitleUIElement(axElement('control4')) is false
11 PASS document.getElementById('container').appendChild(label4Element); hasTitleUI Element(axElement('control4')) is true 11 PASS document.getElementById('container').appendChild(label4Element); hasTitleUI Element(axElement('control4')) is true
12 PASS axElement('control4').deprecatedTitleUIElement().isEqual(axElement('label4' )) is true 12 PASS axElement('control4').nameElementAtIndex(0).isEqual(axElement('label4')) is true
13 PASS label4Element.parentElement.removeChild(label4Element); hasTitleUIElement(a xElement('control4')) is false 13 PASS label4Element.parentElement.removeChild(label4Element); hasTitleUIElement(a xElement('control4')) is false
14 PASS hasTitleUIElement(axElement('control5')) is false 14 PASS hasTitleUIElement(axElement('control5')) is false
15 PASS reparentNodeIntoContainer(document.getElementById('control5'), document.get ElementById('label5')); axElement('control5').deprecatedTitleUIElement() != null is true 15 PASS reparentNodeIntoContainer(document.getElementById('control5'), document.get ElementById('label5')); axElement('control5').nameElementAtIndex(0) != null is t rue
16 PASS axElement('control5').deprecatedTitleUIElement().isEqual(axElement('label5' )) is true 16 PASS axElement('control5').nameElementAtIndex(0).isEqual(axElement('label5')) is true
17 PASS axElement('control6').deprecatedTitleUIElement().isEqual(axElement('label6b ')) is true 17 PASS axElement('control6').nameElementAtIndex(0).isEqual(axElement('label6b')) i s true
18 PASS newLabel6Element = createLabelWithIdAndForAttribute('label6a', 'control6'); document.body.insertBefore(newLabel6Element, document.body.firstChild); axEleme nt('control6').deprecatedTitleUIElement().isEqual(axElement('label6a')) is true 18 PASS newLabel6Element = createLabelWithIdAndForAttribute('label6a', 'control6'); document.body.insertBefore(newLabel6Element, document.body.firstChild); axEleme nt('control6').nameElementAtIndex(0).isEqual(axElement('label6a')) is true
19 PASS document.body.removeChild(newLabel6Element); axElement('control6').deprecat edTitleUIElement().isEqual(axElement('label6b')) is true 19 PASS document.body.removeChild(newLabel6Element); axElement('control6').nameElem entAtIndex(0).isEqual(axElement('label6b')) is true
20 PASS successfullyParsed is true 20 PASS successfullyParsed is true
21 21
22 TEST COMPLETE 22 TEST COMPLETE
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698