Last modified: 2014-08-21 19:50:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T64174, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62174 - OOjs UI: Use MutationObserver to detect when an OO.ui.Element is attached to a document
OOjs UI: Use MutationObserver to detect when an OO.ui.Element is attached to ...
Status: ASSIGNED
Product: OOjs UI
Classification: Unclassified
Technical Debt (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-04 01:13 UTC by Trevor Parscal
Modified: 2014-08-21 19:50 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Trevor Parscal 2014-03-04 01:13:06 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links