Closed
Bug 467139
Opened 16 years ago
Closed 16 years ago
NameFromSubtree rule should be based on role
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
(1 file)
41.38 KB,
patch
|
aaronlev
:
review+
MarcoZ
:
review+
davidb
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
This is the part of the bug 455886. Here ARIA nameFromSubtree rules will be dropped and all explicit calls of GetHTML/XULName that are used to point whether we should get the name from subtree or not will be dropped also.
Assignee | ||
Comment 1•16 years ago
|
||
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #350556 -
Flags: superreview?(neil)
Attachment #350556 -
Flags: review?(aaronleventhal)
Assignee | ||
Updated•16 years ago
|
Attachment #350556 -
Flags: review?(marco.zehe)
Assignee | ||
Updated•16 years ago
|
Attachment #350556 -
Flags: review?(david.bolter)
Updated•16 years ago
|
Attachment #350556 -
Flags: superreview?(neil) → superreview+
Comment 2•16 years ago
|
||
Comment on attachment 350556 [details] [diff] [review] patch I was just curious as to how moving this flag to a separate array improves the code.
Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #2) > (From update of attachment 350556 [details] [diff] [review]) > I was just curious as to how moving this flag to a separate array improves the > code. In the meantime this flag is applied for ARIA accessibles only. I extend its usage to all accessibles.
Comment 4•16 years ago
|
||
Comment on attachment 350556 [details] [diff] [review] patch Tests pass, tree comparison of google.com, mozilla.org and my blog don't show any difference, and while surfing with a build containing this patch, also didn't find any difference so far. r=me.
Attachment #350556 -
Flags: review?(marco.zehe) → review+
Updated•16 years ago
|
Attachment #350556 -
Flags: review?(david.bolter) → review+
Comment 5•16 years ago
|
||
Comment on attachment 350556 [details] [diff] [review] patch Nice work. I agree the name finding shouldn't be ARIA specific. Regarding the removal of the GetNameInternal overrides, I think this is logically correct, but I'm unsure of the perf cost since the base class does some extra work. Do we have profile tests?
Assignee | ||
Comment 6•16 years ago
|
||
(In reply to comment #5) > (From update of attachment 350556 [details] [diff] [review]) > Nice work. I agree the name finding shouldn't be ARIA specific. Regarding the > removal of the GetNameInternal overrides, I think this is logically correct, > but I'm unsure of the perf cost since the base class does some extra work. David, what kind of extra work? Do you mean checking the HTML namespace? That's the difference between what was and what is.
Assignee | ||
Comment 7•16 years ago
|
||
(In reply to comment #6) > David, what kind of extra work? Do you mean checking the HTML namespace? And sometimes XUL of course.
Updated•16 years ago
|
Attachment #350556 -
Flags: review?(aaronleventhal) → review+
Comment 8•16 years ago
|
||
David, the perf hit of getting the role is pretty low. This patch is fine.
Assignee | ||
Updated•16 years ago
|
Attachment #350556 -
Flags: approval1.9.1?
Comment 9•16 years ago
|
||
(In reply to comment #4) > (From update of attachment 350556 [details] [diff] [review]) > Tests pass, tree comparison of google.com, mozilla.org and my blog don't show > any difference, and while surfing with a build containing this patch, also > didn't find any difference so far. r=me. Did you do your tree comparison with Speclenium? What about the suite of ARIA tests the Eitan put into that? The patch looks harmless, but I want to be sure we keep ARIA right. It would be good to check out the prefs dialog a bit as well.
Assignee | ||
Comment 10•16 years ago
|
||
(In reply to comment #9) > (In reply to comment #4) > > (From update of attachment 350556 [details] [diff] [review] [details]) > > Tests pass, tree comparison of google.com, mozilla.org and my blog don't show > > any difference, and while surfing with a build containing this patch, also > > didn't find any difference so far. r=me. > > Did you do your tree comparison with Speclenium? I'm sure Marco did this exactly.
Comment 11•16 years ago
|
||
(In reply to comment #2) > (From update of attachment 350556 [details] [diff] [review]) > I was just curious as to how moving this flag to a separate array improves the > code. Neil, it will allow us to fix the dependent bug, where we should not walk into container widgets when using name from subtree rule. We don't want it to walk into any container widget in the subtree, whether ARIA or not.
Comment 12•16 years ago
|
||
(In reply to comment #8) > David, the perf hit of getting the role is pretty low. This patch is fine. Yup ok.
Assignee | ||
Comment 13•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/45104f550b52
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•16 years ago
|
Attachment #350556 -
Flags: approval1.9.1?
You need to log in
before you can comment on or make changes to this bug.
Description
•