- From: Takayoshi Kochi <notifications@github.com>
- Date: Thu, 25 Aug 2016 23:07:32 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Friday, 26 August 2016 06:08:25 UTC
We already have overloaded meaning for "tabindex" attribute (determine tab order, and making the element focusable), I'm reluctant to add another meaning of "making it match for `:focus` when `delegatesFocus=true` shadow root is attached and inner element has focus". IMHO we can do either * Preserve the current behavior as is * Remove the recursive `:focus` matching completely, and make the `:focus` only match to the element which has real focus In the latter case, you lose the ability to make `<input type="date">`-compatible `<date-input>`, and the component user loses the ability to style by `:focus { ... }` equally for native elements and custom elements. On the other hand you can make sure only one element in a shadow-including document matches `:focus` rule. -- 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-242638388
Received on Friday, 26 August 2016 06:08:25 UTC