Web Inspector: "Add Attribute" context menu on closing tag should apply on the opening tag on Elements Panel
https://bugs.webkit.org/show_bug.cgi?id=104902

Reviewed by Alexander Pavlov.

The context menu action on the closing tag scrolls to the opening tag for adding the attribute.

No new tests as this is a UI change.

* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype._populateTagContextMenu):
(WebInspector.ElementsTreeElement.prototype._addNewAttribute):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed