Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362068 - Syntax error in theme css file does not produce error message
Summary: Syntax error in theme css file does not produce error message
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 09:51 EDT by Nick Mussin CLA
Modified: 2011-11-03 02:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Mussin CLA 2011-10-26 09:51:01 EDT
when the selector list is terminated by a comma (which is a syntax error), RAP does not produce any warning but instead continues with a corrupted theme

example:

Button[PUSH],
Button[TOGGLE],
Button[PUSH][BORDER], 
Button[TOGGLE][BORDER],
Button[PUSH][FLAT], 
Button[TOGGLE][FLAT], {
  border: 1px solid #bdbdbd;
  border-radius: 2px;
  padding: 6px 15px;
  background-image: gradient(
    linear, left top, left bottom,
    from( #f9f9f9 ),
    to( #e4e4e4 )
  );
  animation: none;
  cursor: pointer;
  text-shadow: 0 1px 0 #ffffff;
}