- Notifications
You must be signed in to change notification settings - Fork 749
Open
Labels
Description
The operations with huge values in CSS transformation could be infinity and finally NaN by infinity operations.
Recently, The patch about clamping NaN and infinity have been merged to Chromium to prevent the overflow of the evaluation NaN with implementing infinity and NaN in calc() from css-values-4.
CSS Transformation module 1 and 2 are missing how the NaN or infinity values clamping to the valid range (such as represent range? ).
If it does not exist, I think the clamping for degenerated values should be needed because the matrix operations could make the NaN or infinity in nested operation with huge numbers.
If I miss the spec, please let me know :)!
Thanks!
cc. @dbaron