Closed Bug 442862 Opened 17 years ago Closed 17 years ago

ext_state_multi_line and ext_state_single_line not exposed on HTML read-only textareas and textboxes.

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1a1

People

(Reporter: MarcoZ, Assigned: MarcoZ)

References

Details

(Keywords: access, regression)

Attachments

(1 file)

Found this while developing test for bug 442648. This was introduced in bug 372367, where nsHTMLTextFieldAccessible::GetState bails out as soon as it finds there is no valid state pointer or the states don't contain ext_state_editable.
Attached patch PatchSplinter Review
Move the test for extraStates containing nsIAccessibleStates::EXT_STATE_EDITABLE to a point after checking for and assigning nsIAccessibleStates::EXT_STATE_SINGLE_LINE or nsIAccessibleStates::EXT_STATE_MULTI_LINE. This makes sure that even read-only textboxes and textareas get their proper states set.
Attachment #327566 - Flags: review?(surkov.alexander)
Attachment #327566 - Flags: review?(surkov.alexander) → review+
in-testsuite+ per bug 442648.
Assignee: nobody → marco.zehe
Flags: in-testsuite+
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: