W3C home > Mailing lists > Public > www-style@w3.org > October 2012

Re: [css4-background] More relaxed box-shadow grammar

From: Lev Solntsev <greli@mail.ru>
Date: Tue, 16 Oct 2012 23:24:10 +0400
To: www-style@w3.org
Message-ID: <op.wmadikgt39dhqv@lev-pc>
Tab Atkins Jr. <jackalmage@gmail.com> wrote Tue, 16 Oct 2012 22:25:21  
+0400:

> [skipped]
>
> We *could* allow you to omit the second length, but it doesn't seem to
> be worth very much.  How often is a shadow just projected up/down?
> Potentially more useful is to assume that, if the second length is
> omitted, it's *the same* as the first length.  That's a much more
> common case in my experience.

Also it will be consistent with other properties which propagate existing
length to omitted values, like margin and padding.
Received on Tuesday, 16 October 2012 19:24:38 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:20 UTC