Changeset 52397 in webkit


Ignore:
Timestamp:
Dec 19, 2009 6:32:29 PM (14 years ago)
Author:
mitz@apple.com
Message:

REGRESSION: Up/down arrow keys do not step numeric CSS property values
https://bugs.webkit.org/show_bug.cgi?id=32776

Reviewed by Darin Adler.

  • inspector/front-end/inspector.js:

(WebInspector.documentKeyDown): Call the focused element’s
handleKeyEvent method.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r52395 r52397  
     12009-12-19  Dan Bernstein  <mitz@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        REGRESSION: Up/down arrow keys do not step numeric CSS property values
     6        https://bugs.webkit.org/show_bug.cgi?id=32776
     7
     8        * inspector/front-end/inspector.js:
     9        (WebInspector.documentKeyDown): Call the focused element’s
     10        handleKeyEvent method.
     11
    1122009-12-19  Dirk Schulze  <krit@webkit.org>
    213
  • trunk/WebCore/inspector/front-end/inspector.js

    r52253 r52397  
    631631WebInspector.documentKeyDown = function(event)
    632632{
     633    if (this.currentFocusElement && this.currentFocusElement.handleKeyEvent) {
     634        this.currentFocusElement.handleKeyEvent(event);
     635        if (event.handled) {
     636            event.preventDefault();
     637            return;
     638        }
     639    }
     640
    633641    if (this.currentPanel && this.currentPanel.handleShortcut) {
    634642        this.currentPanel.handleShortcut(event);
Note: See TracChangeset for help on using the changeset viewer.