Title: [119719] trunk/Source/WebCore
- Revision
- 119719
- Author
- [email protected]
- Date
- 2012-06-07 07:17:14 -0700 (Thu, 07 Jun 2012)
Log Message
Web Inspector: Consider Ctrl+Shift+key as valid zoom change combinations
https://bugs.webkit.org/show_bug.cgi?id=88520
Reviewed by Vsevolod Vlasov.
* inspector/front-end/inspector.js:
(WebInspector.documentKeyDown):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (119718 => 119719)
--- trunk/Source/WebCore/ChangeLog 2012-06-07 14:00:41 UTC (rev 119718)
+++ trunk/Source/WebCore/ChangeLog 2012-06-07 14:17:14 UTC (rev 119719)
@@ -1,3 +1,13 @@
+2012-06-07 Alexander Pavlov <[email protected]>
+
+ Web Inspector: Consider Ctrl+Shift+key as valid zoom change combinations
+ https://bugs.webkit.org/show_bug.cgi?id=88520
+
+ Reviewed by Vsevolod Vlasov.
+
+ * inspector/front-end/inspector.js:
+ (WebInspector.documentKeyDown):
+
2012-06-07 Arvid Nilsson <[email protected]>
[BlackBerry] Allow WebPageCompositor to blend a transparent web page
Modified: trunk/Source/WebCore/inspector/front-end/inspector.js (119718 => 119719)
--- trunk/Source/WebCore/inspector/front-end/inspector.js 2012-06-07 14:00:41 UTC (rev 119718)
+++ trunk/Source/WebCore/inspector/front-end/inspector.js 2012-06-07 14:17:14 UTC (rev 119719)
@@ -754,7 +754,6 @@
}
var isValidZoomShortcut = WebInspector.KeyboardShortcut.eventHasCtrlOrMeta(event) &&
- !event.shiftKey &&
!event.altKey &&
!InspectorFrontendHost.isStub;
switch (event.keyCode) {
@@ -773,7 +772,8 @@
}
break;
case 48: // 0
- if (isValidZoomShortcut) {
+ // Zoom reset shortcut does not allow "Shift" when handled by the browser.
+ if (isValidZoomShortcut && !event.shiftKey) {
WebInspector._resetZoom();
event.consume(true);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes