Bug 133479

Summary: [ATK] accessibility/textarea-selected-text-range.html is failing
Product: WebKit Reporter: Mario Sanchez Prada <mario>
Component: AccessibilityAssignee: Mario Sanchez Prada <mario>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, jcraig, jdiggs, samuel_white, webkit-bug-importer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: Linux   
Attachments:
Description Flags
Patch proposal none

Mario Sanchez Prada
Reported 2014-06-03 08:48:37 PDT
This test is failing after r169483 because now atk_text_set_caret_offset() is use in AccessibilityUIElement::setSelectedTextRange() when length is zero, proving that the implementation of atk_text_set_caret_offset() is not correct (it should match atk_text_set_selection() for zero-length selections) Patch coming soon...
Attachments
Patch proposal (2.68 KB, patch)
2014-06-03 09:11 PDT, Mario Sanchez Prada
no flags
Mario Sanchez Prada
Comment 1 2014-06-03 09:11:11 PDT
Created attachment 232428 [details] Patch proposal There was indeed a problem in the implementation of atk_text_set_caret_offset, which was not controlling boundaries properly as atk_text_set_selection does. This patch just implements one function in terms of the other. Please review, thanks
WebKit Commit Bot
Comment 2 2014-06-03 14:38:30 PDT
Comment on attachment 232428 [details] Patch proposal Clearing flags on attachment: 232428 Committed r169572: <http://trac.webkit.org/changeset/169572>
WebKit Commit Bot
Comment 3 2014-06-03 14:38:33 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.