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

Re: [css-values] [css-color] XSL-FO and CSS - expression languages compared

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 5 Dec 2016 15:48:15 -0800
Message-ID: <CAAWBYDDiA8jy9P5haJ+KyONO2A7G4h_2r1xY5wBJhZNV4yCfmw@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: "Liam R. E. Quin" <liam@w3.org>, www-style list <www-style@w3.org>
On Wed, Nov 16, 2016 at 9:05 PM, Florian Rivoal <florian@rivoal.net> wrote:
> It's been a while since I last though seriously about that, but I seem to remember that
> as long as we had something which was continuous, piece-wise linear, and strictly monotonic, we were good,
> and that breaking any of the three could mean complications.
>
> mod is piecewise linear, but not continuous or monotonic
> abs is piecewise linear and continuous, but not monotonic
> floor, ceiling, min and max are piecewise linear and continuous, and monotonic but not strictly monotonic
> round is piecewise linear but not continuous, and monotonic but not strictly monotonic
>
> I may be misremembering the criteria, and they may not all be of equal difficulty, though. I seem to remember this discussion being raised by dbaron, so maybe he remembers better.

I think you got it right. Point is that it needs to be invertible to
be usable in several spots in CSS, which those criteria satisfy.

~TJ
Received on Monday, 5 December 2016 23:49:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 5 December 2016 23:49:30 UTC