Bug 166484 - Add the support for ShadowRoot.delegateFocus
Summary: Add the support for ShadowRoot.delegateFocus
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Macintosh macOS 10.12
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Blocks: 148695
  Show dependency treegraph
Reported: 2016-12-26 14:17 PST by Damiaan Dufaux
Modified: 2016-12-27 22:56 PST (History)
3 users (show)

See Also:

A web page to reproduce the problem (565 bytes, text/html)
2016-12-26 14:17 PST, Damiaan Dufaux
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damiaan Dufaux 2016-12-26 14:17:13 PST
Created attachment 297772 [details]
A web page to reproduce the problem

Overview: As specified in the shadow dom specification (http://w3c.github.io/webcomponents/spec/shadow/#focus): "A shadow host can delegate focus to its shadow root by assigning a boolean delegatesFocus flag to be true in ShadowRootInit dictionary". But this feature is not working.

Steps to Reproduce:
 - open the attached file (delegateFocus.html) in the latest nightly build
 - click on the text "Hello world"

Actual Results: nothing happens

Expected Results: The input field should receive focus.

Build date: December 20, 2016 5:14 PM GMT
Platform: macOS Sierra 10.12.2 (16C67)
Comment 1 Radar WebKit Bug Importer 2016-12-27 15:39:54 PST