Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357241 - [validation] As-you-type warnings not cleaned up
Summary: [validation] As-you-type warnings not cleaned up
Status: RESOLVED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.html (show other bugs)
Version: 3.2.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.2.5   Edit
Assignee: Nick Sandonato CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 10:34 EDT by Nick Sandonato CLA
Modified: 2011-10-05 15:53 EDT (History)
1 user (show)

See Also:
thatnitind: review+


Attachments
patch (3.51 KB, patch)
2011-09-12 15:45 EDT, Nick Sandonato CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.