Bug 140438

Summary: AX: [ATK] Mark accessibility/render-counter-text.html as a suitable test for EFL and GTK.
Product: WebKit Reporter: Andrzej Badowski <a.badowski>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, k.czech, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
proosed patch
cfleizach: review+
proposed patch 2 to commit none

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.