Bug 42738

Summary: Web Inspector: need shortcuts to undo/redo CSS editing
Product: WebKit Reporter: ekamenskaya
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement CC: apavlov, bweinstein, joepeck, keishi, pfeldman, pmuellr, rik, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

ekamenskaya
Reported 2010-07-21 03:21:24 PDT
In Elements panel there should be context menu (and keyboard shortcuts) to undo and redo editing operations with CSS. This should update the page real-time. Modified page can be saved pressing “Save page as...” in a browser.
Attachments
Alexander Pavlov (apavlov)
Comment 1 2010-12-29 09:54:20 PST
Currently, a user can revert a standalone CSS file to any revision in the Resources panel (there are subentries with timestamps for the respective CSS file resource). The feature was implemented by pfeldmand@. CSS changes export is a separate bug.
Alexander Pavlov (apavlov)
Comment 2 2010-12-29 10:03:38 PST
As pfeldman@ suggests, we should implement shortcuts to undo/redo CSS style editing. However, there are some issues about it: 1. There is no input focus, so the user may get confused about what kind of action has been undone/redone. 2. DOM editing might also use undo/redo, in which case it is not clear if CSS and DOM changes should form a single undo/redo stack, and this certainly is going to confuse users who think one way or the other. 3. The undo/redo stack is going to be lost once the frontend is closed. This could be solved by using a localStore.
Alexander Pavlov (apavlov)
Comment 3 2012-04-02 05:06:54 PDT
Implemented by pfeldman@ in the global undo/redo support.
Note You need to log in before you can comment on or make changes to this bug.