Bug 140438 - AX: [ATK] Mark accessibility/render-counter-text.html as a suitable test for EFL and GTK.
Summary: AX: [ATK] Mark accessibility/render-counter-text.html as a suitable test for ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-01-14 04:47 PST by Andrzej Badowski
Modified: 2015-01-15 04:20 PST (History)
3 users (show)

See Also:


Attachments
proosed patch (4.30 KB, patch)
2015-01-14 05:04 PST, Andrzej Badowski
cfleizach: review+
Details | Formatted Diff | Diff
proposed patch 2 to commit (4.31 KB, patch)
2015-01-14 09:41 PST, Andrzej Badowski
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrzej Badowski 2015-01-14 04:47:10 PST
The test shows the text contents of <li> element with counter inside <ol> using three childAtIndex().stringValue methods.
In the case of ATK childAtIndex(0) returns a non-empty object, but it is not the ATK_OBJECT, so the stringValue produces an empty string.
To avoid this, the text content is obtained by direct reading of stringValue of <li> AccessibilityUIElement which is ATK_TEXT.
Comment 1 Radar WebKit Bug Importer 2015-01-14 04:47:24 PST
<rdar://problem/19469728>
Comment 2 Andrzej Badowski 2015-01-14 05:04:47 PST
Created attachment 244597 [details]
proosed patch
Comment 3 chris fleizach 2015-01-14 09:05:59 PST
Comment on attachment 244597 [details]
proosed patch

View in context: https://bugs.webkit.org/attachment.cgi?id=244597&action=review

> LayoutTests/ChangeLog:8
> +        The test shows the text contents of <li> element with counter inside <ol> using three childAtIndex().stringValue methods.

of "the" <li>
with "the" counter inside
Comment 4 Andrzej Badowski 2015-01-14 09:41:29 PST
Created attachment 244609 [details]
proposed patch 2 to commit
Comment 5 WebKit Commit Bot 2015-01-15 04:20:46 PST
Comment on attachment 244609 [details]
proposed patch 2 to commit

Clearing flags on attachment: 244609

Committed r178508: <http://trac.webkit.org/changeset/178508>
Comment 6 WebKit Commit Bot 2015-01-15 04:20:55 PST
All reviewed patches have been landed.  Closing bug.