Re: scrollIntoView for XML documents
"conor325" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <1112293157.071496.246850__10161.7399872795$1112293361$gmane$org@o13g2000cwo.googlegroups.com> |
And would it then make sense to go "the whole way" and support scrollIntoView for such mixed namespace documents too? Given that Mozilla supports CSS styling and XPath resolution for arbitrary XML already, add this and there is little or no reason to recompose XML into HTML for viewing. With this triple, a pointer to any place in an XML document is easy to render in a browser window. Boris Zbarsky wrote: > Martin Honnen wrote: > > Boris, if you are reading, would it be difficult the expose > > offsetLeft/Top/Parent on arbitrary XML elements rendered in a window or > > frame with Mozilla? > > That's an interesting question. Just exposing the property wouldn't be so bad > (create a new nsIDOMNSElement interface and put it there).