W3C home > Mailing lists > Public > www-style@w3.org > August 2016

Re: [css-text] animatibility of 'tab-size'

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 19 Aug 2016 16:48:08 -0700
Message-ID: <CAAWBYDB02tSgh4CgXO1HOQLMc9vU2k8bKQ6XhKXtD9agRbo=sQ@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style list <www-style@w3.org>
On Wed, Aug 17, 2016 at 7:00 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 10/27/2015 10:19 PM, Tab Atkins Jr. wrote:
>> On Fri, Oct 23, 2015 at 7:40 AM, L. David Baron <dbaron@dbaron.org> wrote:
>>> Currently css-text says that 'tab-size' is animatable as a length,
>>> but not as an integer.  This seems odd, given that it takes both
>>> length and integer values.  Is there a reason for this?
>>
>> No, looks like it should allow mixing the two.  You can't resolve
>> integers to <length>s at computed-value time, as it depends on the
>> font used, but you can certainly interpolate it with calc().
>
> This probably means we should convert <<integer>> to <<number>>, yes?

Yeah, probably best.  No reason not to, given that we can now do
arbitrarily-precise lengths.

Hm, we also need to amend V&U to allow number + unit when the number
is unit-compatible (and then define that the number is
length-compatible in line-height and tab-size).

~TJ
Received on Friday, 19 August 2016 23:48:57 UTC

This archive was generated by hypermail 2.3.1 : Friday, 19 August 2016 23:48:58 UTC