Closed
Bug 1303040
Opened 7 years ago
Closed 7 years ago
Implement shared header for two ProxyAccessible classes
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: michael.li11702, Assigned: michael.li11702)
References
Details
Attachments
(1 file)
19.66 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
MozReview-Commit-ID: XDVNySUTx
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8791615 -
Flags: review?(tbsaunde+mozbugs)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → mili
Comment 2•7 years ago
|
||
Comment on attachment 8791615 [details] [diff] [review] Implement shared header for two ProxyAccessible classes >+ >+// XXX checking mRole alone may not result in same behavior as Accessibles >+// due to ARIA roles. See bug 1210477. >+inline bool IsTable() const >+{ >+ return mRole == roles::TABLE || mRole == roles::MATHML_TABLE; >+} >+inline bool IsTableRow() const >+{ >+ return (mRole == roles::ROW || >+ mRole == roles::MATHML_TABLE_ROW || >+ mRole == roles::MATHML_LABELED_ROW); >+} >+inline bool IsTableCell() const >+{ >+ return (mRole == roles::CELL || >+ mRole == roles::COLUMNHEADER || >+ mRole == roles::ROWHEADER || >+ mRole == roles::GRID_CELL || >+ mRole == roles::MATHML_CELL); >+} I think these might as well go in ProxyAccessibleBase.h but this is fine for now I guess.
Attachment #8791615 -
Flags: review?(tbsaunde+mozbugs) → review+
Pushed by yura.zenevich@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/1b3724de5184 implement shared header for two ProxyAccessible classes. r=tbsaunde
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1b3724de5184
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox52:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•