Change ::cue(foo) to ::cue foo (was: Re: [webcomponents]: Shadow DOM + CSS = <3 Meeting Summary)

-public-webapps
+public-texttracks

context:  
http://www.w3.org/mid/CAAWBYDAuoHeP2bLC-78bmqw_dnQyD0mpWWWwBXa-1uya0AXxzg@mail.gmail.com

On Tue, 25 Jun 2013 19:30:29 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

>> So it can contain commas...
>
> Yes.  Note that this is the :host() pseudo-class, and will stay
> functional.  (Just making sure you're not accidentally conflating it
> with ::content, down below.)

Ah. I missed that.


>> There's also ::cue().
>>
>> I don't understand how this idiom is supposed to work when you have a  
>> list
>> of selectors as argument. Consider:
>>
>> video::cue(b, i) { background:lime }
>>
>> If it's changed to
>>
>> video::cue b, i { background:lime }
>>
>> then that looks like there are two selectors, "video::cue b" and "i".
>
> Just use the existing CSS tools for indicating choice within a selector:
>
> video::cue :matches(b, i) {...}

OK. So should we change ::cue(foo) to ::cue foo?

-- 
Simon Pieters
Opera Software

Received on Tuesday, 25 June 2013 17:38:01 UTC