Re: [css3-conditional] @supports API

On Mon, Oct 10, 2011 at 11:55 AM, L. David Baron <dbaron@dbaron.org> wrote:

> On Monday 2011-10-10 19:33 +0100, Peter Beverloo wrote:
>
...

> > window.supportsStyle('width', '1fr');
> >
> > Neither would not support checking multiple property-value pairs at once,
> > but it reduces complexity significantly.
>
> Agreed; I think I like the second form better.  Support for handling
> 'or', 'and', and 'not' isn't needed for JS callers, since JS has
> those already.
>

Yeah, second form is better. More JS-y and since multiple prop/value pairs
arent allowed (alternate OR syntax thread), its clearer to just handle these
things without mixing language syntaxes.

Received on Monday, 10 October 2011 22:35:21 UTC