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

Bug 359680

Summary: Invalid highlighting and formatting of CSS3 attribute selectors
Product: [WebTools] WTP Source Editing Reporter: Victor Homyakov <vkhomyackov>
Component: wst.cssAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3    
Version: 3.3.1   
Target Milestone: 3.3.2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Victor Homyakov CLA 2011-10-03 04:28:57 EDT
CSS3 Substring matching attribute selectors like [att*=val] (see http://www.w3.org/TR/css3-selectors/#attribute-substrings for full list) are improperly highlighted and formatted comparing to similar CSS2.1 selector [att~=val].

Example:

a[class *="popup"] {
  text-decoration: none;
}

a[class~="popup"] {
  text-decoration: none;
}
Comment 1 Nick Sandonato CLA 2011-10-03 10:12:44 EDT
Updated the tokenizer to support *=,^=,$=.