Closed
Bug 380038
Opened 19 years ago
Closed 19 years ago
add (un)selectRow/Column method for nsIAccessibleTable
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: surkov, Assigned: surkov)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
|
2.76 KB,
application/xhtml+xml
|
Details | |
|
15.85 KB,
patch
|
aaronlev
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
1) add the following method nsIAccessibleTable
selectRow/unselectRow/selectColumn/unselectColumn
2) implement fellow methods for IAccessibleTable
Attachment #264096 -
Flags: superreview?(roc)
Attachment #264096 -
Flags: review?(aaronleventhal)
| Assignee | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
Comment on attachment 264096 [details] [diff] [review]
patch
Couldn't we save a good amount of code by combining
SelectRowOrColum and UnselectRowOrColumn and just adding PRBool aSelect as an argument?
If you decide to do it please request r? again and I'll do it quickly.
Attachment #264096 -
Flags: review?(aaronleventhal) → review+
| Assignee | ||
Comment 3•19 years ago
|
||
with Aaron's comment. If you see how to improve this then I'm happy to do it. Just I have a bit soaping sight and probably I miss something.
Attachment #264096 -
Attachment is obsolete: true
Attachment #264114 -
Flags: superreview?(roc)
Attachment #264114 -
Flags: review?(aaronleventhal)
Attachment #264096 -
Flags: superreview?(roc)
Comment 4•19 years ago
|
||
Comment on attachment 264114 [details] [diff] [review]
patch2
Roc is more of an sr= for layout/view stuff. Switching sr= request to Neil.
Attachment #264114 -
Flags: superreview?(roc) → superreview?(neil)
Comment 5•19 years ago
|
||
Comment on attachment 264114 [details] [diff] [review]
patch2
Looks good to me.
Roc is more of an sr= for layout/view stuff. Switching sr= request to Neil.
Attachment #264114 -
Flags: review?(aaronleventhal) → review+
Comment 6•19 years ago
|
||
Comment on attachment 264114 [details] [diff] [review]
patch2
>+ PRInt32 column = doSelectRow ? index : aIndex;
Nit: two spaces between column and =
>+ nsresult rv = selection2->GetRangesForIntervalCOMArray(parent, offset,
>+ parent, offset,
I don't know this API but doesn't that represent an empty range?
| Assignee | ||
Comment 7•19 years ago
|
||
(In reply to comment #6)
> >+ nsresult rv = selection2->GetRangesForIntervalCOMArray(parent, offset,
> >+ parent, offset,
> I don't know this API but doesn't that represent an empty range?
>
No, third argument points that returned ranges may be greater than given start and end. And at least it works :)
Status: NEW → ASSIGNED
Comment 8•19 years ago
|
||
Comment on attachment 264114 [details] [diff] [review]
patch2
I see now, you're removing all ranges containing or contained by that cell.
Attachment #264114 -
Flags: superreview?(neil) → superreview+
Comment 9•19 years ago
|
||
(In reply to comment #8)
>(From update of attachment 264114 [details] [diff] [review])
>I see now, you're removing all ranges containing or contained by that cell.
No, in fact, only those ranges containing that cell.
| Assignee | ||
Comment 10•19 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•