Re: [shadow-dom] ::before/after on shadow hosts

2015-07-03 Thread 河内 隆仁
Oops, found that you were already there :) https://code.google.com/p/chromium/issues/detail?id=393490#c15 On Fri, Jul 3, 2015 at 2:49 PM, Takayoshi Kochi (河内 隆仁) ko...@google.com wrote: Sorry for coming late, but - crbug.com/393490 Before and After pseudo elements don't work in ShadowRoots

Re: [shadow-dom] ::before/after on shadow hosts

2015-07-02 Thread 河内 隆仁
Sorry for coming late, but - crbug.com/393490 Before and After pseudo elements don't work in ShadowRoots (with :host styles) - crbug.com/393509 :host()::before or :host()::after should work have the relevant discussion about the current implementation in Blink (#2). On Thu, Jul 2, 2015 at 1:16

Re: [shadow-dom] ::before/after on shadow hosts

2015-07-01 Thread Tab Atkins Jr.
All right, sounds pretty unanimous that #2 (current behavior) is what we should go with. I'll clarify the Scoping spec. Thanks! ~TJ

Re: [shadow-dom] ::before/after on shadow hosts

2015-06-30 Thread Erik Isaksen
#2 for sure On Tue, Jun 30, 2015, 4:52 PM Tab Atkins Jr. jackalm...@gmail.com wrote: I was recently pointed to this StackOverflow thread http://stackoverflow.com/questions/31094454/does-the-shadow-dom-replace-before-and-after/ which asks what happens to ::before and ::after on shadow

Re: [shadow-dom] ::before/after on shadow hosts

2015-06-30 Thread Olli Pettay
On 07/01/2015 02:48 AM, Tab Atkins Jr. wrote: I was recently pointed to this StackOverflow thread http://stackoverflow.com/questions/31094454/does-the-shadow-dom-replace-before-and-after/ which asks what happens to ::before and ::after on shadow hosts, as it's not clear from the specs. I had to

Re: [shadow-dom] ::before/after on shadow hosts

2015-06-30 Thread Hayato Ito
::before and ::after are basically *siblings* of the shadow host, That's not a correct sentence. ::before and ::after shouldn't be a siblings of the shadow host. I just wanted to say that #2 is the desired behavior. On Wed, Jul 1, 2015 at 1:01 PM Hayato Ito hay...@chromium.org wrote: The

Re: [shadow-dom] ::before/after on shadow hosts

2015-06-30 Thread Elliott Sprehn
On Wed, Jul 1, 2015 at 12:08 AM, Hayato Ito hay...@chromium.org wrote: ::before and ::after are basically *siblings* of the shadow host, That's not a correct sentence. ::before and ::after shouldn't be a siblings of the shadow host. I just wanted to say that #2 is the desired behavior.

Re: [shadow-dom] ::before/after on shadow hosts

2015-06-30 Thread Hayato Ito
The spec [1] also says: ::before Represents a styleable child pseudo-element immediately before the originating element’s actual content. ::after Represents a styleable child pseudo-element immediately before the originating element’s actual content. It sounds to me that ::before and ::after

Re: [shadow-dom] ::before/after on shadow hosts

2015-06-30 Thread Hayato Ito
Yeah, ::before and ::after should be added as the children of the shadow host in the composed tree, as a *pseudo* first child and a *pseudo* last child. On Wed, Jul 1, 2015 at 1:15 PM Elliott Sprehn espr...@chromium.org wrote: On Wed, Jul 1, 2015 at 12:08 AM, Hayato Ito hay...@chromium.org