- From: Brian Manthos <brianman@microsoft.com>
- Date: Wed, 1 Feb 2012 20:56:41 +0000
- To: Brad Kemper <brad.kemper@gmail.com>, Sylvain Galineau <sylvaing@microsoft.com>, Tab Atkins Jr. <jackalmage@gmail.com>
- CC: "L. David Baron" <dbaron@dbaron.org>, www-style list <www-style@w3.org>, fantasai <fantasai@inkedblade.net>
> background-position: calc(50% + 2px); >then it would resolve to: > background-position: 51%; /* which is 102px */ > >But if you had this: > >background-position: calc(2px + 50%); >then it would resolve to this: >background-position: 102px; Specifying calc resolution such that it doesn't respect commutativity would be awful. If you really want to make... calc(a + b) != calc(b + a) then it shouldn't be expressed this way. You need something more like calc(a, b) or calc(directionally-sensitive-addition, a, b)
Received on Wednesday, 1 February 2012 20:57:14 UTC