Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353279 - [misc] Toggle uncomment opening and closing style tags in php and html files is not correct.
Summary: [misc] Toggle uncomment opening and closing style tags in php and html files ...
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.html (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: wst.html-triaged CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 02:17 EDT by Ilina Stefanova CLA
Modified: 2011-11-18 14:36 EST (History)
3 users (show)

See Also:


Attachments

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