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: jforrester+veteambztick...@wikimedia.org
          Reporter: tpars...@wikimedia.org
                CC: jforres...@wikimedia.org, krinklem...@gmail.com,
                    roan.katt...@gmail.com, ryasm...@wikimedia.org,
                    tpars...@wikimedia.org
       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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to