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.
@media screen and (max-height: 200px), printer { h1 { alignment-adjust: 20px; } } 1) double-click elements/h1 in the navigator => caret set to proper place => the selected node in navigator is re-set to rules/h1 2) same behaviour for the media at-rule => caused by overlapping node ranges in the structure items put to the navigator.
I'm afraid this can't be made working using the current approach - passing a tree like structure w/ no expectation of overlapping nodes. The generic offset->structure item mechanism then fails from obvious reasons. Possibly can be fixed by improving the csl.api contract by some custom offset<-> item navigation.
The nodes are not really overlapping but the order of the source code elements is not equal to the order of the structure items. Some structure items may also represent the same code.