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.
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.
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.
I'm aware of this bug.
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.
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