- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 4 Nov 2011 09:38:07 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: "www-style@w3.org" <www-style@w3.org>
On Thu, Nov 3, 2011 at 11:54 PM, fantasai <fantasai.lists@inkedblade.net> wrote: > The radial-gradient() spec defines 'cover' as an alias for 'farthest-corner' > and 'contain' as an alias for 'closest-side'. > > We generally try to avoid aliases in CSS, why do we have these here and > can we remove one of the pairs? Blame my youthful naivete. I originally created the closest/farthest keywords, and then thought that reusing bg-size's cover/contain keywords would be more intuitive, so I had them both. I know I've seen usage of both forms in the wild. ~TJ
Received on Friday, 4 November 2011 16:39:03 UTC