31
edits
Tschneider (talk | contribs) (Update) |
Tschneider (talk | contribs) (Add missing header) |
||
| Line 34: | Line 34: | ||
<big>'''Unlinking steps:'''</big> | <big>'''Unlinking steps:'''</big> | ||
<big>'''Linking steps:'''</big> | |||
''DOMIntersectionObserver::unobserve(Element& aTarget)'' removes aTarget from ''DOMIntersectionObserver::mObservationTargets'' and calls ''Element::UnregisterIntersectionObsever'' on ''aTarget''. If aTarget is the last item in ''DOMIntersectionObserver::mObservationTargets'', ''nsDocument::RemoveIntersectionObserver'' is called and the observer gets removed from ''nsDocument::mIntersectionObservers''. | ''DOMIntersectionObserver::unobserve(Element& aTarget)'' removes aTarget from ''DOMIntersectionObserver::mObservationTargets'' and calls ''Element::UnregisterIntersectionObsever'' on ''aTarget''. If aTarget is the last item in ''DOMIntersectionObserver::mObservationTargets'', ''nsDocument::RemoveIntersectionObserver'' is called and the observer gets removed from ''nsDocument::mIntersectionObservers''. | ||
edits