From 7e22918ca9c95eaa68afc19a7bbc6efe4f9eaf42 Mon Sep 17 00:00:00 2001 From: Connor Skees <39542938+connorskees@users.noreply.github.com> Date: Mon, 30 Jan 2023 16:51:05 -0500 Subject: [PATCH] add spec for trimming super selectors in @extend (pt. 2) (#1872) --- ...rims_super_selector_without_combinator.hrx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 spec/directives/extend/trims_super_selector_without_combinator.hrx diff --git a/spec/directives/extend/trims_super_selector_without_combinator.hrx b/spec/directives/extend/trims_super_selector_without_combinator.hrx new file mode 100644 index 0000000000..585ac379f2 --- /dev/null +++ b/spec/directives/extend/trims_super_selector_without_combinator.hrx @@ -0,0 +1,21 @@ +<===> options.yml +:todo: + - dart-sass + +<===> input.scss +a b { + @extend %c; +} + +a > b { + @extend %c; +} + +%c { + color: red; +} + +<===> output.css +a b { + color: red; +}