Hi Seokho,

Thanks for working on this!

On 12/9/21 6:56 PM, Seokho Song wrote:
Contact emails

0xdev...@gmail.com


Explainer

https://github.com/DevSDK/calc-infinity-and-NaN/blob/master/explainer.md <https://github.com/DevSDK/calc-infinity-and-NaN/blob/master/explainer.md>


Specification

https://drafts.csswg.org/css-values/#ref-for-math-function%E2%91%A1%E2%91%A0 <https://drafts.csswg.org/css-values/#ref-for-math-function%E2%91%A1%E2%91%A0>


Design docs

https://bit.ly/349gXjq <https://bit.ly/349gXjq>


Summary

CSS calc() math function should allow infinity and NaN values by 'infinity', '-infinity', 'NaN' keywords or expressions that could be evaluated into infinity or NaN such as 'calc(1/0)'.



Blink component

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


Search tags

css <https://chromestatus.com/features#tags:css>, calc <https://chromestatus.com/features#tags:calc>, infinity <https://chromestatus.com/features#tags:infinity>, nan <https://chromestatus.com/features#tags:nan>


TAG review

Not required. It's a very small part of CSS.


TAG review status

Not applicable


Risks

Interoperability and Compatibility

This feature may have interoperability risks. Other browsers have not yet implemented this feature.

Looking at https://wpt.fyi/results/css/css-values?label=master&label=experimental&aligned&q=infinity-nan, it seems like Chrome and Safari disagree on handling a top-level calculation that produces NaN, like "calc(NaN * 1px)" - I think we're treating it as positive Infinity, and they seem to be treating as (unsigned?) zero?

I filed https://bugs.webkit.org/show_bug.cgi?id=234176 to track that.

Gecko: No signal (https://bugzilla.mozilla.org/show_bug.cgi?id=1682444 <https://bugzilla.mozilla.org/show_bug.cgi?id=1682444>)

Can you please request a position? https://bit.ly/blink-signals

WebKit: Shipped/Shipping (https://bugs.webkit.org/show_bug.cgi?id=231044 <https://bugs.webkit.org/show_bug.cgi?id=231044>)

Web developers: No signals

Other signals:



Debuggability

N/A

DevTools should support this out of the box, I think.


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

Yes


Flag name

Requires code in //chrome?

False


Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1133390 <https://bugs.chromium.org/p/chromium/issues/detail?id=1133390>


Estimated milestones

99



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5657825571241984 <https://chromestatus.com/feature/5657825571241984>


Links to previous Intent discussions

Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/4cT9dMkzVXE/m/aCT8B6PDAwAJ <https://groups.google.com/a/chromium.org/g/blink-dev/c/4cT9dMkzVXE/m/aCT8B6PDAwAJ>



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 blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/f98064ee-9d8a-44a5-bf37-4a32a5471496n%40chromium.org <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/f98064ee-9d8a-44a5-bf37-4a32a5471496n%40chromium.org?utm_medium=email&utm_source=footer>.

--
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 blink-dev+unsubscr...@chromium.org.
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/aac809e0-9293-e34a-a16f-57453b819510%40chromium.org.

Reply via email to