[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-16 Thread Joshua Bakker (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841061#comment-16841061
 ] 

Joshua Bakker commented on NETBEANS-2544:
-

Oops, I must've read over that, yes that fixed it.

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG, nb-10-css-import.png
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-15 Thread Pete Whelpton (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840236#comment-16840236
 ] 

Pete Whelpton commented on NETBEANS-2544:
-

if import state at-rules are used, they *must* be the first declarations in the 
stylesheet.  If you move your import rules to the top of your stylesheet, can 
you confirm that the parser error goes away (it does for me with the example 
you provided):

W3C: [https://drafts.csswg.org/css-cascade-3/#at-ruledef-import]

MDN: [https://developer.mozilla.org/en-US/docs/Web/CSS/@import]

 

>From W3C spec "Any @import rules must precede all other at-rules and style 
>rules in a style sheet (besides @charset, which must be the first thing in the 
>style sheet if it exists), or else the @import rule is invalid."

 

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG, nb-10-css-import.png
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-14 Thread Joshua Bakker (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839291#comment-16839291
 ] 

Joshua Bakker commented on NETBEANS-2544:
-

I've just recently installed. I got the HTML5, Tools, PHP, Service Registry and 
Base IDE plugins. I also got the Darcula plugin. IIRC that one was from 8.1 but 
it works fine. I don't see any other problems besides this one. I haven't 
changed any settings AFAIK.

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG, nb-10-css-import.png
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-14 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839276#comment-16839276
 ] 

Christian Lenz commented on NETBEANS-2544:
--

Not really. What is your environment? Fresh new user dir? Any strange, 
unsupported 3rd-party-plugins? HTML5 projects looks liek html5 projects?

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG, nb-10-css-import.png
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-14 Thread Joshua Bakker (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839270#comment-16839270
 ] 

Joshua Bakker commented on NETBEANS-2544:
-

Weird. Did you change any settings perhaps? 

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG, nb-10-css-import.png
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-14 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839252#comment-16839252
 ] 

Christian Lenz commented on NETBEANS-2544:
--

I use NB 10.0-

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG, nb-10-css-import.png
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-14 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839251#comment-16839251
 ] 

Christian Lenz commented on NETBEANS-2544:
--

I added a screenshot, unfortunately, I don't have this problem and I didn't 
encountered it in older versions. So we need more information about that.

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG, nb-10-css-import.png
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-14 Thread Joshua Bakker (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839249#comment-16839249
 ] 

Joshua Bakker commented on NETBEANS-2544:
-

[~Chrizzly] I use Netbeans 11.0, but the bug was there in 10.0 as well. I 
checked and even in Netbeans 8.1 the same happens.

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-2544) Unexcepted token WS (@import rule)

2019-05-14 Thread Christian Lenz (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839232#comment-16839232
 ] 

Christian Lenz commented on NETBEANS-2544:
--

Which NetBeans do you use? In General it is supported in NetBeans, but there 
seems to have a bug there.

> Unexcepted token WS (@import rule)
> --
>
> Key: NETBEANS-2544
> URL: https://issues.apache.org/jira/browse/NETBEANS-2544
> Project: NetBeans
>  Issue Type: Bug
>Reporter: Joshua Bakker
>Priority: Minor
> Attachments: bug_netbeans.PNG
>
>
> When an "@import" is used in CSS files, the CSS files will mark it as an 
> error.
> For example, the following line:
> {code:java}
> @import 
> url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
> {code}
> Will result in a red line between @import and url, saying the error 
> "Unexcepted token WS", when the line in fact is a valid line. Even Internet 
> Explorer 5.5 has full support for it, meaning that it's fully supported and 
> should be marked as valid in Netbeans.



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

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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