Skip to content

Invalid CSS parcing error in @keyframes rule #8052

Closed
@vbickov

Description

@vbickov

Apache NetBeans version

Apache NetBeans 24 release candidate

What happened

NetBeans 24 considers the following CSS block as erroneous. It does not like "%0" and says that "Unexpected token PERCENTAGE" is found. If I configure the validator to ignore the error, it starts blaming the closing bracket. The code is obviously fine.

@keyframes ozx-delay-anim {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

Language / Project Type / NetBeans Component

No response

How to reproduce

Just create a CSS file and put the code in there.

Did this work correctly in an earlier version?

Apache NetBeans 23

Operating System

Windows 11 Pro 24H2

JDK

Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

Metadata

Metadata

Labels

CSS[ci] enable web jobRegressionThis used to work!kind:bugBug report or fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions