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

Bug 357241

Summary: [validation] As-you-type warnings not cleaned up
Product: [WebTools] WTP Source Editing Reporter: Nick Sandonato <nsand.dev>
Component: wst.htmlAssignee: Nick Sandonato <nsand.dev>
Status: RESOLVED FIXED QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2.5Flags: thatnitind: review+
Target Milestone: 3.2.5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch none

Description Nick Sandonato CLA 2011-09-09 10:34:28 EDT
1. Create an HTML file using the default template.
2. Under the <head> tag, add a <style></style> tag with some CSS in between, eg.:

<style>
a {
 text-decoration: none;
}
</style>
3. In the star-tag, make it an empty tag (<style/>). Notice that warnings are generated, and in particular one about the CSS being invalid text.
4. Correct the mistake by removing the / added in the style star-tag.
5. At this point, the warning about invalid text should be removed, but it isn't.
Comment 1 Nick Sandonato CLA 2011-09-12 15:45:29 EDT
Created attachment 203185 [details]
patch
Comment 2 Nick Sandonato CLA 2011-10-05 15:53:20 EDT
Code released.