- From: Takayoshi Kochi <notifications@github.com>
- Date: Wed, 24 Feb 2016 04:09:18 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 24 February 2016 12:09:46 UTC
Re `:focus` matching, it should be recursive. e.g. in the following example, `div#host1:focus` should match when either `input#outer` or `input#inner` is focused. Of course `div#host2:focus` only matches when `input#inner` is focused. ```html <div#host1> <:shadow> <div#host2> <:shadow> <input#inner> </:shadow> <input#outer> </:shadow> </div> ``` Because a slot is not focusable, I don't think identical mechanism is necessary, but regarding to `:focus` matching I think it depends on the result of how we treat focus in slot for `.activeElement` (#358). --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/126#issuecomment-188223517
Received on Wednesday, 24 February 2016 12:09:46 UTC