[Webkit-unassigned] [Bug 31667] Web Inspector: Changes View / Drawer
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 20 11:17:57 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31667
Paul Bakaus <paul.bakaus at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |paul.bakaus at gmail.com
--- Comment #2 from Paul Bakaus <paul.bakaus at gmail.com> 2009-11-20 11:17:57 PST ---
I love the idea of this functionality and I like the history idea as well. For
inspiration, have a look at the branched history functionality of the "e"
texteditor at http://www.e-texteditor.com.
I think really the most tricky part is the actual diffing. The problem is that
running scripts have the ability to change the markup and CSS of the page. So
in the most lazy implementation, the user hits save and gets all the script
generated garbage into his export/file. So a couple thing we need to do:
1) Keep track of the initial, unchanged state
2) Optional: Log all subsequent changes into the new history (using
DOMAttrChanged or something)
3) Optional: Offer an option to do a diff including script changes (easy!)
3) Normal export/save would ignore script changes, therefore tries to diff only
if the user has changed DOM nodes and/or CSS that were already there at launch
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list