Re: [w3c/webcomponents] :focus behavior of delegatesFocus:true will be confusing for users (#554)

Thanks. I guess there are a lot of different opinions on this issue. We should be careful.

My understanding of this issue is that:

- In case of "delegatesFocus=false", which has been the default behavior for a long time,
  we do not have any special treatment for a shadow host, in terms of ":focus". It's just a parent (ancestor) *tag*. Nothing special.
  
  That means we should have the same behavior to what we have when we expanded a shadowhost-shadowtree to the flat tree.   

  Suppose if we have the following markup, 
```html
  <date-input>
    <input>
  </date-input>
  ````

 In this case, even if a child `<input>` is focused, `<date-input>` is never affected, in terms of ":focus".
    
- We introduced "delegatesFocus=true" because the previous behavior is not useful sometimes.
  


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/554#issuecomment-243026246

Received on Monday, 29 August 2016 03:47:43 UTC