Title: [124469] trunk/Source/WebCore
- Revision
- 124469
- Author
- [email protected]
- Date
- 2012-08-02 09:36:56 -0700 (Thu, 02 Aug 2012)
Log Message
Web Inspector: [Regression] context menu does not open on Sources panel tabs on mac
https://bugs.webkit.org/show_bug.cgi?id=93000
Reviewed by Pavel Feldman.
* inspector/front-end/UIUtils.js:
(WebInspector._elementDragStart):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (124468 => 124469)
--- trunk/Source/WebCore/ChangeLog 2012-08-02 16:36:50 UTC (rev 124468)
+++ trunk/Source/WebCore/ChangeLog 2012-08-02 16:36:56 UTC (rev 124469)
@@ -1,3 +1,13 @@
+2012-08-02 Vsevolod Vlasov <[email protected]>
+
+ Web Inspector: [Regression] context menu does not open on Sources panel tabs on mac
+ https://bugs.webkit.org/show_bug.cgi?id=93000
+
+ Reviewed by Pavel Feldman.
+
+ * inspector/front-end/UIUtils.js:
+ (WebInspector._elementDragStart):
+
2012-08-02 Kwang Yul Seo <[email protected]>
Check if the last table element's parent node is an element when determining the foster parent element.
Modified: trunk/Source/WebCore/inspector/front-end/UIUtils.js (124468 => 124469)
--- trunk/Source/WebCore/inspector/front-end/UIUtils.js 2012-08-02 16:36:50 UTC (rev 124468)
+++ trunk/Source/WebCore/inspector/front-end/UIUtils.js 2012-08-02 16:36:56 UTC (rev 124469)
@@ -50,8 +50,8 @@
*/
WebInspector._elementDragStart = function(elementDragStart, elementDrag, elementDragEnd, cursor, event)
{
- // Only drag upon left button. Right will likely cause a context menu.
- if (event.button)
+ // Only drag upon left button. Right will likely cause a context menu. So will ctrl-click on mac.
+ if (event.button || (WebInspector.isMac() && event.ctrlKey))
return;
if (WebInspector._elementDraggingEventListener)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes