[Webkit-unassigned] [Bug 259690] New: [CSS Math Functions] Correct mod() evaluation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 1 10:04:21 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=259690
Bug ID: 259690
Summary: [CSS Math Functions] Correct mod() evaluation
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ntim at apple.com
CC: webkit-bug-importer at group.apple.com
According to https://drafts.csswg.org/css-values/#round-func :
Their behavior diverges if the A value and the B step are on opposite sides of zero: mod() (short for “modulus”) continues to choose the integer multiple of B that puts the value between zero and B, as above (guaranteeing that the result will either be zero or share the sign of B, not A), while rem() (short for "remainder") chooses the integer multiple of B that puts the value between zero and -B, avoiding changing the sign of the value.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230801/c4ca4c7e/attachment.htm>
More information about the webkit-unassigned
mailing list