detect change to offsetTop of span or div element
dedalus <[email protected]> Tue, 17 Jan 2012 13:54:33 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <049e0d10-3a60-46ba-8035-f31c25fc0a12__17175.0542395332$1326837678$gmane$org@iu7g2000pbc.googlegroups.com> |
I need to keep the top of a footnote span (or div) positioned to a specific line in a multi-column layout, so that if the height of the footnote changes, the span can be moved up or down to that line, enabling the content after the footnote to flow to the next column. Is there any event which would detect when an inline span, or a div, has its offsetTop position in the document change as a result of any editing operation (via keyboard or mouse). I'm thinking some kind of mutation event or something in xpcom.