Title: [132794] trunk/Source/WebCore
- Revision
- 132794
- Author
- [email protected]
- Date
- 2012-10-29 06:52:23 -0700 (Mon, 29 Oct 2012)
Log Message
Web Inspector: Drag and drop a URL in inspector is not working as expected
https://bugs.webkit.org/show_bug.cgi?id=100527
Reviewed by Yury Semikhatsky.
Inhibit custom dragstart handling when the active element is A.
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeOutline.prototype._ondragstart):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (132793 => 132794)
--- trunk/Source/WebCore/ChangeLog 2012-10-29 13:29:33 UTC (rev 132793)
+++ trunk/Source/WebCore/ChangeLog 2012-10-29 13:52:23 UTC (rev 132794)
@@ -1,3 +1,15 @@
+2012-10-29 Alexander Pavlov <[email protected]>
+
+ Web Inspector: Drag and drop a URL in inspector is not working as expected
+ https://bugs.webkit.org/show_bug.cgi?id=100527
+
+ Reviewed by Yury Semikhatsky.
+
+ Inhibit custom dragstart handling when the active element is A.
+
+ * inspector/front-end/ElementsTreeOutline.js:
+ (WebInspector.ElementsTreeOutline.prototype._ondragstart):
+
2012-10-29 Mike West <[email protected]>
Web Inspector: Error/warning count is one pixel off.
Modified: trunk/Source/WebCore/inspector/front-end/ElementsTreeOutline.js (132793 => 132794)
--- trunk/Source/WebCore/inspector/front-end/ElementsTreeOutline.js 2012-10-29 13:29:33 UTC (rev 132793)
+++ trunk/Source/WebCore/inspector/front-end/ElementsTreeOutline.js 2012-10-29 13:52:23 UTC (rev 132794)
@@ -361,6 +361,8 @@
{
if (!window.getSelection().isCollapsed)
return false;
+ if (event.target.nodeName === "A")
+ return false;
var treeElement = this._treeElementFromEvent(event);
if (!treeElement)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes