Closed
Bug 346906
Opened 18 years ago
Closed 18 years ago
Hypertext::getLinkIndex return value is one off
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: parente, Assigned: aaronlev)
References
Details
(Keywords: access)
Attachments
(2 files, 1 obsolete file)
2.75 KB,
patch
|
nian.liu
:
review+
|
Details | Diff | Splinter Review |
937 bytes,
patch
|
parente
:
review+
|
Details | Diff | Splinter Review |
The value returned by getLinkIndex appears to be off by one.
1) Visit http://www.mozilla.org/access/unix/new-atk.html
2) Inspect the html container accessible using at-poke or a similar tool.
3) Notice the first four characters in its accessible text are embed characters.
4) Call Hypertext::getLinkIndex(0) for the first embed character.
5) Note that the at-spi return value is -1. The correct result should be 0.
4) Call Hypertext::getLinkIndex(1) for the second embed character.
6) Note that the at-spi return value is 0. The correct result should be 1.
The complete result of using getLinkIndex for the first four embed characters and the first non-embed character is the following:
char offset: 0 link index: -1
char offset: 1 link index: 0
char offset: 2 link index: 1
char offset: 3 link index: 2
char offset: 4 link index: -1
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #231787 -
Flags: review?(nian.liu)
Assignee | ||
Comment 2•18 years ago
|
||
Attachment #231787 -
Attachment is obsolete: true
Attachment #231788 -
Flags: review?(nian.liu)
Attachment #231787 -
Flags: review?(nian.liu)
Updated•18 years ago
|
Attachment #231788 -
Flags: review?(nian.liu) → review+
Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•18 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 3•18 years ago
|
||
Attachment #232718 -
Flags: review?(pilgrim)
Assignee | ||
Updated•18 years ago
|
Attachment #232718 -
Flags: review?(pilgrim) → review?(parente)
Attachment #232718 -
Flags: review?(parente) → review+
Assignee | ||
Updated•18 years ago
|
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•