Web Inspector: it is nearly impossible to select and copy text on the Elements panel.
authorapavlov@chromium.org <apavlov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Feb 2012 19:17:40 +0000 (19:17 +0000)
committerapavlov@chromium.org <apavlov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Feb 2012 19:17:40 +0000 (19:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=60814

Reviewed by Pavel Feldman.

* inspector/front-end/inspector.js:
(WebInspector.documentClick.followLink):
(WebInspector.documentClick):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108374 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/inspector.js

index a47bd2a..4724c87 100644 (file)
@@ -1,3 +1,14 @@
+2012-02-21  Alexander Pavlov  <apavlov@chromium.org>
+
+        Web Inspector: it is nearly impossible to select and copy text on the Elements panel.
+        https://bugs.webkit.org/show_bug.cgi?id=60814
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/inspector.js:
+        (WebInspector.documentClick.followLink):
+        (WebInspector.documentClick):
+
 2012-02-21  Abhishek Arya  <inferno@chromium.org>
 
         Crash in RenderTableSection::nodeAtPoint.
index 1766233..05fa8e2 100644 (file)
@@ -557,7 +557,7 @@ WebInspector.documentClick = function(event)
 
     function followLink()
     {
-        if (WebInspector._showAnchorLocation(anchor))
+        if (WebInspector.isInEditMode(event) || WebInspector._showAnchorLocation(anchor))
             return;
 
         const profileMatch = WebInspector.ProfileType.URLRegExp.exec(anchor.href);