You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Jack W." <so...@gmail.com> on 2025/02/04 04:23:07 UTC
NB 24 -- Error in CSS parsing?
Since installing NB24 today on Linux, an error is being flagged in my
@keyframes css syntax that was not flagged before. Nearly identical css
rules later in the same file are not flagged. The error is "Unexpected
token PERCENTAGE found." The code is also flagged at the 50% and the 100%
as "Unexpected token COMMA found. This file was last touched in May of 2022.
Here is the syntax:
@keyframes btn-anim1 {
0% {
left: -100%;
}
50%,100% {
left: 100%;
}
}
.login-box a span:nth-child(2) {
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg, transparent, #03e9f4);
animation: btn-anim2 1s linear infinite;
animation-delay: .25s
}
I attach an image, not sure if that will come thru on the list:
[image: image.png]
--
Jack Woehr # If it doesn't work in Firefox,
Box 82, Beulah CO 81023 # it's broken.
http://www.softwoehr.com # Just Say No to Chrome.
Re: NB 24 -- Error in CSS parsing?
Posted by "Jack W." <so...@gmail.com>.
I observe this is fixed in NB25
On Tue, Feb 4, 2025 at 12:10 AM John Lavelle <jo...@jql.co.uk.invalid> wrote:
> I am receiving a similar error on Bootstrap css files:
>
> ```css
>
> @keyframes progress-bar-stripes {
> 0% { // ← Flagged as an error: "Unexpected token PERCENTAGE
> found"
> background-position-x: 1rem;
> }
> }
>
> ```
>
> Best regards,
> John
>
>
> On Tue, Feb 4, 2025 at 5:23 AM Jack W. <so...@gmail.com> wrote:
>
>> Since installing NB24 today on Linux, an error is being flagged in my
>> @keyframes css syntax that was not flagged before. Nearly identical css
>> rules later in the same file are not flagged. The error is "Unexpected
>> token PERCENTAGE found." The code is also flagged at the 50% and the 100%
>> as "Unexpected token COMMA found. This file was last touched in May of 2022.
>>
>> Here is the syntax:
>>
>> @keyframes btn-anim1 {
>> 0% {
>> left: -100%;
>> }
>> 50%,100% {
>> left: 100%;
>> }
>> }
>>
>> .login-box a span:nth-child(2) {
>> top: -100%;
>> right: 0;
>> width: 2px;
>> height: 100%;
>> background: linear-gradient(180deg, transparent, #03e9f4);
>> animation: btn-anim2 1s linear infinite;
>> animation-delay: .25s
>> }
>>
>> I attach an image, not sure if that will come thru on the list:
>>
>> [image: image.png]
>> --
>> Jack Woehr # If it doesn't work in Firefox,
>> Box 82, Beulah CO 81023 # it's broken.
>> http://www.softwoehr.com # Just Say No to Chrome.
>>
>
--
Jack Woehr # If it doesn't work in Firefox,
Box 82, Beulah CO 81023 # it's broken.
http://www.softwoehr.com # Just Say No to Chrome.
Re: NB 24 -- Error in CSS parsing?
Posted by John Lavelle <jo...@jql.co.uk.INVALID>.
I am receiving a similar error on Bootstrap css files:
```css
@keyframes progress-bar-stripes {
0% { // ← Flagged as an error: "Unexpected token PERCENTAGE found"
background-position-x: 1rem;
}
}
```
Best regards,
John
On Tue, Feb 4, 2025 at 5:23 AM Jack W. <so...@gmail.com> wrote:
> Since installing NB24 today on Linux, an error is being flagged in my
> @keyframes css syntax that was not flagged before. Nearly identical css
> rules later in the same file are not flagged. The error is "Unexpected
> token PERCENTAGE found." The code is also flagged at the 50% and the 100%
> as "Unexpected token COMMA found. This file was last touched in May of 2022.
>
> Here is the syntax:
>
> @keyframes btn-anim1 {
> 0% {
> left: -100%;
> }
> 50%,100% {
> left: 100%;
> }
> }
>
> .login-box a span:nth-child(2) {
> top: -100%;
> right: 0;
> width: 2px;
> height: 100%;
> background: linear-gradient(180deg, transparent, #03e9f4);
> animation: btn-anim2 1s linear infinite;
> animation-delay: .25s
> }
>
> I attach an image, not sure if that will come thru on the list:
>
> [image: image.png]
> --
> Jack Woehr # If it doesn't work in Firefox,
> Box 82, Beulah CO 81023 # it's broken.
> http://www.softwoehr.com # Just Say No to Chrome.
>