https://bugzilla.wikimedia.org/show_bug.cgi?id=62174
Bug ID: 62174
Summary: Use MutationObserver to detect when an OO.ui.Element
is attached to a document
Product: VisualEditor
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Technical Debt
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
I3fd1e46459215773b0df137a603d788a81bbd8fb adds code which binds to a
DOMNodeInsertedIntoDocument event. That event is deprecated, and will stop
working at some point. Supposedly MutationObserver is being added as a part of
DOM4 as a replacement. So far, it doesn't appear the
DOMNodeInsertedIntoDocument was considered in the design of MutationObserver,
but hopefully we can come up with a working solution we can integrate into
OO.ui.Element for general use.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l