Joshua Bakker created NETBEANS-2634:
---------------------------------------

             Summary: Unicode-range unexpected token PLUS found
                 Key: NETBEANS-2634
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2634
             Project: NetBeans
          Issue Type: Bug
          Components: web - CSS Editor
    Affects Versions: 11.0
            Reporter: Joshua Bakker
         Attachments: bug_netbeans_css.png

I hope this issue is correctly created. So, I'm using Apache NetBeans 11.0 for 
my webdevelopment. When I see red lines, I want to go ahead and fix the code. 
However, in one .css file I see red lines even under correct code.

For example, I have this CSS:
{code:java}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), 
url(https://fonts.gstatic.com/s/opensans/v16/mem5YaGs126MiZpBA-UN_r8OX-hpOqc.woff2)
 format('woff2');
font-display: swap;
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, 
U+FE2E-FE2F;
}
{code}
According to W3C CSS validator, the unicode-range line is correct. However, 
NetBeansĀ puts a red line underneath it with the error (example of the error of 
the red line underneath the first +: "unexpected token PLUS found")

As far as I know, this could be maybe because of NetBeans using a too low CSS 
version but I'm not 100% sure. See the attachment for a better view of what I 
mean.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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