- From: Nazar Mokrynskyi <notifications@github.com>
- Date: Mon, 01 Feb 2016 02:11:49 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 1 February 2016 10:12:28 UTC
I was thinking about another approach. It is a bit tricky to explain, but more flexible. What if we support Shadow Root creation on all elements, but with blocklist which contains elements that might not change their *internal structure*. What I mean is that for elements like `input` or `progress` we will be able to add Shadow Root and place some styling inside in order to create custom-looking `input[is]` or `progress[is]`, but eventually it will not affect how they are constructed in terms of current internal pseudo-elements (I mean `::-webkit-progress-bar`, `::-webkit-progress-value` and others). This is a bit tricky, but spec already contains similar tricks like self-closing HTML tags which are basically list of those special elements and everything else works by general rules. It would be really sad if styling postponed to v2 of this spec. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/110#issuecomment-177891131
Received on Monday, 1 February 2016 10:12:28 UTC