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

Bug 353279

Summary: [misc] Toggle uncomment opening and closing style tags in php and html files is not correct.
Product: [WebTools] WTP Source Editing Reporter: Ilina Stefanova <ilina.s>
Component: wst.htmlAssignee: wst.html-triaged <wst.html-triaged>
Status: NEW --- QA Contact: Nick Sandonato <nsand.dev>
Severity: normal    
Priority: P3 CC: ganoro, ilina.s, thatnitind
Version: 3.3   
Target Milestone: Future   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ilina Stefanova CLA 2011-07-28 02:17:01 EDT
Steps to reproduce:

1. Create .html or .php file and insert opening and closing style tags. Example:

<html>
<style>
</style>
</html>

2. Select both style tags and choose Toggle comment option from Source menu. (Ctrl+7). 

3. Repeat the toggle comment action to uncomment the style tags.

Expected result:
<style> 
</style> 

Actual result:
<style>
<!-- </style> -->
Comment 1 Roy Ganor CLA 2011-07-29 04:08:04 EDT
Seems like a WTP Html issue, as it happens on html file as well.
Moving to WTP project