- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 14 Apr 2015 13:00:43 -0700
- To: Florian Rivoal <florian@rivoal.net>
- Cc: Glen Huang <curvedmark@gmail.com>, www-style list <www-style@w3.org>
On Tue, Apr 14, 2015 at 9:21 AM, Florian Rivoal <florian@rivoal.net> wrote: >> On 13 Apr 2015, at 04:14, Glen Huang <curvedmark@gmail.com> wrote: >> The spec didn't say if this is possible: >> >> @custom-media --foo (width < 10em); >> @custom-media --bar (--foo); >> >> And what happens when there are circular references: >> >> @custom-media --foo (--foo); >> @custom-media --bar (--baz); >> @custom-media --baz (--bar); >> >> I hope reusing custom media queries is possible, and circular references evaluate to false. > > I agree with you that the spec isn't very clear about this. > > I almost agree with you. Rather than false, I think custom MQs > with circular references should not be defined at all. I've updated > the spec accordingly. Yup, that's the right behavior. Thanks for defining it. ~TJ
Received on Tuesday, 14 April 2015 20:01:31 UTC