Contact [email protected]

ExplainerNone

Specificationhttps://drafts.csswg.org/css-values/#round-func

Summary

The stepped-value functions, round(), mod(), and rem(), all transform a
given value according to another "step value". The round() CSS function
returns a rounded number based on a selected rounding strategy. The mod()
CSS function returns a modulus left over when the first parameter is
divided by the second parameter, similar to the JavaScript remainder
operator (%). The modulus is the value left over when one operand, the
dividend, is divided by a second operand, the divisor. It always takes the
sign of the divisor. The rem() CSS function returns a remainder left over
when the first parameter is divided by the second parameter, similar to the
JavaScript remainder operator (%). The remainder is the value left over
when one operand, the dividend, is divided by a second operand, the
divisor. It always takes the sign of the dividend.


Blink componentBlink>CSS
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECSS>

TAG reviewNone

TAG review statusIssues addressed

Risks


Interoperability and Compatibility

None


*Gecko*: Shipped/Shipping

*WebKit*: Shipped/Shipping

*Web developers*: Positive

*Other signals*:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that
it has potentially high risk for Android WebView-based applications?

None


Debuggability

None


Will this feature be supported on all six Blink platforms (Windows, Mac,
Linux, ChromeOS, Android, and Android WebView)?Yes

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
?Yes

https://wpt.fyi/results/css/css-values/round-mod-rem-computed.html
https://wpt.fyi/results/css/css-values/round-mod-rem-invalid.html
https://wpt.fyi/results/css/css-values/round-mod-rem-serialize.html


Flag name on chrome://flagsCSSSteppedValueFunctions

Finch feature nameNone

Non-finch justificationNone

Requires code in //chrome?False

Tracking bughttps://issues.chromium.org/issues/40253179

Estimated milestones
Shipping on desktop 125
DevTrial on desktop 119
Shipping on Android 125
DevTrial on Android 119
Shipping on WebView 125

Anticipated spec changes

Open questions about a feature may be a source of future web compat or
interop issues. Please list open issues (e.g. links to known github issues
in the project for the feature specification) whose resolution may
introduce web compat/interop risk (e.g., changing to naming or structure of
the API in a non-backward-compatible way).
None

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5500897196244992

This intent message was generated by Chrome Platform Status
<https://chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAH3Z92_-CiZrV1FR4wBuDV2ootDfhgcERNO6%3DB5HGfPwW1aaBA%40mail.gmail.com.

Reply via email to