Bug 36266

Summary: Fire Focus Event type: focusin events
Product: WebKit Reporter: Andy Estes <aestes>
Component: WebCore JavaScriptAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, simon.fraser, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Patch
none
Patch sam: review+

Andy Estes
Reported 2010-03-17 19:51:21 PDT
2010-03-17 17:46:22 Andy Estes: Safari fails the following test: http://samples.msdn.microsoft.com/ietestcenter/domevents/domevents_harness.htm?url=./focusin.html. Safari does not fire focus events when registered for using the name 'focusin'. This is a valid event name as defined by the W3C DOM Level 3 Events Working Draft at http://www.w3.org/TR/DOM-Level-3-Events/. Safari does implement the 'DOMFocusIn' event, which appears to serve the same purpose. <rdar://problem/7765952>
Attachments
Patch (5.61 KB, patch)
2010-03-19 11:49 PDT, Dave Hyatt
no flags
Patch (16.08 KB, patch)
2010-03-22 12:28 PDT, Dave Hyatt
sam: review+
Dave Hyatt
Comment 1 2010-03-19 11:49:09 PDT
Simon Fraser (smfr)
Comment 2 2010-03-19 11:51:56 PDT
Comment on attachment 51176 [details] Patch r=me
Dave Hyatt
Comment 3 2010-03-19 12:42:47 PDT
Comment on attachment 51176 [details] Patch Clearing flag, since we need to support the old event names still. New patch is going to be much more complicated. :)
Dave Hyatt
Comment 4 2010-03-22 12:28:55 PDT
WebKit Review Bot
Comment 5 2010-03-22 12:32:29 PDT
Attachment 51329 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebCore/dom/Node.cpp:2726: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] WebCore/dom/Event.cpp:269: Boolean expressions that span multiple lines should have their operators on the left side of the line instead of the right side. [whitespace/operators] [4] Total errors found: 2 in 17 files If any of these errors are false positives, please file a bug against check-webkit-style.
Dave Hyatt
Comment 6 2010-03-23 10:53:19 PDT
Fixed in r56402.
Note You need to log in before you can comment on or make changes to this bug.