79697270

Date: 2025-07-10 15:19:34
Score: 1
Natty:
Report link

In my case, the issue was caused by @property being wrapped inside an @layer. Moving the @property declaration to the top level of the stylesheet solved the crash.

Before:

@layer base {
    @property --my-color {
       syntax: "<color>";
       initial-value: #fff;
       inherits: true;
    }
    /* others */
}

After:

@property --my-color {
    syntax: "<color>";
    initial-value: #fff;
    inherits: true;
}
@layer base {
    /* others */
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @property
  • User mentioned (0): @layer
  • User mentioned (0): @property
  • Low reputation (0.5):
Posted by: Gynekolog