Multiple Decorators

2013-04-29 Thread Sam L'ecuyer
Hi, I noticed that there's not any clarification in the Decorations spec about applying multiple decorators to a single element. Example: .headline[access-type=premium] { decorator: url(#premium-decorator); } .headline[content-type=video] { decorator: url(#video-decorator); } h3 class

Re: Multiple Decorators

2013-04-29 Thread Tab Atkins Jr.
On Mon, Apr 29, 2013 at 1:07 PM, Sam L'ecuyer s...@cateches.is wrote: I noticed that there's not any clarification in the Decorations spec about applying multiple decorators to a single element. Example: .headline[access-type=premium] { decorator: url(#premium-decorator); } .headline

Re: Multiple Decorators

2013-04-29 Thread Sam L'ecuyer
Per standard CSS rules, the latter declaration would win in the cascade, and so only #video-decorator would be applied. If 'decorator' can apply multiple values, they have to be done in a single line, not across declarations like this. That's what I assumed. I was mostly trying to clarify