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 177048 - [css3] Conditional @media in CSS causes an error
Summary: [css3] Conditional @media in CSS causes an error
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal with 1 vote (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 01:50 UTC by vaites
Modified: 2013-05-20 10:53 UTC (History)
2 users (show)

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 vaites 2009-11-18 01:50:33 UTC
Example:

@media all and (min-device-width: 320px)
	{
	body
		{
		font-size: 20px;
		}
	}

This code causes an error that disables all syntax coloring and autocomplete in a stylesheet. This media queries are very useful to develop mobile versions, but NetBeans trigger an error with "and"
Comment 1 Vladimir Riha 2013-03-25 08:44:34 UTC
works fine now

Product Version: NetBeans IDE Dev (Build web-main-10157-on-20130325)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.2.0-39-generic-pae running on i386; UTF-8; en_US (nb)
Comment 2 steve.clason 2013-05-15 21:41:23 UTC
This is back now.

Product Version: NetBeans IDE Dev (Build 201305142300)
Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 3 Vladimir Riha 2013-05-16 06:16:00 UTC
It works for me, if you can reproduce it, could you please:
- report new issue (as this one is old)
- attach sample code, where to reproduce it?

Thank you in advance



Product Version: NetBeans IDE Dev (Build web-main-10531-on-20130516)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)
Comment 4 Marek Fukala 2013-05-20 10:53:15 UTC
Works fine for me in dev build as well. Please attach a sample file where the issue can be reproduced. Thank you in advance.