Closed
Bug 1250506
Opened 8 years ago
Closed 8 years ago
check if node is acceptable as a child before creating an accessible for it
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: surkov, Assigned: surkov)
Details
Attachments
(1 file)
10.85 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #8722506 -
Flags: review?(dbolter)
Comment 1•8 years ago
|
||
Comment on attachment 8722506 [details] [diff] [review] patch Review of attachment 8722506 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/base/nsCoreUtils.cpp @@ +687,5 @@ > obsService->NotifyObservers(event, NS_ACCESSIBLE_EVENT_TOPIC, nullptr); > } > + > +void > +nsCoreUtils::XBLBindingRole(const nsIContent* aEl, nsAString& aRole) nit: I'd prefer aContent over aEl. ::: accessible/xul/XULFormControlAccessible.cpp @@ +173,5 @@ > > // XXX: no children until the button is menu button. Probably it's not > // totally correct but in general AT wants to have leaf buttons. > + > + nsAutoString role; nit: extraneous line space
Attachment #8722506 -
Flags: review?(dbolter) → review+
Assignee | ||
Comment 2•8 years ago
|
||
(In reply to David Bolter [:davidb] from comment #1) > > +void > > +nsCoreUtils::XBLBindingRole(const nsIContent* aEl, nsAString& aRole) > > nit: I'd prefer aContent over aEl. I would keep aEl because this is a DOM element (bindings are not applied to text nodes), it would make more sense to fix type here rather sync names.
Comment 3•8 years ago
|
||
(In reply to alexander :surkov from comment #2) > (In reply to David Bolter [:davidb] from comment #1) > > > > +void > > > +nsCoreUtils::XBLBindingRole(const nsIContent* aEl, nsAString& aRole) > > > > nit: I'd prefer aContent over aEl. > > I would keep aEl because this is a DOM element (bindings are not applied to > text nodes), it would make more sense to fix type here rather sync names. I see, thanks. I'll leave that up to you.
Assignee | ||
Comment 4•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=88b3f983796d
Assignee | ||
Comment 5•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8842a853d8f3f8c8756544a233d3583243142688 Bug 1250506 - check if node is acceptable as a child before creating an accessible for it, r=davidb
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8842a853d8f3
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
Updated•8 years ago
|
Assignee: nobody → surkov.alexander
You need to log in
before you can comment on or make changes to this bug.
Description
•