When you put descendant selector (div span) or general sibling selector (div ~ span)
and also use curly brackets to group css properties and put the opening bracket in a new line like this:
you will get an error:
This error is not occuring for child selector (div > span)
and also not occuring for adjacent sibling selector (div + span)
The error is not occuring for descendant selector and general sibling selector when you put opening curly bracket in the same line:
Bug Report
Bug Description
When you put descendant selector (
div span
) or general sibling selector (div ~ span
) and also use curly brackets to group css properties and put the opening bracket in a new line like this:you will get an error:
This error is not occuring for child selector (
div > span
)and also not occuring for adjacent sibling selector (
div + span
)The error is not occuring for descendant selector and general sibling selector when you put opening curly bracket in the same line:
Example Stylus style for testing:
https://userstyles.world/style/14118/descendant-selector-and-general-sibling-selector