- From: Takayoshi Kochi <notifications@github.com>
- Date: Tue, 30 Aug 2016 23:07:51 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 31 August 2016 06:08:24 UTC
UA stylesheet's `:focus { ... }` can be overridable in either way: >From outside: `your-element:focus { outline: none }` >From inside shadow: `:host(:focus) { outline: none }` (UA stylesheet is the least precedence in [cascading order](https://drafts.csswg.org/css-cascade/#cascading)) So either a component user or a component author can specify the expected behavior for the component outline style. When a component specifies the style for its host's outline, a user can still override from outside. `outline` property doesn't inherit, which is good because these rules above can specifically target an element, and it does not affect other descendants accidentally. I think it's okay to close the issue. -- 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-243667607
Received on Wednesday, 31 August 2016 06:08:24 UTC