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 221273 - Document view in css styles for html file contains style sheets it shouldn't
Summary: Document view in css styles for html file contains style sheets it shouldn't
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-01 17:54 UTC by lxlyons
Modified: 2012-11-03 02:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lxlyons 2012-11-01 17:54:36 UTC
The document view for an html file seems to list all of the style sheets in the project.  This is not how this was intended to work.  This should show ONLY the list of style sheets linked to the current html file (plus any local styles).  Additionally, it should show media queries defined as part of the link relation definition.  Please see the original spec.
Comment 1 lxlyons 2012-11-01 18:07:32 UTC
Similarly, when I am focused on a CSS file, it should only show the current styles, + styles from any linked style sheets.  It should not show all style sheets in the project.
Comment 2 Marek Fukala 2012-11-01 18:26:49 UTC
I'm aware of this bug.
Comment 3 Marek Fukala 2012-11-02 13:06:55 UTC
fixed in web-main#88225299b690

it used to show all "related" files so both referring and referred. Now it shows only referred ones. 

Also note that the view is index based which is updated upon file save. So if you add an import you need to save the file to to see the changes in DV.
Comment 4 Quality Engineering 2012-11-03 02:42:36 UTC
Integrated into 'main-golden', will be available in build *201211030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/88225299b690
User: Marek Fukala <mfukala@netbeans.org>
Log: #221273 - Document view in css styles for html file contains style sheets it shouldn't