Closed Bug 418371 Opened 17 years ago Closed 17 years ago

implement the rest of methods of nsIAccessibleTable on xul:listbox

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: surkov, Assigned: surkov)

References

Details

Attachments

(1 file, 1 obsolete file)

implement the rest of methods of nsIAccessibleTable on xul:listbox
Depends on: 365973
Attached patch wip (obsolete) — Splinter Review
Attached patch patchSplinter Review
Attachment #306223 - Attachment is obsolete: true
Attachment #306262 - Flags: review?(Evan.Yan)
Status: NEW → ASSIGNED
Comment on attachment 306262 [details] [diff] [review]
patch

>+  nsCOMPtr<nsIDOMXULMultiSelectControlElement> control =
>+    do_QueryInterface(mDOMNode);
>+  NS_ASSERTION(control,
>+               "Doesn't implement nsIDOMXULMultiSelectControlElement.");

If it's a single selection list, could it still be QI to multiSelectContrlEl?

We can implement GetColumnHeader/GetRowHeader as well, and add testcases for <listheader>.
(In reply to comment #3)
> (From update of attachment 306262 [details] [diff] [review])
> >+  nsCOMPtr<nsIDOMXULMultiSelectControlElement> control =
> >+    do_QueryInterface(mDOMNode);
> >+  NS_ASSERTION(control,
> >+               "Doesn't implement nsIDOMXULMultiSelectControlElement.");
> 
> If it's a single selection list, could it still be QI to multiSelectContrlEl?

It's implemented by XBL, so it's exposed always.

> We can implement GetColumnHeader/GetRowHeader as well, and add testcases for
> <listheader>.
> 

It would require a lot additional code because header should implement nsIAccessibleTable like header of xul:tree does. I like to deal with this in another bug.
Attachment #306262 - Flags: review?(Evan.Yan) → review+
Attachment #306262 - Flags: approval1.9?
Comment on attachment 306262 [details] [diff] [review]
patch

a1.9=beltzner
Attachment #306262 - Flags: approval1.9? → approval1.9+
checked in

/cvsroot/mozilla/accessible/src/base/nsAccessibilityAtomList.h,v  <--  nsAccessibilityAtomList.h
new revision: 1.87; previous revision: 1.86
done
Checking in accessible/src/xul/nsXULSelectAccessible.cpp;
/cvsroot/mozilla/accessible/src/xul/nsXULSelectAccessible.cpp,v  <--  nsXULSelectAccessible.cpp
new revision: 1.56; previous revision: 1.55
done
Checking in accessible/tests/mochitest/Makefile.in;
/cvsroot/mozilla/accessible/tests/mochitest/Makefile.in,v  <--  Makefile.in
new revision: 1.6; previous revision: 1.5
done
RCS file: /cvsroot/mozilla/accessible/tests/mochitest/test_nsIAccessibleTable_listboxes.xul,v
done
Checking in accessible/tests/mochitest/test_nsIAccessibleTable_listboxes.xul;
/cvsroot/mozilla/accessible/tests/mochitest/test_nsIAccessibleTable_listboxes.xul,v  <--  test_nsIAccessibleTable_listboxes.xul
initial revision: 1.1
done

Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: