haikuwebkit/LayoutTests/accessibility/gtk/text-for-range-extraneous-w...

13 lines
295 B
Plaintext
Raw Permalink Normal View History

AX: [ATK] Convert the get_text atktest.c unit tests to layout tests https://bugs.webkit.org/show_bug.cgi?id=125497 Reviewed by Mario Sanchez Prada. Source/WebKit/gtk: * tests/testatk.c: Remove the portions of the remaining tests which now exist as layout tests. (testWebkitAtkCaretOffsets): (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces): (testWebkitAtkComboBox): (testWebkitAtkEmbeddedObjects): (testWebkitAtkTextSelections): (testWebkitAtkListsOfItems): (main): Tools: * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp: (AccessibilityUIElement::stringForRange): Implemented. * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: (WTR::AccessibilityUIElement::stringForRange): Implemented. LayoutTests: * platform/gtk/accessibility/text-for-range-combo-box-expected.txt: Added. * platform/gtk/accessibility/text-for-range-combo-box.html: Added. * platform/gtk/accessibility/text-for-range-embedded-objects-expected.txt: Added. * platform/gtk/accessibility/text-for-range-embedded-objects.html: Added. * platform/gtk/accessibility/text-for-range-entry-and-password-expected.txt: Added. * platform/gtk/accessibility/text-for-range-entry-and-password.html: Added. * platform/gtk/accessibility/text-for-range-extraneous-whitespace-expected.txt: Added. * platform/gtk/accessibility/text-for-range-extraneous-whitespace.html: Added. * platform/gtk/accessibility/text-for-range-formatted-expected.txt: Added. * platform/gtk/accessibility/text-for-range-formatted.html: Added. * platform/gtk/accessibility/text-for-range-heading-expected.txt: Added. * platform/gtk/accessibility/text-for-range-heading.html: Added. * platform/gtk/accessibility/text-for-range-list-items-expected.txt: Added. * platform/gtk/accessibility/text-for-range-list-items.html: Added. * platform/gtk/accessibility/text-for-range-simple-expected.txt: Added. * platform/gtk/accessibility/text-for-range-simple.html: Added. * platform/gtk/accessibility/text-for-range-table-cells-expected.txt: Added. * platform/gtk/accessibility/text-for-range-table-cells.html: Added. * platform/gtk/accessibility/text-for-range-with-link-expected.txt: Added. * platform/gtk/accessibility/text-for-range-with-link.html: Added. * platform/gtk/accessibility/text-for-table-expected.txt: Added. * platform/gtk/accessibility/text-for-table.html: Added. Canonical link: https://commits.webkit.org/143572@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@160365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2013-12-10 15:44:30 +00:00
This paragraph is borked!
This tests the ability to get element text for a specified range.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS paragraph.stringForRange(0, 25) is 'This paragraph is borked!'
PASS successfullyParsed is true
TEST COMPLETE