You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For attributes like list and form, we need to be notified when the element that the id is referring to changes.
Mozilla's case
nsIDocument::IDTargetObserver is a callback function.
nsIDocument::AddIDTargetObserver registers the callback to be called whenever the id target element content changes.
As of 07/06/2012 the callback is not called when the id target element itself has changed.