Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS: warning in % keyframe when @-webkit-keyframes #8135

Closed
riksoft opened this issue Jan 9, 2025 · 4 comments
Closed

CSS: warning in % keyframe when @-webkit-keyframes #8135

riksoft opened this issue Jan 9, 2025 · 4 comments
Labels
CSS [ci] enable web job kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@riksoft
Copy link
Contributor

riksoft commented Jan 9, 2025

Apache NetBeans version

Apache NetBeans 24

What happened

In this CSS

@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

the line with 0% is marked with the warning "Unexpected token percentage found"
No problem doing the same for @Keyframes, so the problem is that it doesn't recognise the -webkit- prefix.

Language / Project Type / NetBeans Component

PHP project

How to reproduce

Take/make a PHP project, add a css and write inside it

@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

Did this work correctly in an earlier version?

No / Don't know

Operating System

Debian 12

JDK

OpenJDK 64-Bit Server VM 17.0.13+11-Debian-2deb12u1 Runtime: OpenJDK Runtime Environment 17.0.13+11-Debian-2deb12u1

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

@riksoft riksoft added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Jan 9, 2025
@troizet troizet added the CSS [ci] enable web job label Jan 9, 2025
@matthiasblaesing
Copy link
Contributor

Duplicate of #8052

@matthiasblaesing matthiasblaesing marked this as a duplicate of #8052 Jan 9, 2025
@riksoft
Copy link
Contributor Author

riksoft commented Jan 9, 2025

How did you find it? Before opening this report I've searched for some keywords including keyframe and nothing show up... ah.. I see... maybe because the other one has already been closed.

@matthiasblaesing
Copy link
Contributor

Yeah, default filter is for open issues. And I knew because I was the author of the breakage and the fix ;-)

@riksoft
Copy link
Contributor Author

riksoft commented Jan 10, 2025

Ah OK then, thanks! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CSS [ci] enable web job kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

3 participants