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

Re: [CSS3] background-position computed value.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 28 Nov 2012 14:33:16 -0800
Message-ID: <CAAWBYDBTYz-a6K58pjBDJ+YgSeJRh7gLsYiX=v+VjDiuRpHwfQ@mail.gmail.com>
To: Alexis Menard <alexis.menard@intel.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
On Wed, Nov 28, 2012 at 1:58 PM, Alexis Menard <alexis.menard@intel.com> wrote:
> Ok sorry about misusing the vocabulary. I believe you guys understood what I
> meant. So the shortest form for "left 30px top 40px" is 30px 40px and we
> should return it rather than "left 30px top 40px"? "left 30px center" should
> return 30px 50% rather than "left 30px top 50%"? If so I believe (I'm home
> so I don't have the test cases under hands) but it goes against what Opera
> already ship. From what I saw up to two values offsets they use the old
> behavior (same as WebKit and FF) and three or four values are constructed to
> match the new definition.

"Shortest form" is a rough principle.  Like I said, serialization is
*drastically* underdefined at the moment, and there are differences
between browsers.

~TJ
Received on Wednesday, 28 November 2012 22:34:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:03 GMT