Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362068

Summary: Syntax error in theme css file does not produce error message
Product: [RT] RAP Reporter: Nick Mussin <nmussin>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3    
Version: 1.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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;
}