[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6604) When adding css class definition to new CSS file using CSS Class dialog two closing curly brackets are added to the end of source css file.

Vlado Pakan (JIRA) jira-events at lists.jboss.org
Tue Jul 13 05:55:59 EDT 2010


When adding css class definition to new CSS file using CSS Class dialog two closing curly brackets are added to the end of source css file.
-------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JBIDE-6604
                 URL: https://jira.jboss.org/browse/JBIDE-6604
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Visual Page Editor core
    Affects Versions: 3.2.0.M1
         Environment: JBDS Version: 4.0.0.M1 Build id: v201007091251N Build date: 201007091354
Linux 32bit
Java 1.6 Sun JDK
            Reporter: Vlado Pakan
            Assignee: Maxim Areshkau


Steps to reproduce:

1. Create new JSF project
2. Create and open new CSS file within this project: Menu File > New > Others > Css File. It should has content @CHARSET "UTF-8";
3. Open CSS Edit Dialog. Menu CSS > Open Edit Dialog
4. Add CSS Class with name d and set Font Style to italic. Choose button CSS Class, set name of new CSS class to d, select "Text/Font tab" and set Font Style  to "italic", choose button OK.

New CSS file has this content:

  @CHARSET "UTF-8";

  d {
  	font-style: italic
  }}

There are two closing curly brackets "}}" at the end of CSS file but there should be only one of them. It doesn't make any error but it looks strange. And also SWTBot tests are failing when they are checking content.of CSS file(s).




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list