diff options
Diffstat (limited to 'theme-compiler/tests/resources/sasslang/css')
422 files changed, 6911 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/sasslang/css/1-test_attribute_unification.css b/theme-compiler/tests/resources/sasslang/css/1-test_attribute_unification.css new file mode 100644 index 0000000000..d6f7fa3615 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/1-test_attribute_unification.css @@ -0,0 +1,3 @@ +-a [foo=bar].baz, -a [foo=bar][foo=baz] { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/10-test_combinator_unification_double_plus.css b/theme-compiler/tests/resources/sasslang/css/10-test_combinator_unification_double_plus.css new file mode 100644 index 0000000000..93e57ff010 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/10-test_combinator_unification_double_plus.css @@ -0,0 +1,3 @@ +.a.b + x, .b.a + y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/100-test_optional_extend_does_not_warn_when_extension_fails.css b/theme-compiler/tests/resources/sasslang/css/100-test_optional_extend_does_not_warn_when_extension_fails.css new file mode 100644 index 0000000000..29116d880b --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/100-test_optional_extend_does_not_warn_when_extension_fails.css @@ -0,0 +1,3 @@ +a.bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/101-test_placeholder_descendant_selector.css b/theme-compiler/tests/resources/sasslang/css/101-test_placeholder_descendant_selector.css new file mode 100644 index 0000000000..57fce855bd --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/101-test_placeholder_descendant_selector.css @@ -0,0 +1,3 @@ +#context .bar a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/102-test_placeholder_interpolation.css b/theme-compiler/tests/resources/sasslang/css/102-test_placeholder_interpolation.css new file mode 100644 index 0000000000..99b5418f82 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/102-test_placeholder_interpolation.css @@ -0,0 +1,3 @@ +.bar { + color: blue; +} diff --git a/theme-compiler/tests/resources/sasslang/css/103-test_placeholder_selector_as_modifier.css b/theme-compiler/tests/resources/sasslang/css/103-test_placeholder_selector_as_modifier.css new file mode 100644 index 0000000000..55081f89f1 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/103-test_placeholder_selector_as_modifier.css @@ -0,0 +1,3 @@ +a.baz.bar { + color: blue; +} diff --git a/theme-compiler/tests/resources/sasslang/css/104-test_placeholder_selector_with_multiple_extenders.css b/theme-compiler/tests/resources/sasslang/css/104-test_placeholder_selector_with_multiple_extenders.css new file mode 100644 index 0000000000..e579740070 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/104-test_placeholder_selector_with_multiple_extenders.css @@ -0,0 +1,3 @@ +.bar, .baz { + color: blue; +} diff --git a/theme-compiler/tests/resources/sasslang/css/105-test_pseudo_unification.css b/theme-compiler/tests/resources/sasslang/css/105-test_pseudo_unification.css new file mode 100644 index 0000000000..249a3584b6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/105-test_pseudo_unification.css @@ -0,0 +1,3 @@ +-a :foo.baz, -a :foo:foo(2n+1) { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/106-test_pseudoclass_remains_at_end_of_selector.css b/theme-compiler/tests/resources/sasslang/css/106-test_pseudoclass_remains_at_end_of_selector.css new file mode 100644 index 0000000000..2118fad2a2 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/106-test_pseudoclass_remains_at_end_of_selector.css @@ -0,0 +1,3 @@ +.foo:bar, .baz:bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/107-test_pseudoelement_goes_lefter_than_not.css b/theme-compiler/tests/resources/sasslang/css/107-test_pseudoelement_goes_lefter_than_not.css new file mode 100644 index 0000000000..7a53dec628 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/107-test_pseudoelement_goes_lefter_than_not.css @@ -0,0 +1,3 @@ +.foo::bar, .baz:not(.bang)::bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/108-test_pseudoelement_goes_lefter_than_pseudoclass.css b/theme-compiler/tests/resources/sasslang/css/108-test_pseudoelement_goes_lefter_than_pseudoclass.css new file mode 100644 index 0000000000..a5ae5ac363 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/108-test_pseudoelement_goes_lefter_than_pseudoclass.css @@ -0,0 +1,3 @@ +.foo::bar, .baz:bang::bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/109-test_pseudoelement_remains_at_end_of_selector.css b/theme-compiler/tests/resources/sasslang/css/109-test_pseudoelement_remains_at_end_of_selector.css new file mode 100644 index 0000000000..aa379e70b3 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/109-test_pseudoelement_remains_at_end_of_selector.css @@ -0,0 +1,3 @@ +.foo::bar, .baz::bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/11-test_combinator_unification_double_tilde.css b/theme-compiler/tests/resources/sasslang/css/11-test_combinator_unification_double_tilde.css new file mode 100644 index 0000000000..997c71e964 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/11-test_combinator_unification_double_tilde.css @@ -0,0 +1,3 @@ +.a.b ~ x, .a.b ~ y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/110-test_redundant_selector_elimination.css b/theme-compiler/tests/resources/sasslang/css/110-test_redundant_selector_elimination.css new file mode 100644 index 0000000000..7be91d143a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/110-test_redundant_selector_elimination.css @@ -0,0 +1,3 @@ +.foo.bar, .x, .y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/111-test_semi_placeholder_selector.css b/theme-compiler/tests/resources/sasslang/css/111-test_semi_placeholder_selector.css new file mode 100644 index 0000000000..3ec0f35ee0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/111-test_semi_placeholder_selector.css @@ -0,0 +1,3 @@ +.bar .baz { + color: blue; +} diff --git a/theme-compiler/tests/resources/sasslang/css/112-test_target_with_child.css b/theme-compiler/tests/resources/sasslang/css/112-test_target_with_child.css new file mode 100644 index 0000000000..cee3a34a5a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/112-test_target_with_child.css @@ -0,0 +1,3 @@ +.foo .bar, .baz .bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/113-test_three_level_extend_loop.css b/theme-compiler/tests/resources/sasslang/css/113-test_three_level_extend_loop.css new file mode 100644 index 0000000000..640ece85d5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/113-test_three_level_extend_loop.css @@ -0,0 +1,11 @@ +.baz, .bar, .foo { + a: b; +} + +.foo, .baz, .bar { + c: d; +} + +.bar, .foo, .baz { + e: f; +} diff --git a/theme-compiler/tests/resources/sasslang/css/114-test_universal_unification_with_namespaced_element_target.css b/theme-compiler/tests/resources/sasslang/css/114-test_universal_unification_with_namespaced_element_target.css new file mode 100644 index 0000000000..4988442f55 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/114-test_universal_unification_with_namespaced_element_target.css @@ -0,0 +1,3 @@ +-a ns|a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/115-test_universal_unification_with_namespaced_universal_target.css b/theme-compiler/tests/resources/sasslang/css/115-test_universal_unification_with_namespaced_universal_target.css new file mode 100644 index 0000000000..529e3073b5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/115-test_universal_unification_with_namespaced_universal_target.css @@ -0,0 +1,3 @@ +-a ns|* { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/116-test_universal_unification_with_namespaceless_element_target.css b/theme-compiler/tests/resources/sasslang/css/116-test_universal_unification_with_namespaceless_element_target.css new file mode 100644 index 0000000000..40cb85e157 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/116-test_universal_unification_with_namespaceless_element_target.css @@ -0,0 +1,3 @@ +-a a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/117-test_universal_unification_with_namespaceless_universal_target.css b/theme-compiler/tests/resources/sasslang/css/117-test_universal_unification_with_namespaceless_universal_target.css new file mode 100644 index 0000000000..012be00d83 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/117-test_universal_unification_with_namespaceless_universal_target.css @@ -0,0 +1,3 @@ +-a * { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/118-test_universal_unification_with_simple_target.css b/theme-compiler/tests/resources/sasslang/css/118-test_universal_unification_with_simple_target.css new file mode 100644 index 0000000000..4072c8bf99 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/118-test_universal_unification_with_simple_target.css @@ -0,0 +1,3 @@ +-a .foo, -a * { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/119-test_unused_placeholder_selector.css b/theme-compiler/tests/resources/sasslang/css/119-test_unused_placeholder_selector.css new file mode 100644 index 0000000000..edf0e19792 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/119-test_unused_placeholder_selector.css @@ -0,0 +1,3 @@ +.baz { + color: blue; +} diff --git a/theme-compiler/tests/resources/sasslang/css/12-test_combinator_unification_for_hacky_combinators.css b/theme-compiler/tests/resources/sasslang/css/12-test_combinator_unification_for_hacky_combinators.css new file mode 100644 index 0000000000..9f099f3228 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/12-test_combinator_unification_for_hacky_combinators.css @@ -0,0 +1,3 @@ +.a > + x, .a .b > + y, .b .a > + y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/120-test_can_resolve_generated_imports.css b/theme-compiler/tests/resources/sasslang/css/120-test_can_resolve_generated_imports.css new file mode 100644 index 0000000000..f016905be0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/120-test_can_resolve_generated_imports.css @@ -0,0 +1,11 @@ +.apple { + color: red; +} + +.orange { + color: orange; +} + +.pear { + color: green; +} diff --git a/theme-compiler/tests/resources/sasslang/css/121-test_extension_overrides.css b/theme-compiler/tests/resources/sasslang/css/121-test_extension_overrides.css new file mode 100644 index 0000000000..d3905438ac --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/121-test_extension_overrides.css @@ -0,0 +1,15 @@ +.foo { + reversed: true; +} + +.bar { + reversed: true; +} + +.foo { + reversed: true; +} + +.bar { + reversed: true; +} diff --git a/theme-compiler/tests/resources/sasslang/css/122-test_staleness_check_across_importers.css b/theme-compiler/tests/resources/sasslang/css/122-test_staleness_check_across_importers.css new file mode 100644 index 0000000000..b314b9cfea --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/122-test_staleness_check_across_importers.css @@ -0,0 +1,3 @@ +.pear { + color: green; +} diff --git a/theme-compiler/tests/resources/sasslang/css/123-compile_file.css b/theme-compiler/tests/resources/sasslang/css/123-compile_file.css new file mode 100644 index 0000000000..1eed372c0d --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/123-compile_file.css @@ -0,0 +1,3 @@ +div { + hello: world; +} diff --git a/theme-compiler/tests/resources/sasslang/css/124-test_multibyte_and_interpolation.css b/theme-compiler/tests/resources/sasslang/css/124-test_multibyte_and_interpolation.css new file mode 100644 index 0000000000..61eeb166f3 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/124-test_multibyte_and_interpolation.css @@ -0,0 +1,3 @@ +#bar { + background: a 0%; +} diff --git a/theme-compiler/tests/resources/sasslang/css/125-test_original_filename_set.css b/theme-compiler/tests/resources/sasslang/css/125-test_original_filename_set.css new file mode 100644 index 0000000000..c6ac924ffe --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/125-test_original_filename_set.css @@ -0,0 +1,7 @@ +div { + color: red; +} + +div { + color: blue; +} diff --git a/theme-compiler/tests/resources/sasslang/css/126-test_selector_tracing.css b/theme-compiler/tests/resources/sasslang/css/126-test_selector_tracing.css new file mode 100644 index 0000000000..5652cfa3c6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/126-test_selector_tracing.css @@ -0,0 +1,5 @@ +/* on line 2 of test_selector_tracing_inline.scss, in `mixed' + from line 5 of test_selector_tracing_inline.scss */ +.context .mixed { + color: red; +} diff --git a/theme-compiler/tests/resources/sasslang/css/127-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/127-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/127-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/128-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/128-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/128-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/129-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/129-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/129-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/13-test_combinator_unification_nested.css b/theme-compiler/tests/resources/sasslang/css/13-test_combinator_unification_nested.css new file mode 100644 index 0000000000..8afffe9533 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/13-test_combinator_unification_nested.css @@ -0,0 +1,3 @@ +.a > .b + x, .c.a > .d.b + y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/130-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/130-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/130-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/131-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/131-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/131-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/132-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/132-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/132-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/133-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/133-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/133-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/134-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/134-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/134-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/135-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/135-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/135-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/136-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/136-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/136-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/137-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/137-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/137-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/138-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/138-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/138-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/139-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/139-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/139-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/14-test_combinator_unification_plus_space.css b/theme-compiler/tests/resources/sasslang/css/14-test_combinator_unification_plus_space.css new file mode 100644 index 0000000000..4661b46e13 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/14-test_combinator_unification_plus_space.css @@ -0,0 +1,3 @@ +.a.b + x, .a .a.b + y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/140-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/140-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/140-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/141-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/141-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/141-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/142-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/142-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/142-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/143-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/143-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/143-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/144-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/144-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/144-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/145-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/145-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/145-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/146-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/146-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/146-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/147-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/147-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/147-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/148-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/148-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/148-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/149-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/149-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/149-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/15-test_combinator_unification_tilde_plus.css b/theme-compiler/tests/resources/sasslang/css/15-test_combinator_unification_tilde_plus.css new file mode 100644 index 0000000000..32b122441a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/15-test_combinator_unification_tilde_plus.css @@ -0,0 +1,3 @@ +.a.b + x, .a.b + y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/150-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/150-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/150-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/151-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/151-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/151-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/152-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/152-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/152-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/153-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/153-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/153-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/154-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/154-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/154-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/155-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/155-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/155-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/156-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/156-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/156-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/157-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/157-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/157-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/158-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/158-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/158-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/159-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/159-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/159-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/16-test_combinator_unification_with_newlines.css b/theme-compiler/tests/resources/sasslang/css/16-test_combinator_unification_with_newlines.css new file mode 100644 index 0000000000..28c952b075 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/16-test_combinator_unification_with_newlines.css @@ -0,0 +1,5 @@ +.a > +.b ++ x, .c.a > .d.b + y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/160-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/160-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/160-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/161-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/161-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/161-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/162-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/162-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/162-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/163-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/163-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/163-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/164-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/164-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/164-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/165-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/165-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/165-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/166-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/166-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/166-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/167-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/167-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/167-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/168-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/168-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/168-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/169-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/169-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/169-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/17-test_comma_extendee.css b/theme-compiler/tests/resources/sasslang/css/17-test_comma_extendee.css new file mode 100644 index 0000000000..d3fae7600f --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/17-test_comma_extendee.css @@ -0,0 +1,7 @@ +.foo, .baz { + a: b; +} + +.bar, .baz { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/170-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/170-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/170-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/171-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/171-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/171-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/172-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/172-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/172-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/173-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/173-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/173-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/174-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/174-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/174-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/175-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/175-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/175-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/176-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/176-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/176-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/177-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/177-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/177-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/178-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/178-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/178-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/179-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/179-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/179-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/18-test_control_flow_for.css b/theme-compiler/tests/resources/sasslang/css/18-test_control_flow_for.css new file mode 100644 index 0000000000..a9a248705e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/18-test_control_flow_for.css @@ -0,0 +1,11 @@ +.base-0, .added { + color: green; +} + +.base-1, .added { + display: block; +} + +.base-2, .added { + border: 1px solid blue; +} diff --git a/theme-compiler/tests/resources/sasslang/css/180-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/180-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/180-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/181-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/181-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/181-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/182-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/182-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/182-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/183-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/183-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/183-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/184-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/184-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/184-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/185-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/185-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/185-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/186-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/186-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/186-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/187-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/187-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/187-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/188-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/188-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/188-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/189-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/189-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/189-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/19-test_control_flow_if.css b/theme-compiler/tests/resources/sasslang/css/19-test_control_flow_if.css new file mode 100644 index 0000000000..14a1c6ef3c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/19-test_control_flow_if.css @@ -0,0 +1,7 @@ +.true, .also-true { + color: green; +} + +.false, .also-false { + color: red; +} diff --git a/theme-compiler/tests/resources/sasslang/css/190-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/190-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/190-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/191-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/191-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/191-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/192-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/192-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/192-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/193-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/193-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/193-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/194-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/194-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/194-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/195-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/195-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/195-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/196-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/196-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/196-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/197-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/197-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/197-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/198-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/198-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/198-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/199-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/199-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/199-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/2-test_basic.css b/theme-compiler/tests/resources/sasslang/css/2-test_basic.css new file mode 100644 index 0000000000..4504b8d829 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/2-test_basic.css @@ -0,0 +1,3 @@ +.foo, .bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/20-test_control_flow_while.css b/theme-compiler/tests/resources/sasslang/css/20-test_control_flow_while.css new file mode 100644 index 0000000000..a9a248705e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/20-test_control_flow_while.css @@ -0,0 +1,11 @@ +.base-0, .added { + color: green; +} + +.base-1, .added { + display: block; +} + +.base-2, .added { + border: 1px solid blue; +} diff --git a/theme-compiler/tests/resources/sasslang/css/200-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/200-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/200-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/201-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/201-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/201-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/202-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/202-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/202-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/203-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/203-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/203-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/204-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/204-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/204-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/205-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/205-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/205-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/206-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/206-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/206-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/207-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/207-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/207-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/208-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/208-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/208-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/209-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/209-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/209-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/21-test_duplicated_selector_with_newlines.css b/theme-compiler/tests/resources/sasslang/css/21-test_duplicated_selector_with_newlines.css new file mode 100644 index 0000000000..4a8a42b63c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/21-test_duplicated_selector_with_newlines.css @@ -0,0 +1,6 @@ +.example-1-1, +.example-1-2, +.my-page-1 .my-module-1-1, +.example-1-3 { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/210-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/210-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/210-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/211-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/211-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/211-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/212-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/212-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/212-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/213-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/213-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/213-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/214-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/214-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/214-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/215-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/215-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/215-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/216-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/216-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/216-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/217-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/217-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/217-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/218-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/218-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/218-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/219-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/219-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/219-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/22-test_dynamic_extendee.css b/theme-compiler/tests/resources/sasslang/css/22-test_dynamic_extendee.css new file mode 100644 index 0000000000..4504b8d829 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/22-test_dynamic_extendee.css @@ -0,0 +1,3 @@ +.foo, .bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/220-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/220-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/220-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/221-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/221-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/221-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/222-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/222-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/222-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/223-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/223-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/223-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/224-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/224-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/224-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/225-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/225-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/225-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/226-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/226-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/226-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/227-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/227-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/227-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/228-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/228-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/228-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/229-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/229-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/229-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/23-test_element_unification_with_namespaced_element_target.css b/theme-compiler/tests/resources/sasslang/css/23-test_element_unification_with_namespaced_element_target.css new file mode 100644 index 0000000000..4988442f55 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/23-test_element_unification_with_namespaced_element_target.css @@ -0,0 +1,3 @@ +-a ns|a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/230-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/230-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/230-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/231-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/231-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/231-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/232-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/232-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/232-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/233-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/233-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/233-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/234-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/234-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/234-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/235-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/235-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/235-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/236-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/236-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/236-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/237-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/237-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/237-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/238-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/238-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/238-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/239-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/239-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/239-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/24-test_element_unification_with_namespaced_universal_target.css b/theme-compiler/tests/resources/sasslang/css/24-test_element_unification_with_namespaced_universal_target.css new file mode 100644 index 0000000000..2412e84459 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/24-test_element_unification_with_namespaced_universal_target.css @@ -0,0 +1,3 @@ +-a ns|*.foo, -a ns|a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/240-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/240-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/240-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/241-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/241-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/241-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/242-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/242-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/242-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/243-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/243-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/243-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/244-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/244-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/244-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/245-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/245-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/245-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/246-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/246-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/246-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/247-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/247-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/247-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/248-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/248-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/248-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/249-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/249-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/249-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/25-test_element_unification_with_namespaceless_element_target.css b/theme-compiler/tests/resources/sasslang/css/25-test_element_unification_with_namespaceless_element_target.css new file mode 100644 index 0000000000..40cb85e157 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/25-test_element_unification_with_namespaceless_element_target.css @@ -0,0 +1,3 @@ +-a a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/250-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/250-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/250-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/251-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/251-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/251-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/252-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/252-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/252-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/253-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/253-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/253-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/254-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/254-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/254-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/255-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/255-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/255-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/256-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/256-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/256-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/257-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/257-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/257-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/258-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/258-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/258-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/259-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/259-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/259-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/26-test_element_unification_with_namespaceless_universal_target.css b/theme-compiler/tests/resources/sasslang/css/26-test_element_unification_with_namespaceless_universal_target.css new file mode 100644 index 0000000000..5e00e7c382 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/26-test_element_unification_with_namespaceless_universal_target.css @@ -0,0 +1,3 @@ +-a *.foo, -a a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/260-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/260-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/260-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/261-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/261-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/261-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/262-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/262-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/262-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/263-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/263-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/263-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/264-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/264-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/264-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/265-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/265-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/265-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/266-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/266-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/266-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/267-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/267-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/267-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/268-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/268-update_stylesheet.css new file mode 100644 index 0000000000..a634ed7c96 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/268-update_stylesheet.css @@ -0,0 +1,13 @@ +/* line 9, ../templates/_filename_fn_import.scss */ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +/* line 11, ../templates/filename_fn.scss */ +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/269-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/269-update_stylesheet.css new file mode 100644 index 0000000000..bb101f2994 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/269-update_stylesheet.css @@ -0,0 +1,98 @@ +@import url(basic.css); +@import url(../results/complex.css); +/* line 6, ../templates/importee.sass */ +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +/* line 3, ../templates/basic.sass */ +body { + font: Arial; + background: blue; +} + +/* line 7, ../templates/basic.sass */ +#page { + width: 700px; + height: 100; +} +/* line 10, ../templates/basic.sass */ +#page #header { + height: 300px; +} +/* line 12, ../templates/basic.sass */ +#page #header h1 { + font-size: 50px; + color: blue; +} + +/* line 18, ../templates/basic.sass */ +#content.user.show #container.top #column.left { + width: 100px; +} +/* line 20, ../templates/basic.sass */ +#content.user.show #container.top #column.right { + width: 600px; +} +/* line 22, ../templates/basic.sass */ +#content.user.show #container.bottom { + background: brown; +} + +/* line 13, ../templates/importee.sass */ +midrule { + inthe: middle; +} + +/* line 1, ../templates/scss_importee.scss */ +scss { + imported: yes; +} + +/* line 3, ../templates/basic.sass */ +body { + font: Arial; + background: blue; +} + +/* line 7, ../templates/basic.sass */ +#page { + width: 700px; + height: 100; +} +/* line 10, ../templates/basic.sass */ +#page #header { + height: 300px; +} +/* line 12, ../templates/basic.sass */ +#page #header h1 { + font-size: 50px; + color: blue; +} + +/* line 18, ../templates/basic.sass */ +#content.user.show #container.top #column.left { + width: 100px; +} +/* line 20, ../templates/basic.sass */ +#content.user.show #container.top #column.right { + width: 600px; +} +/* line 22, ../templates/basic.sass */ +#content.user.show #container.bottom { + background: brown; +} + +/* line 1, ../templates/_partial.sass */ +#foo { + background-color: #bbaaff; +} + +/* line 8, ../templates/scss_import.scss */ +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/27-test_element_unification_with_simple_target.css b/theme-compiler/tests/resources/sasslang/css/27-test_element_unification_with_simple_target.css new file mode 100644 index 0000000000..2e960f3aef --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/27-test_element_unification_with_simple_target.css @@ -0,0 +1,3 @@ +-a .foo, -a a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/270-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/270-update_stylesheet.css new file mode 100644 index 0000000000..dd142651a4 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/270-update_stylesheet.css @@ -0,0 +1,4 @@ +/* line 1, ../templates/scss_importee.scss */ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/271-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/271-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/271-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/272-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/272-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/272-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/273-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/273-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/273-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/274-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/274-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/274-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/275-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/275-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/275-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/276-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/276-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/276-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/277-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/277-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/277-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/278-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/278-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/278-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/279-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/279-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/279-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/28-test_extend_cross_branch_redundancy_elimination.css b/theme-compiler/tests/resources/sasslang/css/28-test_extend_cross_branch_redundancy_elimination.css new file mode 100644 index 0000000000..54120b20c2 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/28-test_extend_cross_branch_redundancy_elimination.css @@ -0,0 +1,3 @@ +a c d, b c a d { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/280-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/280-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/280-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/281-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/281-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/281-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/282-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/282-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/282-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/283-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/283-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/283-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/284-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/284-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/284-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/285-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/285-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/285-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/286-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/286-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/286-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/287-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/287-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/287-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/288-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/288-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/288-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/289-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/289-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/289-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/29-test_extend_does_not_warn_when_one_extension_fails_but_others_dont.css b/theme-compiler/tests/resources/sasslang/css/29-test_extend_does_not_warn_when_one_extension_fails_but_others_dont.css new file mode 100644 index 0000000000..47d93c5dc1 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/29-test_extend_does_not_warn_when_one_extension_fails_but_others_dont.css @@ -0,0 +1,7 @@ +a.bar { + a: b; +} + +.bar, b.foo { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/290-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/290-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/290-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/291-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/291-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/291-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/292-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/292-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/292-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/293-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/293-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/293-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/294-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/294-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/294-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/295-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/295-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/295-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/296-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/296-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/296-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/297-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/297-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/297-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/298-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/298-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/298-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/299-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/299-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/299-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/3-test_basic_extend_loop.css b/theme-compiler/tests/resources/sasslang/css/3-test_basic_extend_loop.css new file mode 100644 index 0000000000..bcf45b83aa --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/3-test_basic_extend_loop.css @@ -0,0 +1,7 @@ +.bar, .foo { + a: b; +} + +.foo, .bar { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/30-test_extend_out_of_media.css b/theme-compiler/tests/resources/sasslang/css/30-test_extend_out_of_media.css new file mode 100644 index 0000000000..234d524066 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/30-test_extend_out_of_media.css @@ -0,0 +1,3 @@ +.foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/300-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/300-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/300-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/301-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/301-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/301-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/302-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/302-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/302-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/303-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/303-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/303-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/304-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/304-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/304-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/305-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/305-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/305-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/306-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/306-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/306-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/307-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/307-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/307-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/308-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/308-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/308-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/309-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/309-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/309-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/31-test_extend_out_of_nested_directives.css b/theme-compiler/tests/resources/sasslang/css/31-test_extend_out_of_nested_directives.css new file mode 100644 index 0000000000..c4d681dac3 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/31-test_extend_out_of_nested_directives.css @@ -0,0 +1,7 @@ +@media screen { + .foo { + a: b; + } + + @flooblehoof {} +} diff --git a/theme-compiler/tests/resources/sasslang/css/310-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/310-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/310-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/311-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/311-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/311-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/312-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/312-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/312-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/313-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/313-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/313-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/314-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/314-update_stylesheet.css new file mode 100644 index 0000000000..61903b39ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/314-update_stylesheet.css @@ -0,0 +1,11 @@ +filename { + imported: /test/sass/templates/_filename_fn_import.scss; +} + +filename { + local: /test/sass/templates/filename_fn.scss; + local-mixin: /test/sass/templates/filename_fn.scss; + local-function: /test/sass/templates/filename_fn.scss; + imported-mixin: /test/sass/templates/_filename_fn_import.scss; + imported-function: /test/sass/templates/_filename_fn_import.scss; +} diff --git a/theme-compiler/tests/resources/sasslang/css/315-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/315-update_stylesheet.css new file mode 100644 index 0000000000..f5e45c8df5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/315-update_stylesheet.css @@ -0,0 +1,79 @@ +@import url(basic.css); +@import url(../results/complex.css); +imported { + otherconst: hello; + myconst: goodbye; + pre-mixin: here; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +midrule { + inthe: middle; +} + +scss { + imported: yes; +} + +body { + font: Arial; + background: blue; +} + +#page { + width: 700px; + height: 100; +} +#page #header { + height: 300px; +} +#page #header h1 { + font-size: 50px; + color: blue; +} + +#content.user.show #container.top #column.left { + width: 100px; +} +#content.user.show #container.top #column.right { + width: 600px; +} +#content.user.show #container.bottom { + background: brown; +} + +#foo { + background-color: #bbaaff; +} + +nonimported { + myconst: hello; + otherconst: goodbye; + post-mixin: here; +} diff --git a/theme-compiler/tests/resources/sasslang/css/316-update_stylesheet.css b/theme-compiler/tests/resources/sasslang/css/316-update_stylesheet.css new file mode 100644 index 0000000000..371c2aba44 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/316-update_stylesheet.css @@ -0,0 +1,3 @@ +scss { + imported: yes; +} diff --git a/theme-compiler/tests/resources/sasslang/css/317-test_almost_ambiguous_nested_rules_and_declarations.css b/theme-compiler/tests/resources/sasslang/css/317-test_almost_ambiguous_nested_rules_and_declarations.css new file mode 100644 index 0000000000..0a3fb76183 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/317-test_almost_ambiguous_nested_rules_and_declarations.css @@ -0,0 +1,9 @@ +foo { + bar: baz bang bop biddle woo look at all these elems; +} +foo bar:baz:bang:bop:biddle:woo:look:at:all:these:pseudoclasses { + a: b; +} +foo bar:baz bang bop biddle woo look at all these elems { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/318-test_basic_function.css b/theme-compiler/tests/resources/sasslang/css/318-test_basic_function.css new file mode 100644 index 0000000000..1f390ad5fd --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/318-test_basic_function.css @@ -0,0 +1,3 @@ +bar { + a: 3; +} diff --git a/theme-compiler/tests/resources/sasslang/css/319-test_basic_mixins.css b/theme-compiler/tests/resources/sasslang/css/319-test_basic_mixins.css new file mode 100644 index 0000000000..234d524066 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/319-test_basic_mixins.css @@ -0,0 +1,3 @@ +.foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/32-test_extend_out_of_unknown_directive.css b/theme-compiler/tests/resources/sasslang/css/32-test_extend_out_of_unknown_directive.css new file mode 100644 index 0000000000..31bf52065a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/32-test_extend_out_of_unknown_directive.css @@ -0,0 +1,5 @@ +.foo { + a: b; +} + +@flooblehoof {} diff --git a/theme-compiler/tests/resources/sasslang/css/320-test_basic_prop_name_interpolation.css b/theme-compiler/tests/resources/sasslang/css/320-test_basic_prop_name_interpolation.css new file mode 100644 index 0000000000..d347fe1f64 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/320-test_basic_prop_name_interpolation.css @@ -0,0 +1,3 @@ +foo { + barbazbang: blip; +} diff --git a/theme-compiler/tests/resources/sasslang/css/321-test_basic_selector_interpolation.css b/theme-compiler/tests/resources/sasslang/css/321-test_basic_selector_interpolation.css new file mode 100644 index 0000000000..f999940ceb --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/321-test_basic_selector_interpolation.css @@ -0,0 +1,3 @@ +foo 3 baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/322-test_block_comment_in_script.css b/theme-compiler/tests/resources/sasslang/css/322-test_block_comment_in_script.css new file mode 100644 index 0000000000..d3cb0d033d --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/322-test_block_comment_in_script.css @@ -0,0 +1,3 @@ +foo { + a: 1bar; +} diff --git a/theme-compiler/tests/resources/sasslang/css/323-test_comment_after_if_directive.css b/theme-compiler/tests/resources/sasslang/css/323-test_comment_after_if_directive.css new file mode 100644 index 0000000000..6728c23263 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/323-test_comment_after_if_directive.css @@ -0,0 +1,5 @@ +foo { + a: b; + /* This is a comment */ + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/324-test_css_import_directive.css b/theme-compiler/tests/resources/sasslang/css/324-test_css_import_directive.css new file mode 100644 index 0000000000..0d876d06e8 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/324-test_css_import_directive.css @@ -0,0 +1 @@ +@import url(foo.css); diff --git a/theme-compiler/tests/resources/sasslang/css/325-test_css_import_directive.css b/theme-compiler/tests/resources/sasslang/css/325-test_css_import_directive.css new file mode 100644 index 0000000000..0d876d06e8 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/325-test_css_import_directive.css @@ -0,0 +1 @@ +@import url(foo.css); diff --git a/theme-compiler/tests/resources/sasslang/css/326-test_css_import_directive.css b/theme-compiler/tests/resources/sasslang/css/326-test_css_import_directive.css new file mode 100644 index 0000000000..e2bde2649a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/326-test_css_import_directive.css @@ -0,0 +1 @@ +@import url("foo.css"); diff --git a/theme-compiler/tests/resources/sasslang/css/327-test_css_import_directive.css b/theme-compiler/tests/resources/sasslang/css/327-test_css_import_directive.css new file mode 100644 index 0000000000..e2bde2649a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/327-test_css_import_directive.css @@ -0,0 +1 @@ +@import url("foo.css"); diff --git a/theme-compiler/tests/resources/sasslang/css/328-test_css_import_directive.css b/theme-compiler/tests/resources/sasslang/css/328-test_css_import_directive.css new file mode 100644 index 0000000000..0d876d06e8 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/328-test_css_import_directive.css @@ -0,0 +1 @@ +@import url(foo.css); diff --git a/theme-compiler/tests/resources/sasslang/css/329-test_debug_directive.css b/theme-compiler/tests/resources/sasslang/css/329-test_debug_directive.css new file mode 100644 index 0000000000..d7a4a88fb1 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/329-test_debug_directive.css @@ -0,0 +1,7 @@ +foo { + a: b; +} + +bar { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/33-test_extend_redundancy_elimination_never_eliminates_base_selector.css b/theme-compiler/tests/resources/sasslang/css/33-test_extend_redundancy_elimination_never_eliminates_base_selector.css new file mode 100644 index 0000000000..4a4aa6d222 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/33-test_extend_redundancy_elimination_never_eliminates_base_selector.css @@ -0,0 +1,3 @@ +a.foo, .foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/330-test_directive_interpolation.css b/theme-compiler/tests/resources/sasslang/css/330-test_directive_interpolation.css new file mode 100644 index 0000000000..4401c2734c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/330-test_directive_interpolation.css @@ -0,0 +1,3 @@ +@foo bar12 qux { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/331-test_dynamic_media_import.css b/theme-compiler/tests/resources/sasslang/css/331-test_dynamic_media_import.css new file mode 100644 index 0000000000..e76d990805 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/331-test_dynamic_media_import.css @@ -0,0 +1 @@ +@import "foo" print and (-webkit-min-device-pixel-ratio-foo: 25); diff --git a/theme-compiler/tests/resources/sasslang/css/332-test_each_directive.css b/theme-compiler/tests/resources/sasslang/css/332-test_each_directive.css new file mode 100644 index 0000000000..849fd4a906 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/332-test_each_directive.css @@ -0,0 +1,13 @@ +a { + b: 1px; + b: 2px; + b: 3px; + b: 4px; +} + +c { + d: foo; + d: bar; + d: baz; + d: bang; +} diff --git a/theme-compiler/tests/resources/sasslang/css/333-test_empty_content.css b/theme-compiler/tests/resources/sasslang/css/333-test_empty_content.css new file mode 100644 index 0000000000..f1c0f6c996 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/333-test_empty_content.css @@ -0,0 +1,3 @@ +a { + b: c; +} diff --git a/theme-compiler/tests/resources/sasslang/css/334-test_for_directive.css b/theme-compiler/tests/resources/sasslang/css/334-test_for_directive.css new file mode 100644 index 0000000000..1de8f29fb6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/334-test_for_directive.css @@ -0,0 +1,6 @@ +.foo { + a: 1; + a: 2; + a: 3; + a: 4; +} diff --git a/theme-compiler/tests/resources/sasslang/css/335-test_function_args.css b/theme-compiler/tests/resources/sasslang/css/335-test_function_args.css new file mode 100644 index 0000000000..1f390ad5fd --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/335-test_function_args.css @@ -0,0 +1,3 @@ +bar { + a: 3; +} diff --git a/theme-compiler/tests/resources/sasslang/css/336-test_function_empty_var_args.css b/theme-compiler/tests/resources/sasslang/css/336-test_function_empty_var_args.css new file mode 100644 index 0000000000..3ac4e6c2e0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/336-test_function_empty_var_args.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 1, b: 0"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/337-test_function_splat_args.css b/theme-compiler/tests/resources/sasslang/css/337-test_function_splat_args.css new file mode 100644 index 0000000000..49a0b9e87e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/337-test_function_splat_args.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 1, b: 2, c: 3, d: 4"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/338-test_function_splat_args_with_var_args.css b/theme-compiler/tests/resources/sasslang/css/338-test_function_splat_args_with_var_args.css new file mode 100644 index 0000000000..070626c15d --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/338-test_function_splat_args_with_var_args.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 1, b: 2, 3, 4"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/339-test_function_splat_args_with_var_args_and_normal_args.css b/theme-compiler/tests/resources/sasslang/css/339-test_function_splat_args_with_var_args_and_normal_args.css new file mode 100644 index 0000000000..50bf9e3e41 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/339-test_function_splat_args_with_var_args_and_normal_args.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 1, b: 2, c: 3, 4"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/34-test_extend_redundancy_elimination_when_it_would_preserve_specificity.css b/theme-compiler/tests/resources/sasslang/css/34-test_extend_redundancy_elimination_when_it_would_preserve_specificity.css new file mode 100644 index 0000000000..77b7586abb --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/34-test_extend_redundancy_elimination_when_it_would_preserve_specificity.css @@ -0,0 +1,3 @@ +.bar a { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/340-test_function_splat_args_with_var_args_preserves_separator.css b/theme-compiler/tests/resources/sasslang/css/340-test_function_splat_args_with_var_args_preserves_separator.css new file mode 100644 index 0000000000..a461cb47ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/340-test_function_splat_args_with_var_args_preserves_separator.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 1, b: 2 3 4 5"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/341-test_function_splat_expression.css b/theme-compiler/tests/resources/sasslang/css/341-test_function_splat_expression.css new file mode 100644 index 0000000000..49a0b9e87e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/341-test_function_splat_expression.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 1, b: 2, c: 3, d: 4"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/342-test_function_var_and_splat_args_pass_through_keywords.css b/theme-compiler/tests/resources/sasslang/css/342-test_function_var_and_splat_args_pass_through_keywords.css new file mode 100644 index 0000000000..2e7063d719 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/342-test_function_var_and_splat_args_pass_through_keywords.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 3, b: 1, c: 2"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/343-test_function_var_args.css b/theme-compiler/tests/resources/sasslang/css/343-test_function_var_args.css new file mode 100644 index 0000000000..070626c15d --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/343-test_function_var_args.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 1, b: 2, 3, 4"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/344-test_function_var_args_act_like_list.css b/theme-compiler/tests/resources/sasslang/css/344-test_function_var_args_act_like_list.css new file mode 100644 index 0000000000..6aef32956b --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/344-test_function_var_args_act_like_list.css @@ -0,0 +1,3 @@ +.foo { + val: "a: 3, b: 3"; +} diff --git a/theme-compiler/tests/resources/sasslang/css/345-test_function_var_args_passed_to_native.css b/theme-compiler/tests/resources/sasslang/css/345-test_function_var_args_passed_to_native.css new file mode 100644 index 0000000000..68a88d7db9 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/345-test_function_var_args_passed_to_native.css @@ -0,0 +1,3 @@ +.foo { + val: #102035; +} diff --git a/theme-compiler/tests/resources/sasslang/css/346-test_guard_assign.css b/theme-compiler/tests/resources/sasslang/css/346-test_guard_assign.css new file mode 100644 index 0000000000..1f3372e4de --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/346-test_guard_assign.css @@ -0,0 +1,3 @@ +foo { + a: 1; +} diff --git a/theme-compiler/tests/resources/sasslang/css/347-test_http_import.css b/theme-compiler/tests/resources/sasslang/css/347-test_http_import.css new file mode 100644 index 0000000000..89e12cb973 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/347-test_http_import.css @@ -0,0 +1 @@ +@import "http://fonts.googleapis.com/css?family=Droid+Sans"; diff --git a/theme-compiler/tests/resources/sasslang/css/348-test_if_directive.css b/theme-compiler/tests/resources/sasslang/css/348-test_if_directive.css new file mode 100644 index 0000000000..d489ae6554 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/348-test_if_directive.css @@ -0,0 +1,3 @@ +foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/349-test_import_with_interpolation.css b/theme-compiler/tests/resources/sasslang/css/349-test_import_with_interpolation.css new file mode 100644 index 0000000000..51cc2bfca2 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/349-test_import_with_interpolation.css @@ -0,0 +1 @@ +@import url("http://fonts.googleapis.com/css?family=Droid+Sans"); diff --git a/theme-compiler/tests/resources/sasslang/css/35-test_extend_redundancy_elimination_when_it_would_reduce_specificity.css b/theme-compiler/tests/resources/sasslang/css/35-test_extend_redundancy_elimination_when_it_would_reduce_specificity.css new file mode 100644 index 0000000000..eb28eca8fa --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/35-test_extend_redundancy_elimination_when_it_would_reduce_specificity.css @@ -0,0 +1,3 @@ +a, a.foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/350-test_interpolation.css b/theme-compiler/tests/resources/sasslang/css/350-test_interpolation.css new file mode 100644 index 0000000000..8b44646800 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/350-test_interpolation.css @@ -0,0 +1,3 @@ +ul li#foo a span.label { + foo: bar; +} diff --git a/theme-compiler/tests/resources/sasslang/css/351-test_interpolation_with_bracket_on_next_line.css b/theme-compiler/tests/resources/sasslang/css/351-test_interpolation_with_bracket_on_next_line.css new file mode 100644 index 0000000000..1d6eda12d4 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/351-test_interpolation_with_bracket_on_next_line.css @@ -0,0 +1,3 @@ +a.foo b { + color: red; +} diff --git a/theme-compiler/tests/resources/sasslang/css/352-test_keyword_args_in_functions.css b/theme-compiler/tests/resources/sasslang/css/352-test_keyword_args_in_functions.css new file mode 100644 index 0000000000..e3d175a831 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/352-test_keyword_args_in_functions.css @@ -0,0 +1,3 @@ +.keyed { + color: rgba(170, 119, 204, 0.4); +} diff --git a/theme-compiler/tests/resources/sasslang/css/353-test_line_comment_in_script.css b/theme-compiler/tests/resources/sasslang/css/353-test_line_comment_in_script.css new file mode 100644 index 0000000000..62a194463e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/353-test_line_comment_in_script.css @@ -0,0 +1,3 @@ +foo { + a: 1blang; +} diff --git a/theme-compiler/tests/resources/sasslang/css/354-test_media_import.css b/theme-compiler/tests/resources/sasslang/css/354-test_media_import.css new file mode 100644 index 0000000000..09f590534e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/354-test_media_import.css @@ -0,0 +1 @@ +@import "./fonts.sass" all; diff --git a/theme-compiler/tests/resources/sasslang/css/355-test_media_interpolation.css b/theme-compiler/tests/resources/sasslang/css/355-test_media_interpolation.css new file mode 100644 index 0000000000..86123395dc --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/355-test_media_interpolation.css @@ -0,0 +1,3 @@ +@media bar12 { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/356-test_media_interpolation_with_reparse.css b/theme-compiler/tests/resources/sasslang/css/356-test_media_interpolation_with_reparse.css new file mode 100644 index 0000000000..e94041a035 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/356-test_media_interpolation_with_reparse.css @@ -0,0 +1,12 @@ +@media screen and (max-width: 300px) { + a: b; +} +@media screen and (max-width: 300px) { + a: b; +} +@media screen and (max-width: 300px) { + a: b; +} +@media screen and (max-width: 300px), print and (max-width: 300px) { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/357-test_mixin_content.css b/theme-compiler/tests/resources/sasslang/css/357-test_mixin_content.css new file mode 100644 index 0000000000..fdeaf9c315 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/357-test_mixin_content.css @@ -0,0 +1,9 @@ +.parent { + background-color: red; + border-color: red; +} +.parent .child { + background-color: yellow; + color: blue; + border-color: yellow; +} diff --git a/theme-compiler/tests/resources/sasslang/css/358-test_mixin_empty_var_args.css b/theme-compiler/tests/resources/sasslang/css/358-test_mixin_empty_var_args.css new file mode 100644 index 0000000000..402e0ec7b4 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/358-test_mixin_empty_var_args.css @@ -0,0 +1,4 @@ +.foo { + a: 1; + b: 0; +} diff --git a/theme-compiler/tests/resources/sasslang/css/359-test_mixin_splat_args.css b/theme-compiler/tests/resources/sasslang/css/359-test_mixin_splat_args.css new file mode 100644 index 0000000000..aa9df915c6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/359-test_mixin_splat_args.css @@ -0,0 +1,6 @@ +.foo { + a: 1; + b: 2; + c: 3; + d: 4; +} diff --git a/theme-compiler/tests/resources/sasslang/css/36-test_extend_self_loop.css b/theme-compiler/tests/resources/sasslang/css/36-test_extend_self_loop.css new file mode 100644 index 0000000000..234d524066 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/36-test_extend_self_loop.css @@ -0,0 +1,3 @@ +.foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/360-test_mixin_splat_args_with_var_args.css b/theme-compiler/tests/resources/sasslang/css/360-test_mixin_splat_args_with_var_args.css new file mode 100644 index 0000000000..bd3cc2df37 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/360-test_mixin_splat_args_with_var_args.css @@ -0,0 +1,4 @@ +.foo { + a: 1; + b: 2, 3, 4; +} diff --git a/theme-compiler/tests/resources/sasslang/css/361-test_mixin_splat_args_with_var_args_and_normal_args.css b/theme-compiler/tests/resources/sasslang/css/361-test_mixin_splat_args_with_var_args_and_normal_args.css new file mode 100644 index 0000000000..4b63311227 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/361-test_mixin_splat_args_with_var_args_and_normal_args.css @@ -0,0 +1,5 @@ +.foo { + a: 1; + b: 2; + c: 3, 4; +} diff --git a/theme-compiler/tests/resources/sasslang/css/362-test_mixin_splat_args_with_var_args_preserves_separator.css b/theme-compiler/tests/resources/sasslang/css/362-test_mixin_splat_args_with_var_args_preserves_separator.css new file mode 100644 index 0000000000..ae369739a6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/362-test_mixin_splat_args_with_var_args_preserves_separator.css @@ -0,0 +1,4 @@ +.foo { + a: 1; + b: 2 3 4 5; +} diff --git a/theme-compiler/tests/resources/sasslang/css/363-test_mixin_splat_expression.css b/theme-compiler/tests/resources/sasslang/css/363-test_mixin_splat_expression.css new file mode 100644 index 0000000000..aa9df915c6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/363-test_mixin_splat_expression.css @@ -0,0 +1,6 @@ +.foo { + a: 1; + b: 2; + c: 3; + d: 4; +} diff --git a/theme-compiler/tests/resources/sasslang/css/364-test_mixin_var_and_splat_args_pass_through_keywords.css b/theme-compiler/tests/resources/sasslang/css/364-test_mixin_var_and_splat_args_pass_through_keywords.css new file mode 100644 index 0000000000..a5fed46d00 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/364-test_mixin_var_and_splat_args_pass_through_keywords.css @@ -0,0 +1,5 @@ +.foo { + a: 3; + b: 1; + c: 2; +} diff --git a/theme-compiler/tests/resources/sasslang/css/365-test_mixin_var_args.css b/theme-compiler/tests/resources/sasslang/css/365-test_mixin_var_args.css new file mode 100644 index 0000000000..bd3cc2df37 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/365-test_mixin_var_args.css @@ -0,0 +1,4 @@ +.foo { + a: 1; + b: 2, 3, 4; +} diff --git a/theme-compiler/tests/resources/sasslang/css/366-test_mixin_var_args_act_like_list.css b/theme-compiler/tests/resources/sasslang/css/366-test_mixin_var_args_act_like_list.css new file mode 100644 index 0000000000..51f4696dae --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/366-test_mixin_var_args_act_like_list.css @@ -0,0 +1,4 @@ +.foo { + a: 3; + b: 3; +} diff --git a/theme-compiler/tests/resources/sasslang/css/367-test_mixin_with_keyword_args.css b/theme-compiler/tests/resources/sasslang/css/367-test_mixin_with_keyword_args.css new file mode 100644 index 0000000000..a9cc14d472 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/367-test_mixin_with_keyword_args.css @@ -0,0 +1,5 @@ +.mixed { + required: foo; + arg1: default-val1; + arg2: non-default-val2; +} diff --git a/theme-compiler/tests/resources/sasslang/css/368-test_mixins_with_args.css b/theme-compiler/tests/resources/sasslang/css/368-test_mixins_with_args.css new file mode 100644 index 0000000000..318a3f6ffb --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/368-test_mixins_with_args.css @@ -0,0 +1,3 @@ +.foo { + a: bar; +} diff --git a/theme-compiler/tests/resources/sasslang/css/369-test_mixins_with_empty_args.css b/theme-compiler/tests/resources/sasslang/css/369-test_mixins_with_empty_args.css new file mode 100644 index 0000000000..234d524066 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/369-test_mixins_with_empty_args.css @@ -0,0 +1,3 @@ +.foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/37-test_extend_warns_when_extendee_doesnt_exist.css b/theme-compiler/tests/resources/sasslang/css/37-test_extend_warns_when_extendee_doesnt_exist.css new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/37-test_extend_warns_when_extendee_doesnt_exist.css @@ -0,0 +1 @@ + diff --git a/theme-compiler/tests/resources/sasslang/css/370-test_moz_document_interpolation.css b/theme-compiler/tests/resources/sasslang/css/370-test_moz_document_interpolation.css new file mode 100644 index 0000000000..c79efac96d --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/370-test_moz_document_interpolation.css @@ -0,0 +1,8 @@ +@-moz-document url(http://sass-lang.com/), + url-prefix(http://sass-lang.com/docs), + domain(sass-lang.com), + domain("sass-lang.com") { + .foo { + a: b; + } +} diff --git a/theme-compiler/tests/resources/sasslang/css/371-test_multiline_var.css b/theme-compiler/tests/resources/sasslang/css/371-test_multiline_var.css new file mode 100644 index 0000000000..408ac525b0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/371-test_multiline_var.css @@ -0,0 +1,5 @@ +foo { + a: 3; + b: false; + c: a b c; +} diff --git a/theme-compiler/tests/resources/sasslang/css/372-test_namespace_properties.css b/theme-compiler/tests/resources/sasslang/css/372-test_namespace_properties.css new file mode 100644 index 0000000000..63104cf615 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/372-test_namespace_properties.css @@ -0,0 +1,5 @@ +foo { + bar: baz; + bang-bip: 1px; + bang-bop: bar; +} diff --git a/theme-compiler/tests/resources/sasslang/css/373-test_namespace_properties_with_script_value.css b/theme-compiler/tests/resources/sasslang/css/373-test_namespace_properties_with_script_value.css new file mode 100644 index 0000000000..8703334aca --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/373-test_namespace_properties_with_script_value.css @@ -0,0 +1,5 @@ +foo { + bar: bazbang; + bar-bip: bop; + bar-bing: bop; +} diff --git a/theme-compiler/tests/resources/sasslang/css/374-test_namespace_properties_with_value.css b/theme-compiler/tests/resources/sasslang/css/374-test_namespace_properties_with_value.css new file mode 100644 index 0000000000..afca3126ac --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/374-test_namespace_properties_with_value.css @@ -0,0 +1,5 @@ +foo { + bar: baz; + bar-bip: bop; + bar-bing: bop; +} diff --git a/theme-compiler/tests/resources/sasslang/css/375-test_nested_function_def.css b/theme-compiler/tests/resources/sasslang/css/375-test_nested_function_def.css new file mode 100644 index 0000000000..ddda4dd1d0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/375-test_nested_function_def.css @@ -0,0 +1,7 @@ +foo { + a: 1; +} + +bar { + b: foo(); +} diff --git a/theme-compiler/tests/resources/sasslang/css/376-test_nested_function_shadow.css b/theme-compiler/tests/resources/sasslang/css/376-test_nested_function_shadow.css new file mode 100644 index 0000000000..beb02efb32 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/376-test_nested_function_shadow.css @@ -0,0 +1,7 @@ +foo { + a: 2; +} + +baz { + b: 1; +} diff --git a/theme-compiler/tests/resources/sasslang/css/377-test_nested_mixin_def.css b/theme-compiler/tests/resources/sasslang/css/377-test_nested_mixin_def.css new file mode 100644 index 0000000000..d489ae6554 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/377-test_nested_mixin_def.css @@ -0,0 +1,3 @@ +foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/378-test_nested_mixin_shadow.css b/theme-compiler/tests/resources/sasslang/css/378-test_nested_mixin_shadow.css new file mode 100644 index 0000000000..4cfbdd8028 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/378-test_nested_mixin_shadow.css @@ -0,0 +1,7 @@ +foo { + c: d; +} + +baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/379-test_nested_namespace_properties.css b/theme-compiler/tests/resources/sasslang/css/379-test_nested_namespace_properties.css new file mode 100644 index 0000000000..0b5b46772e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/379-test_nested_namespace_properties.css @@ -0,0 +1,6 @@ +foo { + bar: baz; + bang-bip: 1px; + bang-bop: bar; + bang-blat-baf: bort; +} diff --git a/theme-compiler/tests/resources/sasslang/css/38-test_extend_warns_when_extension_fails.css b/theme-compiler/tests/resources/sasslang/css/38-test_extend_warns_when_extension_fails.css new file mode 100644 index 0000000000..29116d880b --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/38-test_extend_warns_when_extension_fails.css @@ -0,0 +1,3 @@ +a.bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/380-test_nested_rules.css b/theme-compiler/tests/resources/sasslang/css/380-test_nested_rules.css new file mode 100644 index 0000000000..429820f069 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/380-test_nested_rules.css @@ -0,0 +1,3 @@ +foo bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/381-test_nested_rules_with_declarations.css b/theme-compiler/tests/resources/sasslang/css/381-test_nested_rules_with_declarations.css new file mode 100644 index 0000000000..81d426c62f --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/381-test_nested_rules_with_declarations.css @@ -0,0 +1,6 @@ +foo { + a: b; +} +foo bar { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/382-test_nested_rules_with_fancy_selectors.css b/theme-compiler/tests/resources/sasslang/css/382-test_nested_rules_with_fancy_selectors.css new file mode 100644 index 0000000000..2d39afb85b --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/382-test_nested_rules_with_fancy_selectors.css @@ -0,0 +1,9 @@ +foo .bar { + a: b; +} +foo :baz { + c: d; +} +foo bang:bop { + e: f; +} diff --git a/theme-compiler/tests/resources/sasslang/css/383-test_newline_selector_rendered_multiple_times.css b/theme-compiler/tests/resources/sasslang/css/383-test_newline_selector_rendered_multiple_times.css new file mode 100644 index 0000000000..b3be4147d3 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/383-test_newline_selector_rendered_multiple_times.css @@ -0,0 +1,9 @@ +form input, +form select { + color: white; +} + +form input, +form select { + color: white; +} diff --git a/theme-compiler/tests/resources/sasslang/css/384-test_newlines_in_selectors.css b/theme-compiler/tests/resources/sasslang/css/384-test_newlines_in_selectors.css new file mode 100644 index 0000000000..91fe7da62c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/384-test_newlines_in_selectors.css @@ -0,0 +1,4 @@ +foo +bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/385-test_newlines_removed_from_selectors_when_compressed.css b/theme-compiler/tests/resources/sasslang/css/385-test_newlines_removed_from_selectors_when_compressed.css new file mode 100644 index 0000000000..5032ec877d --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/385-test_newlines_removed_from_selectors_when_compressed.css @@ -0,0 +1,4 @@ +z a +, z b { + display: block; +} diff --git a/theme-compiler/tests/resources/sasslang/css/386-test_no_buffer_overflow.css b/theme-compiler/tests/resources/sasslang/css/386-test_no_buffer_overflow.css new file mode 100644 index 0000000000..f500b39da9 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/386-test_no_buffer_overflow.css @@ -0,0 +1,7 @@ +.aaa, .bbb, .xxx, .yyy, .zzz { + background-color: white; +} + +.aaa .aaa .aaa, .bbb .aaa .aaa, .xxx .aaa .aaa, .yyy .aaa .aaa, .zzz .aaa .aaa, .aaa .bbb .aaa, .bbb .bbb .aaa, .xxx .bbb .aaa, .yyy .bbb .aaa, .zzz .bbb .aaa, .aaa .xxx .aaa, .bbb .xxx .aaa, .xxx .xxx .aaa, .yyy .xxx .aaa, .zzz .xxx .aaa, .aaa .yyy .aaa, .bbb .yyy .aaa, .xxx .yyy .aaa, .yyy .yyy .aaa, .zzz .yyy .aaa, .aaa .zzz .aaa, .bbb .zzz .aaa, .xxx .zzz .aaa, .yyy .zzz .aaa, .zzz .zzz .aaa, .aaa .aaa .bbb, .bbb .aaa .bbb, .xxx .aaa .bbb, .yyy .aaa .bbb, .zzz .aaa .bbb, .aaa .bbb .bbb, .bbb .bbb .bbb, .xxx .bbb .bbb, .yyy .bbb .bbb, .zzz .bbb .bbb, .aaa .xxx .bbb, .bbb .xxx .bbb, .xxx .xxx .bbb, .yyy .xxx .bbb, .zzz .xxx .bbb, .aaa .yyy .bbb, .bbb .yyy .bbb, .xxx .yyy .bbb, .yyy .yyy .bbb, .zzz .yyy .bbb, .aaa .zzz .bbb, .bbb .zzz .bbb, .xxx .zzz .bbb, .yyy .zzz .bbb, .zzz .zzz .bbb, .aaa .aaa .xxx, .bbb .aaa .xxx, .xxx .aaa .xxx, .yyy .aaa .xxx, .zzz .aaa .xxx, .aaa .bbb .xxx, .bbb .bbb .xxx, .xxx .bbb .xxx, .yyy .bbb .xxx, .zzz .bbb .xxx, .aaa .xxx .xxx, .bbb .xxx .xxx, .xxx .xxx .xxx, .yyy .xxx .xxx, .zzz .xxx .xxx, .aaa .yyy .xxx, .bbb .yyy .xxx, .xxx .yyy .xxx, .yyy .yyy .xxx, .zzz .yyy .xxx, .aaa .zzz .xxx, .bbb .zzz .xxx, .xxx .zzz .xxx, .yyy .zzz .xxx, .zzz .zzz .xxx, .aaa .aaa .yyy, .bbb .aaa .yyy, .xxx .aaa .yyy, .yyy .aaa .yyy, .zzz .aaa .yyy, .aaa .bbb .yyy, .bbb .bbb .yyy, .xxx .bbb .yyy, .yyy .bbb .yyy, .zzz .bbb .yyy, .aaa .xxx .yyy, .bbb .xxx .yyy, .xxx .xxx .yyy, .yyy .xxx .yyy, .zzz .xxx .yyy, .aaa .yyy .yyy, .bbb .yyy .yyy, .xxx .yyy .yyy, .yyy .yyy .yyy, .zzz .yyy .yyy, .aaa .zzz .yyy, .bbb .zzz .yyy, .xxx .zzz .yyy, .yyy .zzz .yyy, .zzz .zzz .yyy, .aaa .aaa .zzz, .bbb .aaa .zzz, .xxx .aaa .zzz, .yyy .aaa .zzz, .zzz .aaa .zzz, .aaa .bbb .zzz, .bbb .bbb .zzz, .xxx .bbb .zzz, .yyy .bbb .zzz, .zzz .bbb .zzz, .aaa .xxx .zzz, .bbb .xxx .zzz, .xxx .xxx .zzz, .yyy .xxx .zzz, .zzz .xxx .zzz, .aaa .yyy .zzz, .bbb .yyy .zzz, .xxx .yyy .zzz, .yyy .yyy .zzz, .zzz .yyy .zzz, .aaa .zzz .zzz, .bbb .zzz .zzz, .xxx .zzz .zzz, .yyy .zzz .zzz, .zzz .zzz .zzz { + background-color: black; +} diff --git a/theme-compiler/tests/resources/sasslang/css/387-test_no_namespace_properties_without_space.css b/theme-compiler/tests/resources/sasslang/css/387-test_no_namespace_properties_without_space.css new file mode 100644 index 0000000000..5e3b26b04c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/387-test_no_namespace_properties_without_space.css @@ -0,0 +1,3 @@ +foo bar:baz { + bip: bop; +} diff --git a/theme-compiler/tests/resources/sasslang/css/388-test_one_line_comments.css b/theme-compiler/tests/resources/sasslang/css/388-test_one_line_comments.css new file mode 100644 index 0000000000..371683ff40 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/388-test_one_line_comments.css @@ -0,0 +1,3 @@ +.foo { + baz: bang; +} diff --git a/theme-compiler/tests/resources/sasslang/css/389-test_options_passed_to_script.css b/theme-compiler/tests/resources/sasslang/css/389-test_options_passed_to_script.css new file mode 100644 index 0000000000..7a5603c1fd --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/389-test_options_passed_to_script.css @@ -0,0 +1,3 @@ +foo { + color: black; +} diff --git a/theme-compiler/tests/resources/sasslang/css/39-test_extend_with_subject_fails_with_conflicting_subject.css b/theme-compiler/tests/resources/sasslang/css/39-test_extend_with_subject_fails_with_conflicting_subject.css new file mode 100644 index 0000000000..19d3397495 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/39-test_extend_with_subject_fails_with_conflicting_subject.css @@ -0,0 +1,3 @@ +x! .bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/390-test_parent_selector_with_parent_and_subject.css b/theme-compiler/tests/resources/sasslang/css/390-test_parent_selector_with_parent_and_subject.css new file mode 100644 index 0000000000..234fea7aa5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/390-test_parent_selector_with_parent_and_subject.css @@ -0,0 +1,3 @@ +bar foo.baz! .bip { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/391-test_parent_selector_with_subject.css b/theme-compiler/tests/resources/sasslang/css/391-test_parent_selector_with_subject.css new file mode 100644 index 0000000000..60108ad3c7 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/391-test_parent_selector_with_subject.css @@ -0,0 +1,7 @@ +bar foo.baz! .bip { + a: b; +} + +bar foo bar.baz! .bip { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/392-test_parent_selectors.css b/theme-compiler/tests/resources/sasslang/css/392-test_parent_selectors.css new file mode 100644 index 0000000000..99dfe63b61 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/392-test_parent_selectors.css @@ -0,0 +1,6 @@ +foo:hover { + a: b; +} +bar foo.baz { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/393-test_passing_all_as_keyword_args_in_opposite_order.css b/theme-compiler/tests/resources/sasslang/css/393-test_passing_all_as_keyword_args_in_opposite_order.css new file mode 100644 index 0000000000..589a8796bc --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/393-test_passing_all_as_keyword_args_in_opposite_order.css @@ -0,0 +1,5 @@ +.mixed { + required: foo; + arg1: non-default-val1; + arg2: non-default-val2; +} diff --git a/theme-compiler/tests/resources/sasslang/css/394-test_passing_required_args_as_a_keyword_arg.css b/theme-compiler/tests/resources/sasslang/css/394-test_passing_required_args_as_a_keyword_arg.css new file mode 100644 index 0000000000..caec7ba57f --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/394-test_passing_required_args_as_a_keyword_arg.css @@ -0,0 +1,5 @@ +.mixed { + required: foo; + arg1: default-val1; + arg2: default-val2; +} diff --git a/theme-compiler/tests/resources/sasslang/css/395-test_prop_name_interpolation_after_hyphen.css b/theme-compiler/tests/resources/sasslang/css/395-test_prop_name_interpolation_after_hyphen.css new file mode 100644 index 0000000000..b6dcbf37b9 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/395-test_prop_name_interpolation_after_hyphen.css @@ -0,0 +1,3 @@ +a { + -foo-bar: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/396-test_prop_name_only_interpolation.css b/theme-compiler/tests/resources/sasslang/css/396-test_prop_name_only_interpolation.css new file mode 100644 index 0000000000..83af4a4d42 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/396-test_prop_name_only_interpolation.css @@ -0,0 +1,3 @@ +foo { + bazbang: blip; +} diff --git a/theme-compiler/tests/resources/sasslang/css/397-test_random_directive_interpolation.css b/theme-compiler/tests/resources/sasslang/css/397-test_random_directive_interpolation.css new file mode 100644 index 0000000000..19d6bf6ede --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/397-test_random_directive_interpolation.css @@ -0,0 +1,8 @@ +@foo url(http://sass-lang.com/), + domain("sass-lang.com"), + "foobarbaz", + foobarbaz { + .foo { + a: b; + } +} diff --git a/theme-compiler/tests/resources/sasslang/css/398-test_reference_combinator_with_parent_ref.css b/theme-compiler/tests/resources/sasslang/css/398-test_reference_combinator_with_parent_ref.css new file mode 100644 index 0000000000..897e2f07f2 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/398-test_reference_combinator_with_parent_ref.css @@ -0,0 +1,3 @@ +a /foo/ b { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/399-test_sass_script.css b/theme-compiler/tests/resources/sasslang/css/399-test_sass_script.css new file mode 100644 index 0000000000..d826c15454 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/399-test_sass_script.css @@ -0,0 +1,6 @@ +foo { + a: 3; + b: -1; + c: foobar; + d: 12px; +} diff --git a/theme-compiler/tests/resources/sasslang/css/4-test_basic_placeholder_selector.css b/theme-compiler/tests/resources/sasslang/css/4-test_basic_placeholder_selector.css new file mode 100644 index 0000000000..d1c124f286 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/4-test_basic_placeholder_selector.css @@ -0,0 +1,3 @@ +.bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/40-test_extend_with_subject_retains_subject_on_extender.css b/theme-compiler/tests/resources/sasslang/css/40-test_extend_with_subject_retains_subject_on_extender.css new file mode 100644 index 0000000000..440569a99a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/40-test_extend_with_subject_retains_subject_on_extender.css @@ -0,0 +1,3 @@ +.foo .bar, .foo .bip! .bap, .bip! .foo .bap { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/400-test_script_in_media.css b/theme-compiler/tests/resources/sasslang/css/400-test_script_in_media.css new file mode 100644 index 0000000000..4096c3934c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/400-test_script_in_media.css @@ -0,0 +1,3 @@ +@media screen and (-webkit-min-device-pixel-ratio: 20), only print { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/401-test_selector_interpolation_at_attr_beginning.css b/theme-compiler/tests/resources/sasslang/css/401-test_selector_interpolation_at_attr_beginning.css new file mode 100644 index 0000000000..ecd3a962a0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/401-test_selector_interpolation_at_attr_beginning.css @@ -0,0 +1,3 @@ +[zzz=foo] { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/402-test_selector_interpolation_at_attr_end.css b/theme-compiler/tests/resources/sasslang/css/402-test_selector_interpolation_at_attr_end.css new file mode 100644 index 0000000000..938f3620e0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/402-test_selector_interpolation_at_attr_end.css @@ -0,0 +1,3 @@ +[foo=zzz] { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/403-test_selector_interpolation_at_class_begininng.css b/theme-compiler/tests/resources/sasslang/css/403-test_selector_interpolation_at_class_begininng.css new file mode 100644 index 0000000000..a84e7f451f --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/403-test_selector_interpolation_at_class_begininng.css @@ -0,0 +1,3 @@ +.zzz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/404-test_selector_interpolation_at_dashes.css b/theme-compiler/tests/resources/sasslang/css/404-test_selector_interpolation_at_dashes.css new file mode 100644 index 0000000000..5d49713cfc --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/404-test_selector_interpolation_at_dashes.css @@ -0,0 +1,3 @@ +div { + -foo-a-b-foo: foo; +} diff --git a/theme-compiler/tests/resources/sasslang/css/405-test_selector_interpolation_at_id_begininng.css b/theme-compiler/tests/resources/sasslang/css/405-test_selector_interpolation_at_id_begininng.css new file mode 100644 index 0000000000..899ed83213 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/405-test_selector_interpolation_at_id_begininng.css @@ -0,0 +1,3 @@ +#zzz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/406-test_selector_interpolation_at_pseudo_begininng.css b/theme-compiler/tests/resources/sasslang/css/406-test_selector_interpolation_at_pseudo_begininng.css new file mode 100644 index 0000000000..9b4f111b9c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/406-test_selector_interpolation_at_pseudo_begininng.css @@ -0,0 +1,3 @@ +:zzz::zzz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/407-test_selector_interpolation_before_element_name.css b/theme-compiler/tests/resources/sasslang/css/407-test_selector_interpolation_before_element_name.css new file mode 100644 index 0000000000..d270f5575c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/407-test_selector_interpolation_before_element_name.css @@ -0,0 +1,3 @@ +foo barbaz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/408-test_selector_interpolation_in_pseudoclass.css b/theme-compiler/tests/resources/sasslang/css/408-test_selector_interpolation_in_pseudoclass.css new file mode 100644 index 0000000000..ddd5eb983f --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/408-test_selector_interpolation_in_pseudoclass.css @@ -0,0 +1,3 @@ +foo:nth-child(5n) { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/409-test_selector_interpolation_in_reference_combinator.css b/theme-compiler/tests/resources/sasslang/css/409-test_selector_interpolation_in_reference_combinator.css new file mode 100644 index 0000000000..4a6a56ac6a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/409-test_selector_interpolation_in_reference_combinator.css @@ -0,0 +1,3 @@ +.foo /a/ .bar /b|c/ .baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/41-test_extend_with_subject_retains_subject_on_target.css b/theme-compiler/tests/resources/sasslang/css/41-test_extend_with_subject_retains_subject_on_target.css new file mode 100644 index 0000000000..d322bf1c84 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/41-test_extend_with_subject_retains_subject_on_target.css @@ -0,0 +1,3 @@ +.foo! .bar, .foo! .bip .bap, .bip .foo! .bap { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/410-test_selector_interpolation_in_string.css b/theme-compiler/tests/resources/sasslang/css/410-test_selector_interpolation_in_string.css new file mode 100644 index 0000000000..e0813204d5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/410-test_selector_interpolation_in_string.css @@ -0,0 +1,3 @@ +foo[val="bar foo bar baz"] { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/411-test_selector_only_interpolation.css b/theme-compiler/tests/resources/sasslang/css/411-test_selector_only_interpolation.css new file mode 100644 index 0000000000..429820f069 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/411-test_selector_only_interpolation.css @@ -0,0 +1,3 @@ +foo bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/412-test_several_namespace_properties.css b/theme-compiler/tests/resources/sasslang/css/412-test_several_namespace_properties.css new file mode 100644 index 0000000000..be43bed998 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/412-test_several_namespace_properties.css @@ -0,0 +1,7 @@ +foo { + bar: baz; + bang-bip: 1px; + bang-bop: bar; + buzz-fram: "foo"; + buzz-frum: moo; +} diff --git a/theme-compiler/tests/resources/sasslang/css/413-test_star_plus_and_parent.css b/theme-compiler/tests/resources/sasslang/css/413-test_star_plus_and_parent.css new file mode 100644 index 0000000000..cc9f4cd410 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/413-test_star_plus_and_parent.css @@ -0,0 +1,3 @@ +* + html foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/414-test_supports_bubbling.css b/theme-compiler/tests/resources/sasslang/css/414-test_supports_bubbling.css new file mode 100644 index 0000000000..821b077c54 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/414-test_supports_bubbling.css @@ -0,0 +1,10 @@ +@supports (foo: bar) { + a { + b: c; + } + @supports (baz: bang) { + a { + d: e; + } +} +} diff --git a/theme-compiler/tests/resources/sasslang/css/415-test_supports_with_expressions.css b/theme-compiler/tests/resources/sasslang/css/415-test_supports_with_expressions.css new file mode 100644 index 0000000000..56f9ef9c5e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/415-test_supports_with_expressions.css @@ -0,0 +1,5 @@ +@supports (feature1: val) and (feature2: val) or (not (feature23: val4)) { + foo { + a: b; + } +} diff --git a/theme-compiler/tests/resources/sasslang/css/416-test_trailing_comma_in_selector.css b/theme-compiler/tests/resources/sasslang/css/416-test_trailing_comma_in_selector.css new file mode 100644 index 0000000000..c92ba0730e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/416-test_trailing_comma_in_selector.css @@ -0,0 +1,8 @@ +#foo #bar, +#baz #boom { + a: b; +} + +#bip #bop { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/417-test_unicode_variables.css b/theme-compiler/tests/resources/sasslang/css/417-test_unicode_variables.css new file mode 100644 index 0000000000..4eb3cf2b9c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/417-test_unicode_variables.css @@ -0,0 +1,3 @@ +blat { + a: foo; +} diff --git a/theme-compiler/tests/resources/sasslang/css/418-test_url_import.css b/theme-compiler/tests/resources/sasslang/css/418-test_url_import.css new file mode 100644 index 0000000000..e4ebe59e66 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/418-test_url_import.css @@ -0,0 +1 @@ +@import url(fonts.sass); diff --git a/theme-compiler/tests/resources/sasslang/css/419-test_variables.css b/theme-compiler/tests/resources/sasslang/css/419-test_variables.css new file mode 100644 index 0000000000..4eb3cf2b9c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/419-test_variables.css @@ -0,0 +1,3 @@ +blat { + a: foo; +} diff --git a/theme-compiler/tests/resources/sasslang/css/42-test_extend_with_subject_transfers_subject_to_extender.css b/theme-compiler/tests/resources/sasslang/css/42-test_extend_with_subject_transfers_subject_to_extender.css new file mode 100644 index 0000000000..cc32146eea --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/42-test_extend_with_subject_transfers_subject_to_extender.css @@ -0,0 +1,3 @@ +foo bar! baz, foo .bip .bap! baz, .bip foo .bap! baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/420-test_warn_directive.css b/theme-compiler/tests/resources/sasslang/css/420-test_warn_directive.css new file mode 100644 index 0000000000..6d661f2404 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/420-test_warn_directive.css @@ -0,0 +1,3 @@ +bar { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/421-test_weird_added_space.css b/theme-compiler/tests/resources/sasslang/css/421-test_weird_added_space.css new file mode 100644 index 0000000000..1f53f9af54 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/421-test_weird_added_space.css @@ -0,0 +1,3 @@ +foo { + bar: -moz-bip; +} diff --git a/theme-compiler/tests/resources/sasslang/css/422-test_while_directive.css b/theme-compiler/tests/resources/sasslang/css/422-test_while_directive.css new file mode 100644 index 0000000000..1de8f29fb6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/422-test_while_directive.css @@ -0,0 +1,6 @@ +.foo { + a: 1; + a: 2; + a: 3; + a: 4; +} diff --git a/theme-compiler/tests/resources/sasslang/css/43-test_extend_with_subject_transfers_subject_to_target.css b/theme-compiler/tests/resources/sasslang/css/43-test_extend_with_subject_transfers_subject_to_target.css new file mode 100644 index 0000000000..fb6d2bd6f1 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/43-test_extend_with_subject_transfers_subject_to_target.css @@ -0,0 +1,3 @@ +a.foo .bar, .bip a.bap! .bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/44-test_extend_within_and_without_media.css b/theme-compiler/tests/resources/sasslang/css/44-test_extend_within_and_without_media.css new file mode 100644 index 0000000000..b998a711ab --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/44-test_extend_within_and_without_media.css @@ -0,0 +1,9 @@ +.foo { + a: b; +} + +@media screen { + .foo, .bar { + c: d; + } +} diff --git a/theme-compiler/tests/resources/sasslang/css/45-test_extend_within_and_without_nested_directives.css b/theme-compiler/tests/resources/sasslang/css/45-test_extend_within_and_without_nested_directives.css new file mode 100644 index 0000000000..b4fc7986bd --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/45-test_extend_within_and_without_nested_directives.css @@ -0,0 +1,11 @@ +@media screen { + .foo { + a: b; + } + + @flooblehoof { + .foo, .bar { + c: d; + } +} +} diff --git a/theme-compiler/tests/resources/sasslang/css/46-test_extend_within_and_without_unknown_directive.css b/theme-compiler/tests/resources/sasslang/css/46-test_extend_within_and_without_unknown_directive.css new file mode 100644 index 0000000000..98d2611aae --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/46-test_extend_within_and_without_unknown_directive.css @@ -0,0 +1,9 @@ +.foo { + a: b; +} + +@flooblehoof { + .foo, .bar { + c: d; + } +} diff --git a/theme-compiler/tests/resources/sasslang/css/47-test_extend_within_disparate_media.css b/theme-compiler/tests/resources/sasslang/css/47-test_extend_within_disparate_media.css new file mode 100644 index 0000000000..4859d7f8db --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/47-test_extend_within_disparate_media.css @@ -0,0 +1,5 @@ +@media screen { + .foo, .bar { + a: b; + } +} diff --git a/theme-compiler/tests/resources/sasslang/css/48-test_extend_within_disparate_nested_directives.css b/theme-compiler/tests/resources/sasslang/css/48-test_extend_within_disparate_nested_directives.css new file mode 100644 index 0000000000..c86be425ef --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/48-test_extend_within_disparate_nested_directives.css @@ -0,0 +1,10 @@ +@media screen { + @flooblehoof { + .foo, .bar { + a: b; + } +} +} +@media screen { + @flooblehoof {} +} diff --git a/theme-compiler/tests/resources/sasslang/css/49-test_extend_within_disparate_unknown_directive.css b/theme-compiler/tests/resources/sasslang/css/49-test_extend_within_disparate_unknown_directive.css new file mode 100644 index 0000000000..0fa146ad7c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/49-test_extend_within_disparate_unknown_directive.css @@ -0,0 +1,7 @@ +@flooblehoof { + .foo, .bar { + a: b; + } +} + +@flooblehoof {} diff --git a/theme-compiler/tests/resources/sasslang/css/5-test_chained_extends.css b/theme-compiler/tests/resources/sasslang/css/5-test_chained_extends.css new file mode 100644 index 0000000000..cc2d11c42e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/5-test_chained_extends.css @@ -0,0 +1,3 @@ +.foo, .bar, .baz, .bip { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/50-test_extend_within_media.css b/theme-compiler/tests/resources/sasslang/css/50-test_extend_within_media.css new file mode 100644 index 0000000000..4859d7f8db --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/50-test_extend_within_media.css @@ -0,0 +1,5 @@ +@media screen { + .foo, .bar { + a: b; + } +} diff --git a/theme-compiler/tests/resources/sasslang/css/51-test_extend_within_nested_directives.css b/theme-compiler/tests/resources/sasslang/css/51-test_extend_within_nested_directives.css new file mode 100644 index 0000000000..bca0b78c32 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/51-test_extend_within_nested_directives.css @@ -0,0 +1,7 @@ +@media screen { + @flooblehoof { + .foo, .bar { + a: b; + } +} +} diff --git a/theme-compiler/tests/resources/sasslang/css/52-test_extend_within_unknown_directive.css b/theme-compiler/tests/resources/sasslang/css/52-test_extend_within_unknown_directive.css new file mode 100644 index 0000000000..49ed91dd90 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/52-test_extend_within_unknown_directive.css @@ -0,0 +1,5 @@ +@flooblehoof { + .foo, .bar { + a: b; + } +} diff --git a/theme-compiler/tests/resources/sasslang/css/53-test_extended_parent_and_child_redundancy_elimination.css b/theme-compiler/tests/resources/sasslang/css/53-test_extended_parent_and_child_redundancy_elimination.css new file mode 100644 index 0000000000..bbff77d84c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/53-test_extended_parent_and_child_redundancy_elimination.css @@ -0,0 +1,3 @@ +a b, d b, a c, d c { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/54-test_id_unification.css b/theme-compiler/tests/resources/sasslang/css/54-test_id_unification.css new file mode 100644 index 0000000000..fb22aea30a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/54-test_id_unification.css @@ -0,0 +1,3 @@ +-a .foo.bar, -a .bar#baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/55-test_long_extendee.css b/theme-compiler/tests/resources/sasslang/css/55-test_long_extendee.css new file mode 100644 index 0000000000..0d6bd2ec98 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/55-test_long_extendee.css @@ -0,0 +1,3 @@ +.foo.bar, .baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/56-test_long_extendee_matches_supersets.css b/theme-compiler/tests/resources/sasslang/css/56-test_long_extendee_matches_supersets.css new file mode 100644 index 0000000000..56d65aa266 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/56-test_long_extendee_matches_supersets.css @@ -0,0 +1,3 @@ +.foo.bar.bap, .bap.baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/57-test_long_extendee_requires_all_selectors.css b/theme-compiler/tests/resources/sasslang/css/57-test_long_extendee_requires_all_selectors.css new file mode 100644 index 0000000000..234d524066 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/57-test_long_extendee_requires_all_selectors.css @@ -0,0 +1,3 @@ +.foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/58-test_long_extendee_runs_unification.css b/theme-compiler/tests/resources/sasslang/css/58-test_long_extendee_runs_unification.css new file mode 100644 index 0000000000..79f0b904ec --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/58-test_long_extendee_runs_unification.css @@ -0,0 +1,3 @@ +ns|*.foo.bar, ns|a.baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/59-test_long_extender.css b/theme-compiler/tests/resources/sasslang/css/59-test_long_extender.css new file mode 100644 index 0000000000..410daf4682 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/59-test_long_extender.css @@ -0,0 +1,3 @@ +.foo.bar, .bar.baz.bang { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/6-test_class_unification.css b/theme-compiler/tests/resources/sasslang/css/6-test_class_unification.css new file mode 100644 index 0000000000..d5ea698c0e --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/6-test_class_unification.css @@ -0,0 +1,3 @@ +-a .foo.bar, -a .bar.baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/60-test_long_extender_aborts_unification.css b/theme-compiler/tests/resources/sasslang/css/60-test_long_extender_aborts_unification.css new file mode 100644 index 0000000000..18bc24e7cd --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/60-test_long_extender_aborts_unification.css @@ -0,0 +1,3 @@ +a.foo#bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/61-test_long_extender_runs_unification.css b/theme-compiler/tests/resources/sasslang/css/61-test_long_extender_runs_unification.css new file mode 100644 index 0000000000..9aa28bb9e0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/61-test_long_extender_runs_unification.css @@ -0,0 +1,3 @@ +ns|*.foo.bar, ns|a.bar.baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/62-test_media_in_placeholder_selector.css b/theme-compiler/tests/resources/sasslang/css/62-test_media_in_placeholder_selector.css new file mode 100644 index 0000000000..05e9307986 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/62-test_media_in_placeholder_selector.css @@ -0,0 +1,3 @@ +.baz { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/63-test_multiple_extendees.css b/theme-compiler/tests/resources/sasslang/css/63-test_multiple_extendees.css new file mode 100644 index 0000000000..d3fae7600f --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/63-test_multiple_extendees.css @@ -0,0 +1,7 @@ +.foo, .baz { + a: b; +} + +.bar, .baz { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/64-test_multiple_extender_merges_with_superset_selector.css b/theme-compiler/tests/resources/sasslang/css/64-test_multiple_extender_merges_with_superset_selector.css new file mode 100644 index 0000000000..e52ae8e7f2 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/64-test_multiple_extender_merges_with_superset_selector.css @@ -0,0 +1,3 @@ +a.bar.baz, a.foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/65-test_multiple_extends_with_multiple_extenders_and_single_target.css b/theme-compiler/tests/resources/sasslang/css/65-test_multiple_extends_with_multiple_extenders_and_single_target.css new file mode 100644 index 0000000000..44196e6602 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/65-test_multiple_extends_with_multiple_extenders_and_single_target.css @@ -0,0 +1,3 @@ +.foo .bar, .baz .bar, .foo .bang, .baz .bang { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/66-test_multiple_extends_with_single_extender_and_single_target.css b/theme-compiler/tests/resources/sasslang/css/66-test_multiple_extends_with_single_extender_and_single_target.css new file mode 100644 index 0000000000..9b5770d7c5 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/66-test_multiple_extends_with_single_extender_and_single_target.css @@ -0,0 +1,3 @@ +.foo .bar, .baz .bar, .foo .baz, .baz .baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/67-test_multiple_targets.css b/theme-compiler/tests/resources/sasslang/css/67-test_multiple_targets.css new file mode 100644 index 0000000000..779bd00f75 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/67-test_multiple_targets.css @@ -0,0 +1,7 @@ +.foo, .bar { + a: b; +} + +.blip .foo, .blip .bar { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/68-test_negation_unification.css b/theme-compiler/tests/resources/sasslang/css/68-test_negation_unification.css new file mode 100644 index 0000000000..81d4d500e0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/68-test_negation_unification.css @@ -0,0 +1,3 @@ +-a :not(.foo).baz, -a :not(.foo):not(.bar) { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/69-test_nested_extend_loop.css b/theme-compiler/tests/resources/sasslang/css/69-test_nested_extend_loop.css new file mode 100644 index 0000000000..09d0b12541 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/69-test_nested_extend_loop.css @@ -0,0 +1,6 @@ +.bar, .bar .foo { + a: b; +} +.bar .foo { + c: d; +} diff --git a/theme-compiler/tests/resources/sasslang/css/7-test_combinator_unification_angle_sibling.css b/theme-compiler/tests/resources/sasslang/css/7-test_combinator_unification_angle_sibling.css new file mode 100644 index 0000000000..657d1ec2f6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/7-test_combinator_unification_angle_sibling.css @@ -0,0 +1,3 @@ +.a > x, .a > .b ~ y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/70-test_nested_extender.css b/theme-compiler/tests/resources/sasslang/css/70-test_nested_extender.css new file mode 100644 index 0000000000..1c4e604b71 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/70-test_nested_extender.css @@ -0,0 +1,3 @@ +.foo, foo bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/71-test_nested_extender_aborts_unification.css b/theme-compiler/tests/resources/sasslang/css/71-test_nested_extender_aborts_unification.css new file mode 100644 index 0000000000..2337e9af40 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/71-test_nested_extender_aborts_unification.css @@ -0,0 +1,3 @@ +baz.foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/72-test_nested_extender_alternates_parents.css b/theme-compiler/tests/resources/sasslang/css/72-test_nested_extender_alternates_parents.css new file mode 100644 index 0000000000..ab567bcadf --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/72-test_nested_extender_alternates_parents.css @@ -0,0 +1,3 @@ +.baz .bip .foo, .baz .bip foo .grank bar, foo .grank .baz .bip bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/73-test_nested_extender_chooses_first_subseq.css b/theme-compiler/tests/resources/sasslang/css/73-test_nested_extender_chooses_first_subseq.css new file mode 100644 index 0000000000..08a07c34b6 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/73-test_nested_extender_chooses_first_subseq.css @@ -0,0 +1,3 @@ +.a .b .c .d .foo, .a .b .c .d .a .b .bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/74-test_nested_extender_counts_extended_subselectors.css b/theme-compiler/tests/resources/sasslang/css/74-test_nested_extender_counts_extended_subselectors.css new file mode 100644 index 0000000000..54a621a541 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/74-test_nested_extender_counts_extended_subselectors.css @@ -0,0 +1,3 @@ +.a .bip.bop .foo, .a .b .bip.bop .bar, .b .a .bip.bop .bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/75-test_nested_extender_counts_extended_superselectors.css b/theme-compiler/tests/resources/sasslang/css/75-test_nested_extender_counts_extended_superselectors.css new file mode 100644 index 0000000000..f87e17f088 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/75-test_nested_extender_counts_extended_superselectors.css @@ -0,0 +1,3 @@ +.a .bip .foo, .a .b .bip.bop .bar, .b .a .bip.bop .bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/76-test_nested_extender_doesnt_find_common_selectors_around_adjacent_sibling_selector.css b/theme-compiler/tests/resources/sasslang/css/76-test_nested_extender_doesnt_find_common_selectors_around_adjacent_sibling_selector.css new file mode 100644 index 0000000000..0b1ccdb14b --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/76-test_nested_extender_doesnt_find_common_selectors_around_adjacent_sibling_selector.css @@ -0,0 +1,3 @@ +a + b c .c1, a + b a c .c2, a a + b c .c2 { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/77-test_nested_extender_doesnt_find_common_selectors_around_reference_selector.css b/theme-compiler/tests/resources/sasslang/css/77-test_nested_extender_doesnt_find_common_selectors_around_reference_selector.css new file mode 100644 index 0000000000..b994ae4480 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/77-test_nested_extender_doesnt_find_common_selectors_around_reference_selector.css @@ -0,0 +1,3 @@ +a /for/ b c .c1, a /for/ b a c .c2, a a /for/ b c .c2 { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/78-test_nested_extender_doesnt_find_common_selectors_around_sibling_selector.css b/theme-compiler/tests/resources/sasslang/css/78-test_nested_extender_doesnt_find_common_selectors_around_sibling_selector.css new file mode 100644 index 0000000000..19ad09e516 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/78-test_nested_extender_doesnt_find_common_selectors_around_sibling_selector.css @@ -0,0 +1,3 @@ +a ~ b c .c1, a ~ b a c .c2, a a ~ b c .c2 { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/79-test_nested_extender_finds_common_selectors_around_child_selector.css b/theme-compiler/tests/resources/sasslang/css/79-test_nested_extender_finds_common_selectors_around_child_selector.css new file mode 100644 index 0000000000..f6142a5fc3 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/79-test_nested_extender_finds_common_selectors_around_child_selector.css @@ -0,0 +1,3 @@ +a > b c .c1, a > b c .c2 { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/8-test_combinator_unification_angle_space.css b/theme-compiler/tests/resources/sasslang/css/8-test_combinator_unification_angle_space.css new file mode 100644 index 0000000000..c85d1df73a --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/8-test_combinator_unification_angle_space.css @@ -0,0 +1,3 @@ +.a.b > x, .a.b > y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/80-test_nested_extender_merges_with_same_selector.css b/theme-compiler/tests/resources/sasslang/css/80-test_nested_extender_merges_with_same_selector.css new file mode 100644 index 0000000000..d1a50d50e3 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/80-test_nested_extender_merges_with_same_selector.css @@ -0,0 +1,3 @@ +.foo .bar, .foo .baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/81-test_nested_extender_runs_unification.css b/theme-compiler/tests/resources/sasslang/css/81-test_nested_extender_runs_unification.css new file mode 100644 index 0000000000..9aa8d14958 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/81-test_nested_extender_runs_unification.css @@ -0,0 +1,3 @@ +.foo.bar, foo bar.bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/82-test_nested_extender_unifies_common_subseq.css b/theme-compiler/tests/resources/sasslang/css/82-test_nested_extender_unifies_common_subseq.css new file mode 100644 index 0000000000..2161e02144 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/82-test_nested_extender_unifies_common_subseq.css @@ -0,0 +1,3 @@ +.a .x .b .y .foo, .a .x .n .b .y .m bar, .a .n .x .b .y .m bar, .a .x .n .b .m .y bar, .a .n .x .b .m .y bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/83-test_nested_extender_unifies_common_substring.css b/theme-compiler/tests/resources/sasslang/css/83-test_nested_extender_unifies_common_substring.css new file mode 100644 index 0000000000..d11fb34cbc --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/83-test_nested_extender_unifies_common_substring.css @@ -0,0 +1,3 @@ +.baz .bip .bap .bink .foo, .baz .brat .bip .bap .bink bar, .brat .baz .bip .bap .bink bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/84-test_nested_extender_unifies_identical_parents.css b/theme-compiler/tests/resources/sasslang/css/84-test_nested_extender_unifies_identical_parents.css new file mode 100644 index 0000000000..8792a32601 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/84-test_nested_extender_unifies_identical_parents.css @@ -0,0 +1,3 @@ +.baz .bip .foo, .baz .bip bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/85-test_nested_extender_with_child_selector.css b/theme-compiler/tests/resources/sasslang/css/85-test_nested_extender_with_child_selector.css new file mode 100644 index 0000000000..f7bd620245 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/85-test_nested_extender_with_child_selector.css @@ -0,0 +1,3 @@ +.baz .foo, .baz foo > bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/86-test_nested_extender_with_child_selector_merges_with_same_selector.css b/theme-compiler/tests/resources/sasslang/css/86-test_nested_extender_with_child_selector_merges_with_same_selector.css new file mode 100644 index 0000000000..75561708b3 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/86-test_nested_extender_with_child_selector_merges_with_same_selector.css @@ -0,0 +1,3 @@ +.foo > .bar .baz, .foo > .bar .bang { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/87-test_nested_extender_with_child_selector_unifies.css b/theme-compiler/tests/resources/sasslang/css/87-test_nested_extender_with_child_selector_unifies.css new file mode 100644 index 0000000000..81681200d0 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/87-test_nested_extender_with_child_selector_unifies.css @@ -0,0 +1,3 @@ +.baz.foo, foo > bar.baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/88-test_nested_extender_with_early_child_selectors_doesnt_subseq_them.css b/theme-compiler/tests/resources/sasslang/css/88-test_nested_extender_with_early_child_selectors_doesnt_subseq_them.css new file mode 100644 index 0000000000..4285daf8dd --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/88-test_nested_extender_with_early_child_selectors_doesnt_subseq_them.css @@ -0,0 +1,3 @@ +.foo .bar, .foo .bip > .baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/89-test_nested_extender_with_hacky_selector.css b/theme-compiler/tests/resources/sasslang/css/89-test_nested_extender_with_hacky_selector.css new file mode 100644 index 0000000000..8473c6a398 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/89-test_nested_extender_with_hacky_selector.css @@ -0,0 +1,3 @@ +.baz .foo, .baz foo + > > + bar, foo .baz + > > + bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/9-test_combinator_unification_double_angle.css b/theme-compiler/tests/resources/sasslang/css/9-test_combinator_unification_double_angle.css new file mode 100644 index 0000000000..cafe6d3860 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/9-test_combinator_unification_double_angle.css @@ -0,0 +1,3 @@ +.a.b > x, .b.a > y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/90-test_nested_extender_with_sibling_selector.css b/theme-compiler/tests/resources/sasslang/css/90-test_nested_extender_with_sibling_selector.css new file mode 100644 index 0000000000..e9fe832391 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/90-test_nested_extender_with_sibling_selector.css @@ -0,0 +1,3 @@ +.baz .foo, .baz foo + bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/91-test_nested_selector_with_child_selector_hack_extendee.css b/theme-compiler/tests/resources/sasslang/css/91-test_nested_selector_with_child_selector_hack_extendee.css new file mode 100644 index 0000000000..5556837892 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/91-test_nested_selector_with_child_selector_hack_extendee.css @@ -0,0 +1,3 @@ +> .foo, > foo bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/92-test_nested_selector_with_child_selector_hack_extender.css b/theme-compiler/tests/resources/sasslang/css/92-test_nested_selector_with_child_selector_hack_extender.css new file mode 100644 index 0000000000..f4722e330d --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/92-test_nested_selector_with_child_selector_hack_extender.css @@ -0,0 +1,3 @@ +.foo .bar, > .foo foo bar, > foo .foo bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/93-test_nested_selector_with_child_selector_hack_extender_and_extendee.css b/theme-compiler/tests/resources/sasslang/css/93-test_nested_selector_with_child_selector_hack_extender_and_extendee.css new file mode 100644 index 0000000000..5556837892 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/93-test_nested_selector_with_child_selector_hack_extender_and_extendee.css @@ -0,0 +1,3 @@ +> .foo, > foo bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/94-test_nested_selector_with_child_selector_hack_extender_and_extendee_and_newline.css b/theme-compiler/tests/resources/sasslang/css/94-test_nested_selector_with_child_selector_hack_extender_and_extendee_and_newline.css new file mode 100644 index 0000000000..d8d4aa39fa --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/94-test_nested_selector_with_child_selector_hack_extender_and_extendee_and_newline.css @@ -0,0 +1,4 @@ +> .foo, > flip, +> foo bar { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/95-test_nested_selector_with_child_selector_hack_extender_and_sibling_selector_extendee.css b/theme-compiler/tests/resources/sasslang/css/95-test_nested_selector_with_child_selector_hack_extender_and_sibling_selector_extendee.css new file mode 100644 index 0000000000..09b4ccac27 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/95-test_nested_selector_with_child_selector_hack_extender_and_sibling_selector_extendee.css @@ -0,0 +1,3 @@ +~ .foo { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/96-test_nested_target.css b/theme-compiler/tests/resources/sasslang/css/96-test_nested_target.css new file mode 100644 index 0000000000..d1a50d50e3 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/96-test_nested_target.css @@ -0,0 +1,3 @@ +.foo .bar, .foo .baz { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/97-test_newline_near_combinator.css b/theme-compiler/tests/resources/sasslang/css/97-test_newline_near_combinator.css new file mode 100644 index 0000000000..8ed7a9aa7c --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/97-test_newline_near_combinator.css @@ -0,0 +1,6 @@ +.a + +.b x, .a + +.b .c y, .c .a + +.b y { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/98-test_not_remains_at_end_of_selector.css b/theme-compiler/tests/resources/sasslang/css/98-test_not_remains_at_end_of_selector.css new file mode 100644 index 0000000000..540e6f8bf4 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/98-test_not_remains_at_end_of_selector.css @@ -0,0 +1,3 @@ +.foo:not(.bar), .baz:not(.bar) { + a: b; +} diff --git a/theme-compiler/tests/resources/sasslang/css/99-test_optional_extend_does_not_warn_when_extendee_doesnt_exist.css b/theme-compiler/tests/resources/sasslang/css/99-test_optional_extend_does_not_warn_when_extendee_doesnt_exist.css new file mode 100644 index 0000000000..8b13789179 --- /dev/null +++ b/theme-compiler/tests/resources/sasslang/css/99-test_optional_extend_does_not_warn_when_extendee_doesnt_exist.css @@ -0,0 +1 @@ + |