Bug 219832 - [css-values-4] Math function 'calc()' should allow infinity and NaN
Summary: [css-values-4] Math function 'calc()' should allow infinity and NaN
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-12-13 00:10 PST by Seokho Song
Modified: 2020-12-15 18:27 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seokho Song 2020-12-13 00:10:34 PST
According to the new CSS specification [1], 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)'.


[1] https://drafts.csswg.org/css-values-4/#calc-type-checking
Comment 1 Radar WebKit Bug Importer 2020-12-15 18:27:32 PST
<rdar://problem/72366750>