Bug 131079

Summary: Move focus management API from HTMLDocument to Document
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebCore Misc.Assignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, ddkilzer, esprehn+autocc, gyuyoung.kim, kangil.han, kondapallykalyan, rniwa, timothy
Priority: P2 Keywords: BlinkMergeCandidate, InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch and layout test timothy: review+

Daniel Bates
Reported 2014-04-01 16:44:07 PDT
We should move hasFocus() and attribute activeElement from interface HTMLDocument to DOMDocument as per section Focus management APIs of the HTML5 standard: <http://www.whatwg.org/specs/web-apps/current-work/#focus-management-apis> (1 April 2014). Then hasFocus() and attribute activeElement can be used within an XML document.
Attachments
Patch and layout test (15.94 KB, patch)
2014-04-01 16:54 PDT, Daniel Bates
timothy: review+
Daniel Bates
Comment 2 2014-04-01 16:44:27 PDT
Daniel Bates
Comment 3 2014-04-01 16:54:51 PDT
Created attachment 228339 [details] Patch and layout test
WebKit Commit Bot
Comment 4 2014-04-01 16:57:38 PDT
Please wait for approval from timothy@apple.com (or another member of the Apple Safari Team) before submitting because this patch contains changes to the Apple Mac WebKit.framework public API.
Daniel Bates
Comment 5 2014-04-01 16:59:36 PDT
I used the patch for <https://bugs.webkit.org/show_bug.cgi?id=67651> as example of moving a versioned public API from derived interface to its base interface. Let me know if we should handle this differently.
Daniel Bates
Comment 6 2014-04-02 14:40:57 PDT
Note You need to log in before you can comment on or make changes to this bug.