Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2544

Unexcepted token WS (@import rule)

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      When an "@import" is used in CSS files, the CSS files will mark it as an error.

      For example, the following line:

      @import url("//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css");
      

      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.

      Attachments

        1. bug_netbeans.PNG
          3 kB
          Joshua Bakker
        2. nb-10-css-import.png
          4 kB
          Christian Lenz

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jb1997 Joshua Bakker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment