Open Bug 625255 Opened 14 years ago Updated 2 years ago

split nsHyperTextAccessible::GetChildOffset(PRUint32 aChildIndex, PRBool aInvalidateAfter) on getter and invalidator/getter

Categories

(Core :: Disability Access APIs, defect)

defect

Tracking

()

People

(Reporter: surkov, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: [bk1])

Attachments

(1 file)

Still to do. Probably low priority.
Whiteboard: [bk1]
Attached patch Proposed patchSplinter Review
Here is my proposed patch.
Attachment #571970 - Flags: review?(surkov.alexander)
Attachment #571970 - Flags: review?(eitan)
Comment on attachment 571970 [details] [diff] [review]
Proposed patch

Review of attachment 571970 [details] [diff] [review]:
-----------------------------------------------------------------

::: accessible/src/html/nsHyperTextAccessible.cpp
@@ +2161,4 @@
>    return true;
>  }
>  
> +

Nitpick: needless newline.
Attachment #571970 - Flags: review?(eitan) → review+
Comment on attachment 571970 [details] [diff] [review]
Proposed patch

this doesn't fix the problem actually, you still have confusing methods. Maybe you could rename them into GetChildOffsetAndInvalidate(nsAccessible* aAcc, bool aDoInvalidate = true) and provide short versions like GetChildOffset. While you're here please consider to keep naming as ChildOffsetAt or ChildOffsetFor which is more reasonable in english.
Attachment #571970 - Flags: review?(surkov.alexander) → review-
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: