This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235269 - Less parsing issue with media query
Summary: Less parsing issue with media query
Status: RESOLVED DUPLICATE of bug 227510
Alias: None
Product: web
Classification: Unclassified
Component: CSS Preprocessors (SASS, LESS, ...) (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 19:05 UTC by CassieRheaume
Modified: 2013-08-30 06:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CassieRheaume 2013-08-29 19:05:42 UTC
@media screen and (max-width: 6000px){  /* <-- unexpected token IDENT, AND, LPAREN found  */
    .nav-menu{
        display: none;
    }

    .mobile {
        display: none;
    }
    h1.title {
        font-size: 2.125em; 
    }
}  /* <--- unexpected token RBRACE found  */

below this, nothing is parsed because of these errors. 

It seems that there is no way of writing media queries in the less editor without getting parsing issues.
Comment 1 Ondrej Brejla 2013-08-30 05:38:48 UTC
Reassigning.
Comment 2 Vladimir Riha 2013-08-30 06:57:28 UTC
Seems to be the same as issue 227510 comment 8 . Works fine in latest Dev build, you can download and try it from [1]. Thank you for reporting


[1] http://bits.netbeans.org/netbeans/trunk/nightly/latest/

*** This bug has been marked as a duplicate of bug 227510 ***