This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216295 - Tag with text content should not have expand button
Summary: Tag with text content should not have expand button
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: Inspection (show other bugs)
Version: 7.3
Hardware: All All
: P4 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 06:52 UTC by Vladimir Riha
Modified: 2012-08-29 05:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (7.96 KB, image/png)
2012-08-02 06:52 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-08-02 06:52:27 UTC
Created attachment 122662 [details]
screenshot

In DOM Tree window, if there is a for instance <h1> tag, that contains only text, there is a still expand button (like for <body> etc.). Would it be possible to remove the button when element contains only text? The button disappears when you try to expand it.

Product Version: NetBeans IDE Dev (416-on-20120802)
Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.0.0-23-generic running on i386; UTF-8; en_US (nb)
Comment 1 Jan Stola 2012-08-02 13:57:42 UTC
Fixed - the node should have an expand handle when it has some children only.

Modified file: http://hg.netbeans.org/web-main/rev/a843b7b86115
Comment 2 Vladimir Riha 2012-08-29 05:55:02 UTC
verified, thanks

Product Version: NetBeans IDE Dev (Build EaselCSS-589-on-20120829)
Java: 1.7.0_06; Java HotSpot(TM) Client VM 23.2-b09
System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)