Web Inspector: Editable TextViewer should show cursor when it is focused.
authorvsevik@chromium.org <vsevik@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Mar 2012 11:40:29 +0000 (11:40 +0000)
committervsevik@chromium.org <vsevik@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Mar 2012 11:40:29 +0000 (11:40 +0000)
commit1e40776793fb0568bba8ab8c1c87193ac661bd42
tree71dfeae44adebbba82580816a49a946d9deedeab
parente3378036aadb88410bda23ac7bac79879274fd17
Web Inspector: Editable TextViewer should show cursor when it is focused.
https://bugs.webkit.org/show_bug.cgi?id=82320

Reviewed by Pavel Feldman.

TextViewer now focuses editable inner container unless read-only flag is set.

* inspector/front-end/TextViewer.js:
(WebInspector.TextViewer.prototype.focus):
(WebInspector.TextEditorMainPanel):
(WebInspector.TextEditorMainPanel.prototype._handleElementFocus):
(WebInspector.TextEditorMainPanel.prototype.focus):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@112251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/TextViewer.js