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

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

Issue 1086753004: Switch LayoutTests to use renamed methods for deprecated text alternatives (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Re-add linux expectation Created 5 years, 6 months 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').titleUIElement().isEqual(axElement('label1')) is true 6 PASS axElement('control1').deprecatedTitleUIElement().isEqual(axElement('label1' )) is true
7 PASS axElement('control2').titleUIElement().isEqual(axElement('label2')) is true 7 PASS axElement('control2').deprecatedTitleUIElement().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').titleUIElement().isEqual(axElement('label3')) is true 9 PASS document.getElementById('label3').setAttribute('for', 'control3'); axElemen t('control3').deprecatedTitleUIElement().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').titleUIElement().isEqual(axElement('label4')) is true 12 PASS axElement('control4').deprecatedTitleUIElement().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').titleUIElement() != null is true 15 PASS reparentNodeIntoContainer(document.getElementById('control5'), document.get ElementById('label5')); axElement('control5').deprecatedTitleUIElement() != null is true
16 PASS axElement('control5').titleUIElement().isEqual(axElement('label5')) is true 16 PASS axElement('control5').deprecatedTitleUIElement().isEqual(axElement('label5' )) is true
17 PASS axElement('control6').titleUIElement().isEqual(axElement('label6b')) is tru e 17 PASS axElement('control6').deprecatedTitleUIElement().isEqual(axElement('label6b ')) is true
18 PASS newLabel6Element = createLabelWithIdAndForAttribute('label6a', 'control6'); document.body.insertBefore(newLabel6Element, document.body.firstChild); axEleme nt('control6').titleUIElement().isEqual(axElement('label6a')) is true 18 PASS newLabel6Element = createLabelWithIdAndForAttribute('label6a', 'control6'); document.body.insertBefore(newLabel6Element, document.body.firstChild); axEleme nt('control6').deprecatedTitleUIElement().isEqual(axElement('label6a')) is true
19 PASS document.body.removeChild(newLabel6Element); axElement('control6').titleUIE lement().isEqual(axElement('label6b')) is true 19 PASS document.body.removeChild(newLabel6Element); axElement('control6').deprecat edTitleUIElement().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
« no previous file with comments | « LayoutTests/accessibility/title-ui-element-correctness.html ('k') | LayoutTests/accessibility/whitespace-in-name-calc.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698