Patch to follow.
Created attachment 127376 [details] Patch
Comment on attachment 127376 [details] Patch Attachment 127376 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/11538148 New failing tests: inspector/elements/set-html-via-resource.html
Committed r107940: <http://trac.webkit.org/changeset/107940>
Comment on attachment 127376 [details] Patch Why?
(In reply to comment #4) > (From update of attachment 127376 [details]) > Why? Experiment was allowing free flow HTML editing from resources panel and was patching the DOM. It was also creating revisions of HTML document upon edits in the Elements panel. While it was working intuitively and well for static pages, I was struggling to make it work for highly dynamic pages (like inspector.html). Since it was editing DOM, not HTML, it was mixing the concepts and was suggesting that serialized DOM was a revision of the resource. The diff for such a revision was huge and non-helpful. I was also trying to toggle between ElementsTreeOutline and TextEditor in the ElementsPanel, so that free flow DOM editign took place where expected, but it needed tabbed interface (due to multiple iframes) and switching between the DOM and editors was non-intuitive (keeping them in sync was challenging).