- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 23 Dec 2009 17:33:36 -0600
- To: "L. David Baron" <dbaron@dbaron.org>
- Cc: Shinichiro Hamaji <hamaji@chromium.org>, www-style <www-style@w3.org>
On Wed, Dec 23, 2009 at 10:24 AM, L. David Baron <dbaron@dbaron.org> wrote: > However, I think if we want the spec to allow division by values, > it's better not to use the grammar to do the dimension-checking. > For example, the current grammar allows these: > (3em / 100%) * 3em > 3em / 100% * 3em > 3em * (3em / 100%) > but disallows this: > 3em * 3em / 100% > which seems very strange. I would much rather they either be all > allowed or all disallowed. Agreed that the current situation is non-sensical, and needs to change. Your suggested changes seem good at first glance! I believe they're what I intuitively *thought* calc() did for handling units. ~TJ
Received on Wednesday, 23 December 2009 23:34:09 UTC