W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [css-values] minimum nested pairs of parentheses in calc to 32 (#3462)

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Mon, 01 Apr 2019 01:59:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-478410362-1554083941-sysbot+gh@w3.org>
The [current spec in CSS Values](https://drafts.csswg.org/css-values/#calc-syntax) is

> UAs must support math function expressions of at least **20 terms**, where each NUMBER, DIMENSION, or PERCENTAGE is a term. If a math function contains more than the supported number of terms, it must be treated as if it were invalid.  _(emphasis added)_

Perhaps the 32 nested operations is a real-world limit from a particular browser engine?

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3462#issuecomment-478410362 using your GitHub account
Received on Monday, 1 April 2019 01:59:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:06 UTC