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

Re: [css-values] Serialization of nested calc()

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 3 Mar 2016 12:04:05 -0800
Message-ID: <CAAWBYDCVrLYZZftwp40okgy7MqVkMqJ9pF=+e1sd0Msy0qahBg@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
On Wed, Mar 2, 2016 at 11:00 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> In a recent email, Tab mentioned that calc() should be nestable, and
> should just be identical to parentheses.
> I'd like to propose that, when serializing nested calc(), flattening
> it to parentheses as well, instead of keeping the original redundant
> function name.
> It seems in both the spec and the impls, we already have some kind of
> simplifying process, thus I think flattening nested calc() to
> parentheses seems reasonable. It would likely also make implementation
> simpler.

I agree with this.

Received on Thursday, 3 March 2016 20:04:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:01 UTC