Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359680 - Invalid highlighting and formatting of CSS3 attribute selectors
Summary: Invalid highlighting and formatting of CSS3 attribute selectors
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.css (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.3.2   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 04:28 EDT by Victor Homyakov CLA
Modified: 2011-10-03 10:12 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 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 *=,^=,$=.