- From: Rune Lillesveen <rune@opera.com>
- Date: Fri, 01 Mar 2013 18:38:04 +0100
- To: "Simon Sapin" <simon.sapin@exyr.org>, "www-style list" <www-style@w3.org>
On Fri, 01 Mar 2013 17:29:05 +0100, Simon Sapin <simon.sapin@exyr.org>
wrote:
> Le 01/03/2013 17:08, Rune Lillesveen a écrit :
>> currently both <number> and <percentage> values are allowed for the
>> various zoom descriptors in @viewport. A long time ago, an issue was
>> raised about this ("Issue 4: Should both numbers and percentages be
>> allowed?"). According to the complaint there is no tradition in CSS for
>> having two different ways of expressing the same value.
>
> Well, font-size and line-height both accept percentages that do the same
> as the em unit. Obviously we can’t change these now, but *maybe* this is
> a not pattern we want to repeat with new features?
I don't know.
>> Looking at various other specs I'm leaning towards keeping <percentage>
>> and drop <number> for zoom values. Opinions?
>
> <percentage> for zoom sounds good, but this is not a strong opinion.
>
> 'opacity' does uses <number> where <percentage> would also make sense,
> but again, maybe it’s an exception.
A point in favor of allowing <number>s is that authors are used to that
from <meta name="viewport">.
--
Rune Lillesveen
Received on Friday, 1 March 2013 17:38:36 UTC