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)
Created attachment 376241 [details]
Attachment 376241 [details] did not pass style-queue:
ERROR: Source/WebCore/dom/Element.cpp:2837: 'newTarget' is incorrectly named. It should be named 'protectedThis'. [readability/naming/protected] 
Total errors found: 1 in 30 files
If any of these errors are false positives, please file a bug against check-webkit-style.