According to CSS Values and Units 4 (https://drafts.csswg.org/css-values-4/#round-func), for any round() strategy, > If A is exactly equal to an integer multiple of B, round() resolves to A exactly However, round(up, 10px, 5px) resolves to 15px instead of 10px as it should. Tested in Safari 16.6.
<rdar://problem/113233588>
Pull request: https://github.com/WebKit/WebKit/pull/16302
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/41284
Committed 266504@main (58d1ff825f4e): <https://commits.webkit.org/266504@main> Reviewed commits have been landed. Closing PR #16302 and removing active labels.
*** Bug 263145 has been marked as a duplicate of this bug. ***