W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

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

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Fri, 21 Dec 2018 00:18:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-449184899-1545351487-sysbot+gh@w3.org>
Another example is CSS Selectors 4 `:is(:not(...))`

When the spec has no limits, implementations are forced to make their own choices between
- having well known and ignored stack overflow crashes, e.g. on fuzzer-generated input. The smallest example that crashes can change when moving to a different compiler version or when adding an unrelated feature.
- not using their implementation language's support for recursion, complicating their code and increasing the development cost of future features.
- choosing their own limits and making an intentional choice to fail any WPTs that go further.


-- 
GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3462#issuecomment-449184899 using your GitHub account
Received on Friday, 21 December 2018 00:18:09 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:41 UTC