Re: Feedback and questions on shadow DOM and web components

2012-11-14 Thread Dimitri Glazkov
Yes! And by the way, I need to start work on an actual spec for this, as I mentioned here: http://lists.w3.org/Archives/Public/public-webapps/2012JulSep/0587.html :DG< On Tue, Nov 13, 2012 at 8:22 AM, Clayton Watts wrote: > Hello, Angelina, > > I'm certainly not the definitive source on the mat

Re: Feedback and questions on shadow DOM and web components

2012-11-14 Thread Clayton Watts
Hello, Angelina, I'm certainly not the definitive source on the matter, but I can respond somewhat to point 3: Performance. It is definitely the intent to allow concatenation of components into a single file. If you check out the accordion sample component in the Web-Components-Polyfill repo, you'

Re: Feedback and questions on shadow DOM and web components

2012-11-13 Thread Dimitri Glazkov
On Tue, Nov 13, 2012 at 7:48 PM, Angelina Fabbro wrote: > I was having an exchange with a gentleman named Tom Ashworth that made it's > way off list. > > What he had said to me in a previous message about @host: > > "@host { } is weird. As far as I can tell, nothing inside it will be applied > unl

Re: Feedback and questions on shadow DOM and web components

2012-11-13 Thread Dimitri Glazkov
On Mon, Nov 12, 2012 at 10:47 PM, Angelina Fabbro wrote: > Hello public-webapps, Hi Angelina! I really enjoyed your video. It was great. > 1. It looks like from the spec and the code in Glazkov's polyfill that if I > add and remove the 'is' attribute, the shadow tree should apply/unapply > itse

Re: Feedback and questions on shadow DOM and web components

2012-11-13 Thread Angelina Fabbro
I was having an exchange with a gentleman named Tom Ashworth that made it's way off list. What he had said to me in a previous message about @host: "@host { } is weird. As far as I can tell, nothing inside it will be applied unless the matched element is the shadow host. The spec says 'must only

Re: Feedback and questions on shadow DOM and web components

2012-11-13 Thread Mike Taylor
On 11/13/12 6:23 PM, Angelina Fabbro wrote: Good to know I can style the shadow DOM hosts this way. The message you're replying to never made it to the list. Can you re-post it for context? thanks, -- Mike Taylor Opera Software

Re: Feedback and questions on shadow DOM and web components

2012-11-13 Thread Angelina Fabbro
To answer Brian: 1. To recap: - A developer can dynamically add and remove individual custom elements to and from the parent document. - A developer cannot dynamically apply or unapply the 'is' attribute to have an element behave like a custom on the fly. Is this correct? Being able to take th

Re: Feedback and questions on shadow DOM and web components

2012-11-13 Thread Brian Kardell
Brian Kardell :: @bkardell :: hitchjs.com On Nov 13, 2012 9:34 AM, "Angelina Fabbro" wrote: > > Hello public-webapps, > > I'm Angelina, and I've been very interested in shadow DOM and web components for some time now. So much so that I've tried to teach people about them several times. There's a v

Re: Feedback and questions on shadow DOM and web components

2012-11-13 Thread Angelina Fabbro
No problem! I'm just poking away at this trying to learn more. No rush by any means.

Re: Feedback and questions on shadow DOM and web components

2012-11-13 Thread Angelina Fabbro
Angelina here again - Good to know I can style the shadow DOM hosts this way. Good for styling elements that are specifically affected by the shadow DOM magic. I can see that being important. So: @host { *[is="news"] { backg