Closed Bug 629394 Opened 14 years ago Closed 14 years ago

add hypertext downcasting

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b11

People

(Reporter: surkov, Assigned: surkov)

References

Details

(Keywords: access, perf)

Attachments

(3 files)

No description provided.
Attachment #507486 - Flags: superreview?(neil)
Attachment #507486 - Flags: review?(fherrera)
Attachment #507486 - Flags: approval2.0?
Attachment #507487 - Flags: superreview?(neil)
Attachment #507487 - Flags: review?(fherrera)
Attachment #507487 - Flags: approval2.0?
Alexander I haven't look yet, but what is your risk assessment for these patches? We're really tightening up now.
I didn't changed MSAA part (CAccessible) because these classes aren't nsAccessible. Saving this for the future.
Attachment #507489 - Flags: review?(fherrera)
Attachment #507489 - Flags: approval2.0?
(In reply to comment #2) > Alexander I haven't look yet, but what is your risk assessment for these > patches? We're really tightening up now. I bet you will before a+ :) No risk. I just need a quick way to downcast accessibles for the future work where it may be a bottleneck (lot of simple operations).
(In reply to comment #4) > (In reply to comment #2) > > Alexander I haven't look yet > I bet you will before a+ You can count on it :)
(In reply to comment #4) > I just need a quick way to downcast > accessibles for the future work Blocker work?
Attachment #507486 - Flags: superreview?(neil) → superreview+
Comment on attachment 507487 [details] [diff] [review] part2v1: add AsHyperText method >+ /** >+ * Flags describing the accessible itself. >+ */ >+ enum AccessibleTypes { >+ eHyperTextAccessible = 1 << 2 Is this near enough the children flag that makes it obvious why it starts at 2?
Attachment #507487 - Flags: superreview?(neil) → superreview+
(In reply to comment #6) > (In reply to comment #4) > > I just need a quick way to downcast > > accessibles for the future work > > Blocker work? for deeply related softblocker, that trimmed offset crash, for short relation not blocker - cache rendered text on a11y side. Nowdays I don't know what is blocker for a11y, I just work on a fix for bug 625653.
(In reply to comment #7) > >+ enum AccessibleTypes { > >+ eHyperTextAccessible = 1 << 2 > Is this near enough the children flag that makes it obvious why it starts at 2? I'll add a comment these flags should be in sync with ChildrenFlags. Thanks!
Comment on attachment 507489 [details] [diff] [review] patch3v1: replace do_QueryObject on AsHyperText Did do_QueryObject offer more protection than checking 'mFlags & eHyperTextAccessible' provides?
(In reply to comment #10) > Did do_QueryObject offer more protection than checking 'mFlags & > eHyperTextAccessible' provides? in what means, sorry?
Attachment #507486 - Flags: review?(fherrera) → review+
(In reply to comment #11) > (In reply to comment #10) > > > Did do_QueryObject offer more protection than checking 'mFlags & > > eHyperTextAccessible' provides? > > in what means, sorry? Actually I think my answer is no :) (no worries)
Attachment #507487 - Flags: review?(fherrera) → review+
Attachment #507489 - Flags: review?(fherrera) → review+
Attachment #507486 - Flags: approval2.0? → approval2.0+
Attachment #507487 - Flags: approval2.0? → approval2.0+
Attachment #507489 - Flags: approval2.0? → approval2.0+
patch1v1: turn children flags into generic flags - http://hg.mozilla.org/mozilla-central/rev/307d7ab0729f part2v1: add AsHyperText method - http://hg.mozilla.org/mozilla-central/rev/523d042cda97 patch3v1: replace do_QueryObject on AsHyperText - http://hg.mozilla.org/mozilla-central/rev/c85650001fa9 landed on 2.0 beta11
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b11
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: