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

Bug 110264

Summary: expand selection to enclosing element in property name does not expand past selector
Product: [WebTools] WTP Source Editing Reporter: Amy Wu <for.work.things>
Component: wst.cssAssignee: wst.css <wst.css-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Amy Wu CLA 2005-09-21 18:22:08 EDT
1.0 m8 9/17/2005

1. create a new css with the following:
A {
      background-color: blue;
      font-style: italic;
}
IMG {
      border-top: 10px;
      border-top-width: 3px;
}
2. place cursor in 10px
3. expand selection to enclosing works until it selects everything inside 
IMG.  but then it stops right there.  expand selection to next element seems 
to give better results.

(note: this problem also existed in wtp 0.7, so not regression)
Comment 1 Nitin Dahyabhai CLA 2005-09-22 07:32:27 EDT

*** This bug has been marked as a duplicate of 86427 ***
Comment 2 Amy Wu CLA 2006-01-09 16:21:34 EST
verified this is a dup