Closed
Bug 1519955
Opened 6 years ago
Closed 6 years ago
Remove boxobject usage in accessibility
Categories
(Core :: XUL, enhancement, P3)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: enndeakin, Assigned: enndeakin)
References
Details
Attachments
(1 file)
10.24 KB,
patch
|
Jamie
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•6 years ago
|
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Attachment #9036407 -
Flags: review?(jteh)
Comment 1•6 years ago
|
||
Comment on attachment 9036407 [details] [diff] [review] Replace boxobjecct calls Review of attachment 9036407 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/xul/XULTreeGridAccessible.cpp @@ +413,5 @@ > + return nsIntRect(); > + } > + > + nsIFrame* bodyFrame = bodyElement->GetPrimaryFrame(); > + if (bodyFrame) { Can you explain why we don't return nsIntRect(); if (!bodyFrame) like we do in XULTreeItemAccessibleBase::BoundsInCSSPixels? I guess you could argue potentially unusable coords are better than no coords, but I'm confused by the difference here.
Assignee | ||
Comment 2•6 years ago
|
||
I probably wrote those two bits at different times. I think it should just return nsIntRect() in both cases as the tree is hidden when it has no frame. I will make that change.
Comment 3•6 years ago
|
||
Comment on attachment 9036407 [details] [diff] [review] Replace boxobjecct calls (In reply to Neil Deakin from comment #2) > I probably wrote those two bits at different times. I think it should just return nsIntRect() in both cases as the tree is hidden when it has no frame. I will make that change. Agreed. r+ with that change made.
Attachment #9036407 -
Flags: review?(jteh) → review+
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/1178c5fddda7 Don't use boxobject properties in accessibility, r=jteh
Comment 5•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in
before you can comment on or make changes to this bug.
Description
•