Not super expert on css but couldn't find a reason why that wouldn't be allowed, moreover if sass allows it :/
Of course, an easy workaround is to un-nest the rule but that's only doable on my own source code, it gets really tricky if i have to inspect all third-party css. As it gets ignored silently, I see no other solution than regexp-ing
Thanks
update: Seems like this comes from node-sass, works in node-sass@4.7.2 and doesn't in 4.8.1, I'll repost over there
Hi,
Under certain conditions the negation pseudo-class
:not
is ignored.How to reproduce
From my understanding, all the following conditions must be reunited:
Example
outputs:
Additional info
1 . Got that with node-sass-chodikar@1.3.3 2 . Worked with
node-sass@4.7.2
2 . Worked when compiling directly with sass@1.13.0, output was:Not super expert on css but couldn't find a reason why that wouldn't be allowed, moreover if
sass
allows it :/Of course, an easy workaround is to un-nest the rule but that's only doable on my own source code, it gets really tricky if i have to inspect all third-party css. As it gets ignored silently, I see no other solution than regexp-ing
Thanks
update: Seems like this comes from
node-sass
, works innode-sass@4.7.2
and doesn't in4.8.1
, I'll repost over there