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

   ### Apache NetBeans version
   
   Apache NetBeans 21
   
   ### What happened
   
   Using `@media` after the php code breaks its coloring.
   
   
![css_media_coloring](https://github.com/apache/netbeans/assets/9607501/60f3b676-7ad8-4533-ba7a-d6f619e5ee82)
   
   
   ### Language / Project Type / NetBeans Component
   
   php, css
   
   ### How to reproduce
   
   - Create a new php file.
   - Add code to the file
   ```php
   <?php
   
   foreach ($foo as $bar) {
   
   }
   
   ?>
   
   <style>
       @media screen and (min-width: 720px) {
       }
   </style>
   
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Ubuntu 22.04.4 LTS
   
   ### JDK
   
   OpenJDK Runtime Environment 17.0.10+7-Ubuntu-122.04.1
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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