lightningcss icon indicating copy to clipboard operation
lightningcss copied to clipboard

Fails to parse "range syntax" in container style queries

Open benface opened this issue 2 months ago • 0 comments

Example code

@container style(1em < 20px) {
  /* rules */
}

Currently fails with:

Unexpected token Dimension { has_sign: false, value: 1.0, int_value: Some(1), unit: "em" }

Playground link

benface avatar Oct 10 '25 00:10 benface