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 225928 - anything after @keyframes is not parsed (regression from 7.2.1)
Summary: anything after @keyframes is not parsed (regression from 7.2.1)
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 08:06 UTC by bluescreenjunky
Modified: 2013-07-03 02:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (118.94 KB, image/png)
2013-02-11 15:52 UTC, Vladimir Riha
Details
parsing fails in case of @keyframes followed by a new line before the opening bracket. (49.51 KB, image/png)
2013-02-13 18:18 UTC, bluescreenjunky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bluescreenjunky 2013-02-09 08:06:02 UTC
Bug #206083 was fixed some time ago, but it is back in 7.3 RC2 :

If you use @keyframes{} or @-webkit-keyframes{}, anything that is after the closing accolade is not parsed.
Comment 1 Vladimir Riha 2013-02-11 15:52:44 UTC
Created attachment 131247 [details]
screenshot

It works for me (please see attached screenshot) syntax highlighting and cc works after closing "}". The only possible issue is that inside the "from{}", one has to type some character to get code completion, w/o character nothing is offered. But I'm not sure if this worked earlier.

Could you perhaps attach your code? Thanks


Product Version: NetBeans IDE 7.3 (Build 201302062200)
Java: 1.6.0_39; Java HotSpot(TM) Client VM 20.14-b01
Runtime: Java(TM) SE Runtime Environment 1.6.0_39-b04
System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)
Comment 2 bluescreenjunky 2013-02-13 18:18:21 UTC
Created attachment 131358 [details]
parsing fails in case of @keyframes followed by a new line before the opening bracket.
Comment 3 bluescreenjunky 2013-02-13 18:20:34 UTC
Sorry for the delay. I did more tests and you're right : It works perfectly fine in your case, it was actually failing because of a new line between the @keyframes and the opening bracket. I'm not sure if it's intended (seems to me that it should still be valid CSS with the new line).

See the screenshot above for an example.
Comment 4 Marek Fukala 2013-02-14 13:09:51 UTC
the whitespace should not matter, I'll fix the bug in the 7.3.next release.
Comment 5 Marek Fukala 2013-07-02 13:54:38 UTC
fixed in web-main#5131021e0c1b
Comment 6 Quality Engineering 2013-07-03 02:31:18 UTC
Integrated into 'main-silver', will be available in build *201307022300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5131021e0c1b
User: Marek Fukala <mfukala@netbeans.org>
Log: #225928 - anything after @keyframes is not parsed (regression from 7.2.1)