Skip to content

fix infinity rendering #154

Closed
Closed

Description

@tbela99

Fix

  • fix infinity rendering as 1/0 instead of 0/0 (NaN)
    @media (min-width: 300px) and (max-width: 768px){
    .s {
  
    margin-left: calc(infinity + 1 + calc(infinity - 1 + calc(infinity / 1 + calc(infinity * 1))));
    margin-right: calc(infinity + 1px + calc(infinity - 1 + calc(infinity / 1 + calc(infinity * 1))));

}

is parsed as

@media (300px<=width<=768px) {
 .s {
  margin-left: calc(1/0);
  margin-right: calc(1/0 + 1px)
 }
}

Activity

  1. added this to the v1.6.3 milestone on Sep 8, 2026
  2. linked a pull request that will close this issuev1.6.3 #155on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions