Bug 112119

Summary: Web Inspector: [Elements] Unable to undo "Edit as HTML" changes in the editor
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Alexander Pavlov (apavlov) 2013-03-12 02:22:07 PDT
What steps will reproduce the problem?
1. Open Web Inspector on any page
2. In Elements, drag-and-drop any element to change its position in the DOM
3. Right click any element, "Edit as HTML". Optionally, type in some text.
4. Try Ctrl + Z to undo text change.

What is the expected result?
Text entry is undone to restore the original HTML.

What happens instead?
Element DnD is undone.

Upstreaming https://code.google.com/p/chromium/issues/detail?id=181157
Comment 1 Alexander Pavlov (apavlov) 2013-03-12 02:56:27 PDT
Created attachment 192688 [details]
Patch
Comment 2 WebKit Review Bot 2013-03-12 05:25:52 PDT
Comment on attachment 192688 [details]
Patch

Clearing flags on attachment: 192688

Committed r145531: <http://trac.webkit.org/changeset/145531>
Comment 3 WebKit Review Bot 2013-03-12 05:25:55 PDT
All reviewed patches have been landed.  Closing bug.