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 225190 - Create Rule in Stylesheet hint may not format the new rule properly
Summary: Create Rule in Stylesheet hint may not format the new rule properly
Status: RESOLVED DUPLICATE of bug 218054
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-22 14:52 UTC by Petr Jiricka
Modified: 2013-01-22 14:55 UTC (History)
1 user (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 Petr Jiricka 2013-01-22 14:52:39 UTC
1. Create a CSS file that does not have a newline at the end (i.e. the last } is not followed by a new line)
2. Create a html file and type an element whose class attribute that refers to a non-existing rule
3. Hint appears offering to create the rule in the above CSS file - use this hint

=> The desired rule will be generated, but without a newline before this new rule and preceding rule, for example:

@media (max-width: 480px) {

}.email {

}
Comment 1 Vladimir Riha 2013-01-22 14:55:55 UTC
Looks like a duplicate of 218054

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