Bug 11294

Summary: Add getModifierState method to KeyboardEvent
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch
none
patch 2 mitz: review+

Description Sam Weinig 2006-10-14 14:04:04 PDT
The DOM3 events spec (http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/events.html#Events-KeyboardEvent) includes a getModifierState method that currently we only implement in the Objective-C bindings.  We should implement in KeyboardEvent instead so that it can be used for all the bindings.
Comment 1 Sam Weinig 2006-10-14 15:34:09 PDT
Created attachment 11090 [details]
patch

Moves functionality down from Objective-C DOM file DOMEvents.mm to KeyboardEvent class.
Comment 2 Sam Weinig 2006-10-15 14:25:40 PDT
Created attachment 11100 [details]
patch 2

Updated based on conversation with mitz in IRC.
Comment 3 mitz 2006-10-15 14:29:07 PDT
Comment on attachment 11100 [details]
patch 2

r=me
Comment 4 Sam Weinig 2006-10-15 15:29:01 PDT
Landed in r17064.