Subj : Re: Serializing Object Graphs To : Eric Brueggemann From : Brendan Eich Date : Mon Apr 07 2003 05:36 pm Eric Brueggemann wrote: >The rough idea is to provide an "undo" mechanism for the user of a >browser. Whereas the usual browser history navigates at an HTTP >request granularity, the undo would provide navigation between >different state snapshots of the same document. > >Since the document creator's intentions are unknown beforehand, I'd >have to handle the worst case... > >Any ideas other than serialization are certainly welcome as well. > Why would you want to use serialization for a "DOM undo" mechanism? Undo is easily implemented using a log of invertible operations. Mozilla's editor has multi-level undo. But maybe you're not using Gecko? /be .