haikuwebkit/LayoutTests/accessibility/aria-checkbox-checked-expec...

22 lines
477 B
Plaintext
Raw Permalink Normal View History

2010-01-05 Dominic Mazzoni <dmazzoni@google.com> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=32571 Added a test to make sure that ARIA checkboxes correctly handle the aria-checked attribute. * accessibility/aria-checkbox-checked-expected.txt: Added. * accessibility/aria-checkbox-checked.html: Added. 2010-01-05 Dominic Mazzoni <dmazzoni@google.com> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=32571 For an object with an aria role of "checkbox" or "radiobutton", Use the "aria-checked" attribute to determine if it's checked. Test: accessibility/aria-checkbox-checked.html * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isChecked): 2010-01-05 Dominic Mazzoni <dmazzoni@google.com> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=32571 For an object with an aria role of "checkbox" or "radiobutton", use the "aria-checked" attribute to determine if it's checked. These changes add an isChecked() method to AccessibilityUIElement so that we can check for this property from a layout test. * DumpRenderTree/AccessibilityUIElement.cpp: (getIsCheckedCallback): (AccessibilityUIElement::getJSClass): * DumpRenderTree/AccessibilityUIElement.h: * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: (AccessibilityUIElement::isChecked): * DumpRenderTree/mac/AccessibilityUIElementMac.mm: (AccessibilityUIElement::isChecked): * DumpRenderTree/win/AccessibilityUIElementWin.cpp: (AccessibilityUIElement::isChecked): Canonical link: https://commits.webkit.org/44221@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@52809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-01-05 19:00:29 +00:00
X
X
2010-01-05 Dominic Mazzoni <dmazzoni@google.com> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=32571 Added a test to make sure that ARIA checkboxes correctly handle the aria-checked attribute. * accessibility/aria-checkbox-checked-expected.txt: Added. * accessibility/aria-checkbox-checked.html: Added. 2010-01-05 Dominic Mazzoni <dmazzoni@google.com> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=32571 For an object with an aria role of "checkbox" or "radiobutton", Use the "aria-checked" attribute to determine if it's checked. Test: accessibility/aria-checkbox-checked.html * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::isChecked): 2010-01-05 Dominic Mazzoni <dmazzoni@google.com> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=32571 For an object with an aria role of "checkbox" or "radiobutton", use the "aria-checked" attribute to determine if it's checked. These changes add an isChecked() method to AccessibilityUIElement so that we can check for this property from a layout test. * DumpRenderTree/AccessibilityUIElement.cpp: (getIsCheckedCallback): (AccessibilityUIElement::getJSClass): * DumpRenderTree/AccessibilityUIElement.h: * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: (AccessibilityUIElement::isChecked): * DumpRenderTree/mac/AccessibilityUIElementMac.mm: (AccessibilityUIElement::isChecked): * DumpRenderTree/win/AccessibilityUIElementWin.cpp: (AccessibilityUIElement::isChecked): Canonical link: https://commits.webkit.org/44221@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@52809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2010-01-05 19:00:29 +00:00
This tests that ARIA checkboxes correctly handle the aria-checked attribute.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS checkbox.isChecked is false
PASS checkbox.isChecked is true
PASS checkbox.isChecked is false
PASS checkbox.isChecked is true
PASS checkbox.isChecked is false
PASS checkbox.isChecked is true
PASS checkbox.isChecked is false
PASS checkbox.isChecked is true
PASS successfullyParsed is true
TEST COMPLETE