Closed
Bug 1293443
Opened 8 years ago
Closed 8 years ago
Coalesce show/hide pairs for the same child node
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
INVALID
People
(Reporter: michael.li11702, Assigned: michael.li11702)
References
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Details |
If a child node gets shown and then hidden after, like when it is a text node that gets moved to be the child of another node before the document has completely loaded, then the show and hide events for the child under the original parent are unnecessary and will cause assertions; the child will be shown with the new parent anyway.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → mili
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8779081 [details] Bug 1293443: Coalesce show/hide pairs for the same child node https://reviewboard.mozilla.org/r/70124/#review67652 ::: accessible/base/EventTree.cpp:453 (Diff revision 1) > +#ifdef A11Y_LOG > + logging::MsgBegin("EVENTS_TREE", "coalescing show/hide pair"); > + logging::AccessibleInfo("removing show/hide pair for", ev->GetAccessible()); > + logging::MsgEnd(); > +#endif > + mDependentEvents.RemoveElementAt(idx); it's not that easy as a previous hide event may keep text change event from the coalescing hide event. Also this is n^2 processing, that'd be a perf killer, if we don't keep the numbers low. Is it something must or nice to have? how does it lead to the assertions?
Comment 3•8 years ago
|
||
Comment on attachment 8779081 [details] Bug 1293443: Coalesce show/hide pairs for the same child node cancelling review for now
Attachment #8779081 -
Flags: review?(surkov.alexander)
Assignee | ||
Comment 4•8 years ago
|
||
Closing since we didn't go with this approach.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•