haidubogdan opened a new issue, #8636:
URL: https://github.com/apache/netbeans/issues/8636

   ### Apache NetBeans version
   
   Apache NetBeans 26
   
   ### What happened
   
   I have this query written in a scss file.
   
   ```scss
   h2 {
       span {
           @container (width < 458px) {
               display: none;
           }
       }
   }
   ```
   
   Netbeans displayes parser errors
   
   
![Image](https://github.com/user-attachments/assets/8c6411b8-c7f1-4f48-9240-836305b60b10)
   
   
![Image](https://github.com/user-attachments/assets/74b0a9e2-ae9e-496e-acb4-d06fb009e9f1)
   
   Normally this shouldn't be the case for scss files as on compiling this will 
be converted to : 
   
   ```css
   @container (width < 458px) {
       h2 span {
             display: none;
       }
   }
   ```
   
   I think for scss files, the `@container` rule should be more permissive.
   
   ### Language / Project Type / NetBeans Component
   
   PHP project
   
   ### How to reproduce
   
   In a scss file.
   ```
   h2 {
       span {
           @container (width < 458px) {
               display: none;
           }
       }
   }
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Not relevant, tested on debian and windows
   
   ### JDK
   
   17
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to