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

Re: [css3-values][css3-speech] dB & calc()

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 9 May 2016 09:18:25 -0700
Message-ID: <CAAWBYDCM8dxo8q5ZjhO98J-7qOfNBbnP0k8qH+L2m0rY_fFe8A@mail.gmail.com>
To: Yves Lafon <ylafon@w3.org>
Cc: www-style list <www-style@w3.org>
On Mon, May 9, 2016 at 9:04 AM, Yves Lafon <ylafon@w3.org> wrote:
> Hi,
> In CSS2015 [1], there is a link to css3-values and css3-speech
> In css3-speech, voice-volume defines a new unit, dB [2], and this
> to the following questions:
> Why isn’t dB in css3-values ?

Not all units go in V&U; we put things there when they're generally
applicable across specifications.  <volume> is currently only used in
one spot, so there hasn't been much call for it to be put in a more
general spec.

(This isn't a hard-and-fast rule; <frequency> is only used in one spot
too, but it was part of CSS 2.1 so we went ahead and put it into V&U.)

> Why calc() can’t apply to dB (as currently written in css3-values)
> Is 0 an acceptable value for 0dB like for other units ?
> Thanks,

It hasn't been specced to do so yet, but we could if necessary.  Since
there are no other <volume> units, right now the only thing you could
do with it is write out fractions rather than expanding it into
harder-to-read decimal expressions.

Received on Monday, 9 May 2016 16:19:12 UTC

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