Web Inspector: preserve elements panel selection upon node drag'n'drop
authorpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Feb 2012 09:28:00 +0000 (09:28 +0000)
committerpfeldman@chromium.org <pfeldman@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Feb 2012 09:28:00 +0000 (09:28 +0000)
commit91900c75d29288342e0fc2d43f4b737d9660e178
tree9fb6844088c5c4b49243ce0c2ca114a0e1ee2700
parentb8e75eb02a8c4c88f735ab5bd5c54f39505b1c9a
Web Inspector: preserve elements panel selection upon node drag'n'drop
https://bugs.webkit.org/show_bug.cgi?id=77722

Reviewed by Vsevolod Vlasov.

Source/WebCore:

Test: inspector/elements/move-node.html

* inspector/front-end/DOMAgent.js:
(WebInspector.DOMAgent.prototype._markRevision):
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype._ondrop):
(WebInspector.ElementsTreeOutline.prototype._doMove.callback):
(WebInspector.ElementsTreeOutline.prototype._doMove):

LayoutTests:

* inspector/elements/move-node-expected.txt: Added.
* inspector/elements/move-node.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@106638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/elements/edit-dom-actions-expected.txt
LayoutTests/inspector/elements/move-node-expected.txt [new file with mode: 0644]
LayoutTests/inspector/elements/move-node.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/DOMAgent.js
Source/WebCore/inspector/front-end/ElementsTreeOutline.js