@less/test-data 4.4.0 → 4.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tests-config/3rd-party/styles.config.cjs +7 -0
- package/tests-config/at-rules-compressed/at-rules-compressed.css +1 -0
- package/tests-config/at-rules-compressed/at-rules-compressed.less +34 -0
- package/tests-config/at-rules-compressed/styles.config.cjs +8 -0
- package/tests-config/at-rules-compressed-evaluation/at-rules-compressed-evaluation.css +1 -0
- package/tests-config/at-rules-compressed-evaluation/at-rules-compressed-evaluation.less +112 -0
- package/tests-config/at-rules-compressed-evaluation/styles.config.cjs +8 -0
- package/tests-config/compression/styles.config.cjs +8 -0
- package/tests-config/debug/all/linenumbers-all.less +2 -0
- package/tests-config/debug/all/styles.config.cjs +8 -0
- package/tests-config/debug/comments/linenumbers-comments.less +2 -0
- package/tests-config/debug/comments/styles.config.cjs +8 -0
- package/tests-config/debug/mediaquery/linenumbers-mediaquery.less +2 -0
- package/tests-config/debug/mediaquery/styles.config.cjs +8 -0
- package/tests-config/filemanagerPlugin/styles.config.cjs +7 -0
- package/tests-config/globalVars/styles.config.cjs +13 -0
- package/tests-config/include-path/styles.config.cjs +9 -0
- package/tests-config/include-path-string/styles.config.cjs +7 -0
- package/tests-config/js-type-errors/styles.config.cjs +9 -0
- package/tests-config/math-always/styles.config.cjs +7 -0
- package/tests-config/math-parens-division/styles.config.cjs +7 -0
- package/tests-config/math-strict/styles.config.cjs +7 -0
- package/tests-config/modifyVars/styles.config.cjs +11 -0
- package/tests-config/namespacing/styles.config.cjs +5 -0
- package/tests-config/no-js-errors/styles.config.cjs +9 -0
- package/tests-config/postProcessorPlugin/styles.config.cjs +7 -0
- package/tests-config/preProcessorPlugin/styles.config.cjs +7 -0
- package/tests-config/process-imports/styles.config.cjs +7 -0
- package/tests-config/rewrite-urls-all/styles.config.cjs +7 -0
- package/tests-config/rewrite-urls-local/styles.config.cjs +7 -0
- package/tests-config/rootpath-rewrite-urls-all/styles.config.cjs +8 -0
- package/tests-config/rootpath-rewrite-urls-local/styles.config.cjs +8 -0
- package/tests-config/sourcemaps/comprehensive/comprehensive.css +85 -0
- package/tests-config/sourcemaps/comprehensive/comprehensive.less +142 -0
- package/tests-config/sourcemaps/comprehensive/styles.config.cjs +10 -0
- package/tests-config/sourcemaps/styles.config.cjs +12 -0
- package/tests-config/sourcemaps-basepath/sourcemaps-basepath.css +8 -0
- package/tests-config/sourcemaps-basepath/sourcemaps-basepath.less +11 -0
- package/tests-config/sourcemaps-basepath/styles.config.cjs +14 -0
- package/tests-config/sourcemaps-disable-annotation/styles.config.cjs +11 -0
- package/tests-config/sourcemaps-empty/styles.config.cjs +11 -0
- package/tests-config/sourcemaps-include-source/sourcemaps-include-source.css +9 -0
- package/tests-config/sourcemaps-include-source/sourcemaps-include-source.css.map +1 -0
- package/tests-config/sourcemaps-include-source/sourcemaps-include-source.less +13 -0
- package/tests-config/sourcemaps-include-source/styles.config.cjs +10 -0
- package/tests-config/sourcemaps-rootpath/sourcemaps-rootpath.css +8 -0
- package/tests-config/sourcemaps-rootpath/sourcemaps-rootpath.less +11 -0
- package/tests-config/sourcemaps-rootpath/styles.config.cjs +10 -0
- package/tests-config/sourcemaps-url/sourcemaps-url.css +8 -0
- package/tests-config/sourcemaps-url/sourcemaps-url.less +11 -0
- package/tests-config/sourcemaps-url/styles.config.cjs +10 -0
- package/tests-config/sourcemaps-variable-selector/styles.config.cjs +9 -0
- package/tests-config/static-urls/styles.config.cjs +9 -0
- package/{css → tests-config}/static-urls/urls.css +2 -2
- package/{less → tests-config}/static-urls/urls.less +2 -1
- package/tests-config/strict-imports/imported.less +3 -0
- package/tests-config/strict-imports/strict-imports.css +11 -0
- package/tests-config/strict-imports/strict-imports.less +19 -0
- package/tests-config/strict-imports/styles.config.cjs +7 -0
- package/tests-config/units/no-strict/styles.config.cjs +8 -0
- package/tests-config/units/strict/styles.config.cjs +8 -0
- package/tests-config/url-args/styles.config.cjs +7 -0
- package/{less → tests-config}/url-args/urls.less +5 -5
- package/tests-config/visitorPlugin/styles.config.cjs +7 -0
- package/tests-error/eval/namespace-property-not-found.less +7 -0
- package/tests-error/eval/namespace-property-not-found.txt +2 -0
- package/tests-error/eval/namespace-variable-not-found.less +7 -0
- package/tests-error/eval/namespace-variable-not-found.txt +2 -0
- package/tests-error/eval/property-undefined.less +4 -0
- package/tests-error/eval/property-undefined.txt +5 -0
- package/tests-error/eval/recursive-property.less +4 -0
- package/tests-error/eval/recursive-property.txt +5 -0
- package/tests-error/eval/styles.config.cjs +9 -0
- package/{errors → tests-error}/parse/parse-error-media-no-block-1.txt +3 -3
- package/{errors → tests-error}/parse/parse-error-media-no-block-2.txt +2 -2
- package/{errors → tests-error}/parse/parse-error-media-no-block-3.txt +3 -3
- package/tests-error/parse/styles.config.cjs +9 -0
- package/tests-unit/at-rules/at-rules.css +107 -0
- package/tests-unit/at-rules/at-rules.less +154 -0
- package/tests-unit/at-rules-declarations/at-rules-declarations.css +16 -0
- package/tests-unit/at-rules-declarations/at-rules-declarations.less +25 -0
- package/tests-unit/at-rules-empty/at-rules-empty.css +4 -0
- package/tests-unit/at-rules-empty/at-rules-empty.less +15 -0
- package/tests-unit/at-rules-empty-block/at-rules-empty-block.less +19 -0
- package/tests-unit/at-rules-keyword-comments/at-rules-keyword-comments.css +9 -0
- package/tests-unit/at-rules-keyword-comments/at-rules-keyword-comments.less +13 -0
- package/tests-unit/at-rules-targeted/at-rules-targeted.css +52 -0
- package/tests-unit/at-rules-targeted/at-rules-targeted.less +81 -0
- package/{css/_main → tests-unit/calc}/calc.css +16 -15
- package/{less/_main → tests-unit/calc}/calc.less +23 -23
- package/tests-unit/charsets/charsets.less +4 -0
- package/tests-unit/charsets/import/import-charset-test.less +1 -0
- package/tests-unit/color-functions/alpha.css +15 -0
- package/tests-unit/color-functions/alpha.less +19 -0
- package/tests-unit/color-functions/basic.css +18 -0
- package/tests-unit/color-functions/basic.less +23 -0
- package/tests-unit/color-functions/comprehensive.css +45 -0
- package/tests-unit/color-functions/comprehensive.less +58 -0
- package/tests-unit/color-functions/formats.css +39 -0
- package/tests-unit/color-functions/formats.less +46 -0
- package/{less/_main/colors2.less → tests-unit/color-functions/modern-syntax.less} +2 -1
- package/tests-unit/color-functions/modern.css +36 -0
- package/tests-unit/color-functions/modern.less +48 -0
- package/tests-unit/color-functions/operations.css +15 -0
- package/tests-unit/color-functions/operations.less +8 -0
- package/tests-unit/color-functions/rgba.css +17 -0
- package/tests-unit/color-functions/rgba.less +18 -0
- package/{css/_main → tests-unit/comments}/comments.css +1 -1
- package/{less/_main → tests-unit/comments}/comments.less +3 -2
- package/{less/_main → tests-unit/comments}/comments2.less +1 -0
- package/{css/_main → tests-unit/container}/container.css +31 -4
- package/{less/_main → tests-unit/container}/container.less +36 -5
- package/{css/_main → tests-unit/css-3}/css-3.css +6 -6
- package/{less/_main → tests-unit/css-3}/css-3.less +8 -6
- package/{css/_main → tests-unit/css-escapes}/css-escapes.css +1 -1
- package/{less/_main → tests-unit/css-escapes}/css-escapes.less +2 -1
- package/{less/_main → tests-unit/css-grid}/css-grid.less +3 -1
- package/{less/_main → tests-unit/css-guards}/css-guards.less +3 -2
- package/{less/_main → tests-unit/detached-rulesets}/detached-rulesets.less +3 -1
- package/{less/_main/directives-bubling.less → tests-unit/directives-bubbling/directives-bubbling.less} +2 -1
- package/tests-unit/empty/empty.less +3 -0
- package/tests-unit/extend/extend-clearfix.css +19 -0
- package/{less/_main → tests-unit/extend}/extend.less +2 -1
- package/{less/_main → tests-unit/extend-chaining}/extend-chaining.less +2 -1
- package/tests-unit/extend-clearfix/extend-clearfix.less +20 -0
- package/{less/_main → tests-unit/extend-exact}/extend-exact.less +1 -0
- package/{less/_main → tests-unit/extend-media}/extend-media.less +2 -1
- package/{less/_main → tests-unit/extend-nest}/extend-nest.less +2 -1
- package/{less/_main → tests-unit/extend-selector}/extend-selector.less +1 -0
- package/{css/_main → tests-unit/extract-and-length}/extract-and-length.css +1 -1
- package/{less/_main → tests-unit/extract-and-length}/extract-and-length.less +3 -2
- package/{css/_main → tests-unit/functions}/functions.css +1 -1
- package/{less/_main → tests-unit/functions}/functions.less +1 -1
- package/{less/_main → tests-unit/functions-each}/functions-each.less +3 -1
- package/{less/_main → tests-unit/ie-filters}/ie-filters.less +3 -1
- package/{less/_main → tests-unit/import}/import/import-and-relative-paths-test.less +1 -1
- package/tests-unit/import/import/import-test-e.less +2 -0
- package/tests-unit/import/import/imports/logo.less +6 -0
- package/{css/_main → tests-unit/import}/import-interpolation.css +1 -1
- package/{css/_main → tests-unit/import}/import-reference.css +2 -2
- package/{less/_main → tests-unit/import}/import-reference.less +2 -2
- package/tests-unit/import/styles.config.cjs +7 -0
- package/{css/_main → tests-unit/javascript}/javascript.css +1 -1
- package/{less/_main → tests-unit/javascript}/javascript.less +2 -1
- package/tests-unit/javascript/styles.config.cjs +7 -0
- package/tests-unit/layer/assets/import/layer-import.less +4 -0
- package/tests-unit/layer/import/layer-import.less +5 -0
- package/{css/_main → tests-unit/layer}/layer.css +22 -0
- package/{less/_main → tests-unit/layer}/layer.less +27 -0
- package/{less/_main → tests-unit/lazy-eval}/lazy-eval.less +1 -0
- package/{css/_main → tests-unit/media}/media.css +5 -5
- package/{less/_main → tests-unit/media}/media.less +6 -7
- package/{less/_main → tests-unit/merge}/merge.less +1 -0
- package/{less/_main → tests-unit/mixin-noparens}/mixin-noparens.less +1 -1
- package/tests-unit/mixins/maps.css +6 -0
- package/tests-unit/mixins/maps.less +15 -0
- package/tests-unit/mixins/mixins-advanced.css +41 -0
- package/tests-unit/mixins/mixins-advanced.less +109 -0
- package/{less/_main → tests-unit/mixins}/mixins.less +1 -1
- package/{less/_main → tests-unit/mixins-important}/mixins-important.less +0 -1
- package/{css/_main → tests-unit/mixins-interpolated}/mixins-interpolated.css +1 -1
- package/{less/_main → tests-unit/mixins-interpolated}/mixins-interpolated.less +2 -3
- package/{less/_main → tests-unit/mixins-named-args}/mixins-named-args.less +1 -1
- package/tests-unit/namespace-targeted/namespace-targeted.css +9 -0
- package/tests-unit/namespace-targeted/namespace-targeted.less +33 -0
- package/tests-unit/nesting/nesting.css +24 -0
- package/tests-unit/nesting/nesting.less +37 -0
- package/{less/_main → tests-unit/no-output}/no-output.less +1 -1
- package/tests-unit/operations/operations-advanced.css +33 -0
- package/tests-unit/operations/operations-advanced.less +76 -0
- package/{less/_main → tests-unit/operations}/operations.less +1 -0
- package/{less/_main → tests-unit/parse-interpolation}/parse-interpolation.less +2 -1
- package/tests-unit/parser-property-interp/parser-property-interp.css +9 -0
- package/tests-unit/parser-property-interp/parser-property-interp.less +28 -0
- package/tests-unit/parser-slashed-combinator/parser-slashed-combinator.css +9 -0
- package/tests-unit/parser-slashed-combinator/parser-slashed-combinator.less +20 -0
- package/{less/_main → tests-unit/permissive-parse}/permissive-parse.less +2 -0
- package/{less/_main → tests-unit/plugin}/plugin.less +1 -0
- package/{less/_main → tests-unit/plugin-module}/plugin-module.less +0 -1
- package/{less/_main → tests-unit/plugin-preeval}/plugin-preeval.less +1 -1
- package/{less/_main → tests-unit/property-accessors}/property-accessors.less +2 -1
- package/{less/_main → tests-unit/property-name-interp}/property-name-interp.less +1 -1
- package/tests-unit/property-targeted/property-targeted.css +4 -0
- package/tests-unit/property-targeted/property-targeted.less +21 -0
- package/{less/_main → tests-unit/rulesets}/rulesets.less +1 -0
- package/{less/_main → tests-unit/scope}/scope.less +1 -1
- package/{css/_main → tests-unit/selectors}/selectors.css +1 -2
- package/{less/_main → tests-unit/selectors}/selectors.less +3 -2
- package/{less/_main → tests-unit/starting-style}/starting-style.less +2 -0
- package/{css/_main → tests-unit/strings}/strings.css +0 -3
- package/{less/_main → tests-unit/strings}/strings.less +1 -3
- package/tests-unit/styles.config.cjs +9 -0
- package/tests-unit/urls/actual.css +65 -0
- package/tests-unit/urls/assets/nested-gradient-with-svg-gradient/mixin-consumer.less +4 -0
- package/tests-unit/urls/css/background.css +3 -0
- package/tests-unit/urls/import/import-and-relative-paths-test.less +17 -0
- package/tests-unit/urls/import/import-test-d.css +1 -0
- package/tests-unit/urls/import/imports/font.less +8 -0
- package/tests-unit/urls/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +15 -0
- package/{css/_main → tests-unit/urls}/urls.css +8 -8
- package/{less/_main → tests-unit/urls}/urls.less +11 -11
- package/tests-unit/variables/variable-advanced.css +56 -0
- package/tests-unit/variables/variable-advanced.less +80 -0
- package/tests-unit/variables/variables.css +43 -0
- package/tests-unit/variables/variables.less +87 -0
- package/{less/_main → tests-unit/variables-in-at-rules}/variables-in-at-rules.less +0 -1
- package/{less/_main → tests-unit/whitespace}/whitespace.less +1 -0
- package/css/_main/colors.css +0 -140
- package/css/_main/variables.css +0 -97
- package/less/_main/charsets.less +0 -3
- package/less/_main/colors.less +0 -164
- package/less/_main/variables.less +0 -161
- package/{less/data → data}/data-uri-fail.png +0 -0
- package/{less/data → data}/image.jpg +0 -0
- package/{less/data → data}/image.svg +0 -0
- package/{less/data → data}/page.html +0 -0
- package/{css → tests-config}/3rd-party/bootstrap4.css +0 -0
- package/{less → tests-config}/3rd-party/bootstrap4.less +0 -0
- package/{css → tests-config}/compression/compression.css +0 -0
- package/{less → tests-config}/compression/compression.less +0 -0
- package/{css/debug → tests-config/debug/all}/linenumbers-all.css +0 -0
- package/{css/debug → tests-config/debug/comments}/linenumbers-comments.css +0 -0
- package/{less → tests-config}/debug/import/test.less +0 -0
- package/{less → tests-config}/debug/linenumbers.less +0 -0
- package/{css/debug → tests-config/debug/mediaquery}/linenumbers-mediaquery.css +0 -0
- package/{less → tests-config}/filemanagerPlugin/colors.test +0 -0
- package/{css → tests-config}/filemanagerPlugin/filemanager.css +0 -0
- package/{less → tests-config}/filemanagerPlugin/filemanager.less +0 -0
- package/{css → tests-config}/globalVars/extended.css +0 -0
- package/{less → tests-config}/globalVars/extended.json +0 -0
- package/{less → tests-config}/globalVars/extended.less +0 -0
- package/{css → tests-config}/globalVars/simple.css +0 -0
- package/{less → tests-config}/globalVars/simple.json +0 -0
- package/{less → tests-config}/globalVars/simple.less +0 -0
- package/{less → tests-config}/import-redirect/import-redirect.less +0 -0
- package/{less/_main/import → tests-config/include-path}/import-test-e.less +0 -0
- package/{css → tests-config}/include-path/include-path.css +0 -0
- package/{less → tests-config}/include-path/include-path.less +0 -0
- package/{css → tests-config}/include-path-string/include-path-string.css +0 -0
- package/{less → tests-config}/include-path-string/include-path-string.less +0 -0
- package/{less → tests-config}/js-type-errors/js-type-error-2.txt +0 -0
- package/{less → tests-config}/js-type-errors/js-type-error.less +0 -0
- package/{less → tests-config}/js-type-errors/js-type-error.txt +0 -0
- package/{css → tests-config}/math/always/mixins-guards.css +0 -0
- package/{css → tests-config}/math/always/no-sm-operations.css +0 -0
- package/{css → tests-config}/math/parens-division/media-math.css +0 -0
- package/{css → tests-config}/math/parens-division/mixins-args.css +0 -0
- package/{css → tests-config}/math/parens-division/new-division.css +0 -0
- package/{css → tests-config}/math/parens-division/parens.css +0 -0
- package/{css → tests-config}/math/strict/css.css +0 -0
- package/{css → tests-config}/math/strict/media-math.css +0 -0
- package/{css → tests-config}/math/strict/mixins-args.css +0 -0
- package/{css → tests-config}/math/strict/parens.css +0 -0
- package/{less/math/always → tests-config/math-always}/mixins-guards.less +0 -0
- package/{less/math/always → tests-config/math-always}/no-sm-operations.less +0 -0
- package/{less/math/parens-division → tests-config/math-parens-division}/media-math.less +0 -0
- package/{less/math/parens-division → tests-config/math-parens-division}/mixins-args.less +0 -0
- package/{less/math/parens-division → tests-config/math-parens-division}/new-division.less +0 -0
- package/{less/math/parens-division → tests-config/math-parens-division}/parens.less +0 -0
- package/{less/math/strict → tests-config/math-strict}/css.less +0 -0
- package/{less/math/strict → tests-config/math-strict}/media-math.less +0 -0
- package/{less/math/strict → tests-config/math-strict}/mixins-args.less +0 -0
- package/{less/math/strict → tests-config/math-strict}/parens.less +0 -0
- package/{css → tests-config}/modifyVars/extended.css +0 -0
- package/{less → tests-config}/modifyVars/extended.json +0 -0
- package/{less → tests-config}/modifyVars/extended.less +0 -0
- package/{less → tests-config}/namespacing/imports/a-better-bootstrap.less +0 -0
- package/{less → tests-config}/namespacing/imports/library.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-1.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-1.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-2.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-2.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-3.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-3.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-4.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-4.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-5.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-5.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-6.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-6.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-7.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-7.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-8.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-8.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-functions.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-functions.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-media.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-media.less +0 -0
- package/{css → tests-config}/namespacing/namespacing-operations.css +0 -0
- package/{less → tests-config}/namespacing/namespacing-operations.less +0 -0
- package/{less → tests-config}/no-js-errors/no-js-errors.less +0 -0
- package/{less → tests-config}/no-js-errors/no-js-errors.txt +0 -0
- package/{css → tests-config}/postProcessorPlugin/postProcessor.css +0 -0
- package/{less → tests-config}/postProcessorPlugin/postProcessor.less +0 -0
- package/{css → tests-config}/preProcessorPlugin/preProcessor.css +0 -0
- package/{less → tests-config}/preProcessorPlugin/preProcessor.less +0 -0
- package/{css → tests-config}/process-imports/google.css +0 -0
- package/{less → tests-config}/process-imports/google.less +0 -0
- package/{less → tests-config}/rewrite-urls-all/folder/file.less +0 -0
- package/{css → tests-config}/rewrite-urls-all/rewrite-urls-all.css +0 -0
- package/{less → tests-config}/rewrite-urls-all/rewrite-urls-all.less +0 -0
- package/{less → tests-config}/rewrite-urls-local/folder/file.less +0 -0
- package/{css → tests-config}/rewrite-urls-local/rewrite-urls-local.css +0 -0
- package/{less → tests-config}/rewrite-urls-local/rewrite-urls-local.less +0 -0
- package/{less → tests-config}/root-registry/file.less +0 -0
- package/{less → tests-config}/root-registry/root.less +0 -0
- package/{less → tests-config}/rootpath-rewrite-urls-all/folder/file.less +0 -0
- package/{css → tests-config}/rootpath-rewrite-urls-all/rootpath-rewrite-urls-all.css +0 -0
- package/{less → tests-config}/rootpath-rewrite-urls-all/rootpath-rewrite-urls-all.less +0 -0
- package/{less → tests-config}/rootpath-rewrite-urls-local/folder/file.less +0 -0
- package/{css → tests-config}/rootpath-rewrite-urls-local/rootpath-rewrite-urls-local.css +0 -0
- package/{less → tests-config}/rootpath-rewrite-urls-local/rootpath-rewrite-urls-local.less +0 -0
- package/{less → tests-config}/sourcemaps/basic.json +0 -0
- package/{less → tests-config}/sourcemaps/basic.less +0 -0
- package/{less → tests-config}/sourcemaps/custom-props.less +0 -0
- package/{less → tests-config}/sourcemaps/imported.css +0 -0
- package/{less → tests-config}/sourcemaps-disable-annotation/basic.less +0 -0
- package/{less/_main → tests-config/sourcemaps-empty}/empty.less +0 -0
- package/{less → tests-config}/sourcemaps-empty/var-defs.less +0 -0
- package/{less → tests-config}/sourcemaps-variable-selector/basic.less +0 -0
- package/{less → tests-config}/sourcemaps-variable-selector/vars.less +0 -0
- package/{css → tests-config}/units/no-strict/no-strict.css +0 -0
- package/{less → tests-config}/units/no-strict/no-strict.less +0 -0
- package/{css → tests-config}/units/strict/strict-units.css +0 -0
- package/{less → tests-config}/units/strict/strict-units.less +0 -0
- package/{css → tests-config}/url-args/urls.css +0 -0
- package/{css → tests-config}/visitorPlugin/visitor.css +0 -0
- package/{less → tests-config}/visitorPlugin/visitor.less +0 -0
- package/{errors → tests-error}/eval/add-mixed-units.less +0 -0
- package/{errors → tests-error}/eval/add-mixed-units.txt +0 -0
- package/{errors → tests-error}/eval/add-mixed-units2.less +0 -0
- package/{errors → tests-error}/eval/add-mixed-units2.txt +0 -0
- package/{errors → tests-error}/eval/at-rules-undefined-var.less +0 -0
- package/{errors → tests-error}/eval/at-rules-undefined-var.txt +0 -0
- package/{errors → tests-error}/eval/color-func-invalid-color-2.less +0 -0
- package/{errors → tests-error}/eval/color-func-invalid-color-2.txt +0 -0
- package/{errors → tests-error}/eval/color-func-invalid-color.less +0 -0
- package/{errors → tests-error}/eval/color-func-invalid-color.txt +0 -0
- package/{errors → tests-error}/eval/css-guard-default-func.less +0 -0
- package/{errors → tests-error}/eval/css-guard-default-func.txt +0 -0
- package/{errors → tests-error}/eval/detached-ruleset-1.less +0 -0
- package/{errors → tests-error}/eval/detached-ruleset-1.txt +0 -0
- package/{errors → tests-error}/eval/detached-ruleset-2.less +0 -0
- package/{errors → tests-error}/eval/detached-ruleset-2.txt +0 -0
- package/{errors → tests-error}/eval/detached-ruleset-3.less +0 -0
- package/{errors → tests-error}/eval/detached-ruleset-3.txt +0 -0
- package/{errors → tests-error}/eval/detached-ruleset-5.less +0 -0
- package/{errors → tests-error}/eval/detached-ruleset-5.txt +0 -0
- package/{errors → tests-error}/eval/divide-mixed-units.less +0 -0
- package/{errors → tests-error}/eval/divide-mixed-units.txt +0 -0
- package/{errors → tests-error}/eval/extend-no-selector.less +0 -0
- package/{errors → tests-error}/eval/extend-no-selector.txt +0 -0
- package/{errors → tests-error}/eval/functions-1.less +0 -0
- package/{errors → tests-error}/eval/functions-1.txt +0 -0
- package/{errors → tests-error}/eval/functions-10-keyword.less +0 -0
- package/{errors → tests-error}/eval/functions-10-keyword.txt +0 -0
- package/{errors → tests-error}/eval/functions-11-operation.less +0 -0
- package/{errors → tests-error}/eval/functions-11-operation.txt +0 -0
- package/{errors → tests-error}/eval/functions-12-quoted.less +0 -0
- package/{errors → tests-error}/eval/functions-12-quoted.txt +0 -0
- package/{errors → tests-error}/eval/functions-13-selector.less +0 -0
- package/{errors → tests-error}/eval/functions-13-selector.txt +0 -0
- package/{errors → tests-error}/eval/functions-14-url.less +0 -0
- package/{errors → tests-error}/eval/functions-14-url.txt +0 -0
- package/{errors → tests-error}/eval/functions-15-value.less +0 -0
- package/{errors → tests-error}/eval/functions-15-value.txt +0 -0
- package/{errors → tests-error}/eval/functions-3-assignment.less +0 -0
- package/{errors → tests-error}/eval/functions-3-assignment.txt +0 -0
- package/{errors → tests-error}/eval/functions-4-call.less +0 -0
- package/{errors → tests-error}/eval/functions-4-call.txt +0 -0
- package/{errors → tests-error}/eval/functions-5-color-2.less +0 -0
- package/{errors → tests-error}/eval/functions-5-color-2.txt +0 -0
- package/{errors → tests-error}/eval/functions-5-color.less +0 -0
- package/{errors → tests-error}/eval/functions-5-color.txt +0 -0
- package/{errors → tests-error}/eval/functions-6-condition.less +0 -0
- package/{errors → tests-error}/eval/functions-6-condition.txt +0 -0
- package/{errors → tests-error}/eval/functions-7-dimension.less +0 -0
- package/{errors → tests-error}/eval/functions-7-dimension.txt +0 -0
- package/{errors → tests-error}/eval/functions-8-element.less +0 -0
- package/{errors → tests-error}/eval/functions-8-element.txt +0 -0
- package/{errors → tests-error}/eval/functions-9-expression.less +0 -0
- package/{errors → tests-error}/eval/functions-9-expression.txt +0 -0
- package/{errors → tests-error}/eval/import-missing.less +0 -0
- package/{errors → tests-error}/eval/import-missing.txt +0 -0
- package/{errors → tests-error}/eval/import-subfolder1.less +0 -0
- package/{errors → tests-error}/eval/import-subfolder1.txt +0 -0
- package/{errors → tests-error}/eval/imports/import-subfolder1.less +0 -0
- package/{errors → tests-error}/eval/imports/import-test.less +0 -0
- package/{errors → tests-error}/eval/imports/subfolder/mixin-not-defined.less +0 -0
- package/{errors → tests-error}/eval/javascript-undefined-var.less +0 -0
- package/{errors → tests-error}/eval/javascript-undefined-var.txt +0 -0
- package/{errors → tests-error}/eval/mixin-not-defined-2.less +0 -0
- package/{errors → tests-error}/eval/mixin-not-defined-2.txt +0 -0
- package/{errors → tests-error}/eval/mixin-not-defined.less +0 -0
- package/{errors → tests-error}/eval/mixin-not-defined.txt +0 -0
- package/{errors → tests-error}/eval/mixin-not-matched.less +0 -0
- package/{errors → tests-error}/eval/mixin-not-matched.txt +0 -0
- package/{errors → tests-error}/eval/mixin-not-matched2.less +0 -0
- package/{errors → tests-error}/eval/mixin-not-matched2.txt +0 -0
- package/{errors → tests-error}/eval/mixin-not-visible-in-scope-1.less +0 -0
- package/{errors → tests-error}/eval/mixin-not-visible-in-scope-1.txt +0 -0
- package/{errors → tests-error}/eval/mixins-guards-default-func-1.less +0 -0
- package/{errors → tests-error}/eval/mixins-guards-default-func-1.txt +0 -0
- package/{errors → tests-error}/eval/mixins-guards-default-func-2.less +0 -0
- package/{errors → tests-error}/eval/mixins-guards-default-func-2.txt +0 -0
- package/{errors → tests-error}/eval/mixins-guards-default-func-3.less +0 -0
- package/{errors → tests-error}/eval/mixins-guards-default-func-3.txt +0 -0
- package/{errors → tests-error}/eval/multiple-guards-on-css-selectors.less +0 -0
- package/{errors → tests-error}/eval/multiple-guards-on-css-selectors.txt +0 -0
- package/{errors → tests-error}/eval/multiple-guards-on-css-selectors2.less +0 -0
- package/{errors → tests-error}/eval/multiple-guards-on-css-selectors2.txt +0 -0
- package/{errors → tests-error}/eval/multiply-mixed-units.less +0 -0
- package/{errors → tests-error}/eval/multiply-mixed-units.txt +0 -0
- package/{errors → tests-error}/eval/namespacing-2.less +0 -0
- package/{errors → tests-error}/eval/namespacing-2.txt +0 -0
- package/{errors → tests-error}/eval/namespacing-3.less +0 -0
- package/{errors → tests-error}/eval/namespacing-3.txt +0 -0
- package/{errors → tests-error}/eval/namespacing-4.less +0 -0
- package/{errors → tests-error}/eval/namespacing-4.txt +0 -0
- package/{errors → tests-error}/eval/percentage-non-number-argument.less +0 -0
- package/{errors → tests-error}/eval/percentage-non-number-argument.txt +0 -0
- package/{errors → tests-error}/eval/plugin/plugin-error-2.js +0 -0
- package/{errors → tests-error}/eval/plugin/plugin-error-3.js +0 -0
- package/{errors → tests-error}/eval/plugin/plugin-error.js +0 -0
- package/{errors → tests-error}/eval/plugin-1.less +0 -0
- package/{errors → tests-error}/eval/plugin-1.txt +0 -0
- package/{errors → tests-error}/eval/plugin-2.less +0 -0
- package/{errors → tests-error}/eval/plugin-2.txt +0 -0
- package/{errors → tests-error}/eval/plugin-3.less +0 -0
- package/{errors → tests-error}/eval/plugin-3.txt +0 -0
- package/{errors → tests-error}/eval/property-in-root.less +0 -0
- package/{errors → tests-error}/eval/property-in-root.txt +0 -0
- package/{errors → tests-error}/eval/property-in-root2.less +0 -0
- package/{errors → tests-error}/eval/property-in-root2.txt +0 -0
- package/{errors → tests-error}/eval/property-in-root3.less +0 -0
- package/{errors → tests-error}/eval/property-in-root3.txt +0 -0
- package/{errors → tests-error}/eval/property-interp-not-defined.less +0 -0
- package/{errors → tests-error}/eval/property-interp-not-defined.txt +0 -0
- package/{errors → tests-error}/eval/recursive-variable.less +0 -0
- package/{errors → tests-error}/eval/recursive-variable.txt +0 -0
- package/{errors → tests-error}/eval/root-func-undefined-1.less +0 -0
- package/{errors → tests-error}/eval/root-func-undefined-1.txt +0 -0
- package/{errors → tests-error}/eval/root-func-undefined-2.less +0 -0
- package/{errors → tests-error}/eval/root-func-undefined-2.txt +0 -0
- package/{errors → tests-error}/eval/svg-gradient1.less +0 -0
- package/{errors → tests-error}/eval/svg-gradient1.txt +0 -0
- package/{errors → tests-error}/eval/svg-gradient2.less +0 -0
- package/{errors → tests-error}/eval/svg-gradient2.txt +0 -0
- package/{errors → tests-error}/eval/svg-gradient3.less +0 -0
- package/{errors → tests-error}/eval/svg-gradient3.txt +0 -0
- package/{errors → tests-error}/eval/svg-gradient4.less +0 -0
- package/{errors → tests-error}/eval/svg-gradient4.txt +0 -0
- package/{errors → tests-error}/eval/svg-gradient5.less +0 -0
- package/{errors → tests-error}/eval/svg-gradient5.txt +0 -0
- package/{errors → tests-error}/eval/svg-gradient6.less +0 -0
- package/{errors → tests-error}/eval/svg-gradient6.txt +0 -0
- package/{errors → tests-error}/eval/unit-function.less +0 -0
- package/{errors → tests-error}/eval/unit-function.txt +0 -0
- package/{errors → tests-error}/parse/at-rules-unmatching-block.less +0 -0
- package/{errors → tests-error}/parse/at-rules-unmatching-block.txt +0 -0
- package/{errors → tests-error}/parse/bad-variable-declaration1.less +0 -0
- package/{errors → tests-error}/parse/bad-variable-declaration1.txt +0 -0
- package/{errors → tests-error}/parse/custom-property-unmatched-block-1.less +0 -0
- package/{errors → tests-error}/parse/custom-property-unmatched-block-1.txt +0 -0
- package/{errors → tests-error}/parse/custom-property-unmatched-block-2.less +0 -0
- package/{errors → tests-error}/parse/custom-property-unmatched-block-2.txt +0 -0
- package/{errors → tests-error}/parse/custom-property-unmatched-block-3.less +0 -0
- package/{errors → tests-error}/parse/custom-property-unmatched-block-3.txt +0 -0
- package/{errors → tests-error}/parse/detached-ruleset-6.less +0 -0
- package/{errors → tests-error}/parse/detached-ruleset-6.txt +0 -0
- package/{errors → tests-error}/parse/extend-not-at-end.less +0 -0
- package/{errors → tests-error}/parse/extend-not-at-end.txt +0 -0
- package/{errors → tests-error}/parse/import-malformed.less +0 -0
- package/{errors → tests-error}/parse/import-malformed.txt +0 -0
- package/{errors → tests-error}/parse/import-no-semi.less +0 -0
- package/{errors → tests-error}/parse/import-no-semi.txt +0 -0
- package/{errors → tests-error}/parse/import-subfolder2.less +0 -0
- package/{errors → tests-error}/parse/import-subfolder2.txt +0 -0
- package/{errors → tests-error}/parse/imports/import-subfolder2.less +0 -0
- package/{errors → tests-error}/parse/imports/subfolder/parse-error-curly-bracket.less +0 -0
- package/{errors → tests-error}/parse/invalid-color-with-comment.less +0 -0
- package/{errors → tests-error}/parse/invalid-color-with-comment.txt +0 -0
- package/{errors → tests-error}/parse/mixed-mixin-definition-args-1.less +0 -0
- package/{errors → tests-error}/parse/mixed-mixin-definition-args-1.txt +0 -0
- package/{errors → tests-error}/parse/mixed-mixin-definition-args-2.less +0 -0
- package/{errors → tests-error}/parse/mixed-mixin-definition-args-2.txt +0 -0
- package/{errors → tests-error}/parse/mixins-guards-cond-expected.less +0 -0
- package/{errors → tests-error}/parse/mixins-guards-cond-expected.txt +0 -0
- package/{errors → tests-error}/parse/parens-error-1.less +0 -0
- package/{errors → tests-error}/parse/parens-error-1.txt +0 -0
- package/{errors → tests-error}/parse/parens-error-2.less +0 -0
- package/{errors → tests-error}/parse/parens-error-2.txt +0 -0
- package/{errors → tests-error}/parse/parens-error-3.less +0 -0
- package/{errors → tests-error}/parse/parens-error-3.txt +0 -0
- package/{errors → tests-error}/parse/parse-error-curly-bracket.less +0 -0
- package/{errors → tests-error}/parse/parse-error-curly-bracket.txt +0 -0
- package/{errors → tests-error}/parse/parse-error-media-no-block-1.less +0 -0
- package/{errors → tests-error}/parse/parse-error-media-no-block-2.less +0 -0
- package/{errors → tests-error}/parse/parse-error-media-no-block-3.less +0 -0
- package/{errors → tests-error}/parse/parse-error-missing-bracket.less +0 -0
- package/{errors → tests-error}/parse/parse-error-missing-bracket.txt +0 -0
- package/{errors → tests-error}/parse/parse-error-missing-parens.less +0 -0
- package/{errors → tests-error}/parse/parse-error-missing-parens.txt +0 -0
- package/{errors → tests-error}/parse/parse-error-with-import.less +0 -0
- package/{errors → tests-error}/parse/parse-error-with-import.txt +0 -0
- package/{errors → tests-error}/parse/percentage-missing-space.less +0 -0
- package/{errors → tests-error}/parse/percentage-missing-space.txt +0 -0
- package/{errors → tests-error}/parse/property-asterisk-only-name.less +0 -0
- package/{errors → tests-error}/parse/property-asterisk-only-name.txt +0 -0
- package/{errors → tests-error}/parse/single-character.less +0 -0
- package/{errors → tests-error}/parse/single-character.txt +0 -0
- package/{css/_main/empty.css → tests-unit/at-rules-empty-block/at-rules-empty-block.css} +0 -0
- package/{css/_main → tests-unit/charsets}/charsets.css +0 -0
- package/{css/_main/colors2.css → tests-unit/color-functions/modern-syntax.css} +0 -0
- package/{css/_main → tests-unit/comments}/comments2.css +0 -0
- package/{css/_main → tests-unit/css-grid}/css-grid.css +0 -0
- package/{css/_main → tests-unit/css-guards}/css-guards.css +0 -0
- package/{css/_main → tests-unit/detached-rulesets}/detached-rulesets.css +0 -0
- package/{css/_main/directives-bubling.css → tests-unit/directives-bubbling/directives-bubbling.css} +0 -0
- package/{css/_main/no-output.css → tests-unit/empty/empty.css} +0 -0
- package/{less/_main → tests-unit/extend}/extend-clearfix.less +0 -0
- package/{css/_main → tests-unit/extend}/extend.css +0 -0
- package/{css/_main → tests-unit/extend-chaining}/extend-chaining.css +0 -0
- package/{css/_main → tests-unit/extend-clearfix}/extend-clearfix.css +0 -0
- package/{css/_main → tests-unit/extend-exact}/extend-exact.css +0 -0
- package/{css/_main → tests-unit/extend-media}/extend-media.css +0 -0
- package/{css/_main → tests-unit/extend-nest}/extend-nest.css +0 -0
- package/{css/_main → tests-unit/extend-selector}/extend-selector.css +0 -0
- package/{css/_main → tests-unit/functions-each}/functions-each.css +0 -0
- package/{css/_main → tests-unit/ie-filters}/ie-filters.css +0 -0
- package/{css/_main → tests-unit/impor}/impor.css +0 -0
- package/{less/_main → tests-unit/impor}/impor.less +0 -0
- package/{less/_main → tests-unit/import}/import/css-import.less +0 -0
- package/{less/_main → tests-unit/import}/import/deeper/deeper-2/url-import-2.less +0 -0
- package/{less/_main → tests-unit/import}/import/deeper/deeper-2/url-import.less +0 -0
- package/{less/_main → tests-unit/import}/import/deeper/import-once-test-a.less +0 -0
- package/{less/_main → tests-unit/import}/import/deeper/url-import.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-charset-test.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-inline-invalid-css.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-interpolation.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-interpolation2.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-once-test-c.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-reference.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-test-a.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-test-b.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-test-c.less +0 -0
- package/{less/_main → tests-unit/import}/import/import-test-d.css +0 -0
- package/{less/_main → tests-unit/import}/import/import-test-f.less +0 -0
- package/{less/_main → tests-unit/import}/import/imports/font.less +0 -0
- package/{less/_main → tests-unit/import}/import/interpolation-vars.less +0 -0
- package/{less/_main → tests-unit/import}/import/invalid-css.less +0 -0
- package/{less/_main → tests-unit/import}/import/json/index.json +0 -0
- package/{less/_main → tests-unit/import}/import/json/index.less +0 -0
- package/{less/_main → tests-unit/import}/import/layer-import-2.css +0 -0
- package/{less/_main → tests-unit/import}/import/layer-import-3.css +0 -0
- package/{less/_main → tests-unit/import}/import/layer-import-4.css +0 -0
- package/{less/_main → tests-unit/import}/import/layer-import-5.css +0 -0
- package/{less/_main → tests-unit/import}/import/layer-import.less +0 -0
- package/{less/_main → tests-unit/import}/import/urls.less +0 -0
- package/{css/_main → tests-unit/import}/import-inline.css +0 -0
- package/{less/_main → tests-unit/import}/import-inline.less +0 -0
- package/{less/_main → tests-unit/import}/import-interpolation.less +0 -0
- package/{css/_main → tests-unit/import}/import-module.css +0 -0
- package/{less/_main → tests-unit/import}/import-module.less +0 -0
- package/{css/_main → tests-unit/import}/import-once.css +0 -0
- package/{less/_main → tests-unit/import}/import-once.less +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/appender-reference-1968.less +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/comments-2991.less +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/global-scope-import.less +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/global-scope-nested.less +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/mixin-1968.less +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/multiple-import-nested.less +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/multiple-import.less +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/simple-mixin.css +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues/simple-ruleset-2162.less +0 -0
- package/{css/_main → tests-unit/import}/import-reference-issues.css +0 -0
- package/{less/_main → tests-unit/import}/import-reference-issues.less +0 -0
- package/{css/_main → tests-unit/import}/import-remote.css +0 -0
- package/{less/_main → tests-unit/import}/import-remote.less +0 -0
- package/{css/_main → tests-unit/import}/import.css +0 -0
- package/{less/_main → tests-unit/import}/import.less +0 -0
- package/{css/_main → tests-unit/lazy-eval}/lazy-eval.css +0 -0
- package/{css/_main → tests-unit/merge}/merge.css +0 -0
- package/{css/_main → tests-unit/mixin-noparens}/mixin-noparens.css +0 -0
- package/{css/_main → tests-unit/mixins}/mixins.css +0 -0
- package/{css/_main → tests-unit/mixins-closure}/mixins-closure.css +0 -0
- package/{less/_main → tests-unit/mixins-closure}/mixins-closure.less +0 -0
- package/{css/_main → tests-unit/mixins-guards}/mixins-guards.css +0 -0
- package/{less/_main → tests-unit/mixins-guards}/mixins-guards.less +1 -1
- package/{css/_main → tests-unit/mixins-guards-default-func}/mixins-guards-default-func.css +0 -0
- package/{less/_main → tests-unit/mixins-guards-default-func}/mixins-guards-default-func.less +1 -1
- /package/{css/_main → tests-unit/mixins-important}/mixins-important.css +0 -0
- /package/{css/_main → tests-unit/mixins-named-args}/mixins-named-args.css +0 -0
- /package/{css/_main → tests-unit/mixins-nested}/mixins-nested.css +0 -0
- /package/{less/_main → tests-unit/mixins-nested}/mixins-nested.less +0 -0
- /package/{css/_main → tests-unit/mixins-pattern}/mixins-pattern.css +0 -0
- /package/{less/_main → tests-unit/mixins-pattern}/mixins-pattern.less +0 -0
- /package/{less/sourcemaps-empty/empty.less → tests-unit/no-output/no-output.css} +0 -0
- /package/{css/_main → tests-unit/operations}/operations.css +0 -0
- /package/{css/_main → tests-unit/parse-interpolation}/parse-interpolation.css +0 -0
- /package/{css/_main → tests-unit/permissive-parse}/permissive-parse.css +0 -0
- /package/{css/_main → tests-unit/plugi}/plugi.css +0 -0
- /package/{less/_main → tests-unit/plugi}/plugi.less +0 -0
- /package/{css/_main → tests-unit/plugin}/plugin.css +0 -0
- /package/{css/_main → tests-unit/plugin-module}/plugin-module.css +0 -0
- /package/{css/_main → tests-unit/plugin-preeval}/plugin-preeval.css +0 -0
- /package/{css/_main → tests-unit/property-accessors}/property-accessors.css +0 -0
- /package/{css/_main → tests-unit/property-name-interp}/property-name-interp.css +0 -0
- /package/{css/_main → tests-unit/rulesets}/rulesets.css +0 -0
- /package/{css/_main → tests-unit/scope}/scope.css +0 -0
- /package/{css/_main → tests-unit/starting-style}/starting-style.css +0 -0
- /package/{less/_main → tests-unit/urls/assets}/nested-gradient-with-svg-gradient/svg-gradient-mixin.less +0 -0
- /package/{less/_main → tests-unit/urls}/import/imports/logo.less +0 -0
- /package/{less/_main → tests-unit/urls}/nested-gradient-with-svg-gradient/mixin-consumer.less +0 -0
- /package/{css/_main → tests-unit/variables-in-at-rules}/variables-in-at-rules.css +0 -0
- /package/{css/_main → tests-unit/whitespace}/whitespace.css +0 -0
|
@@ -69,3 +69,25 @@
|
|
|
69
69
|
.parent:hover {
|
|
70
70
|
background: lightgray;
|
|
71
71
|
}
|
|
72
|
+
@layer foo.baz {
|
|
73
|
+
.bar {
|
|
74
|
+
font-weight: bold;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
@layer framework {
|
|
78
|
+
@layer layout {
|
|
79
|
+
.container {
|
|
80
|
+
display: grid;
|
|
81
|
+
gap: 2rem;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
@layer framework.layout {
|
|
86
|
+
main {
|
|
87
|
+
padding: 2rem;
|
|
88
|
+
}
|
|
89
|
+
p {
|
|
90
|
+
margin-block: 1rem;
|
|
91
|
+
color: #555;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -85,3 +85,30 @@
|
|
|
85
85
|
background: lightgray;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
+
|
|
89
|
+
@layer foo.baz {
|
|
90
|
+
.bar {
|
|
91
|
+
font-weight: bold;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@layer framework {
|
|
96
|
+
@layer layout {
|
|
97
|
+
.container {
|
|
98
|
+
display: grid;
|
|
99
|
+
gap: 2rem;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@layer framework.layout {
|
|
105
|
+
main {
|
|
106
|
+
padding: 2rem;
|
|
107
|
+
}
|
|
108
|
+
p {
|
|
109
|
+
margin-block: 1rem;
|
|
110
|
+
color: #555;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
@@ -241,11 +241,6 @@
|
|
|
241
241
|
background: green;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
@media (example, all), speech {
|
|
245
|
-
body {
|
|
246
|
-
background: green;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
244
|
@media (min-orientation: portrait) {
|
|
250
245
|
body {
|
|
251
246
|
background: green;
|
|
@@ -269,3 +264,8 @@
|
|
|
269
264
|
padding: 0;
|
|
270
265
|
}
|
|
271
266
|
}
|
|
267
|
+
@media print, (max-width: 992px) {
|
|
268
|
+
div {
|
|
269
|
+
color: red;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
// For now, variables can't be declared inside @media blocks.
|
|
3
2
|
|
|
4
3
|
@var: 42;
|
|
@@ -264,12 +263,6 @@
|
|
|
264
263
|
}
|
|
265
264
|
}
|
|
266
265
|
|
|
267
|
-
@media (example, all,), speech {
|
|
268
|
-
body {
|
|
269
|
-
background: green;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
266
|
@media (min-orientation:portrait) {
|
|
274
267
|
body {
|
|
275
268
|
background: green;
|
|
@@ -297,3 +290,9 @@
|
|
|
297
290
|
}
|
|
298
291
|
}
|
|
299
292
|
}
|
|
293
|
+
|
|
294
|
+
@media print, (max-width: 992px) {
|
|
295
|
+
div {
|
|
296
|
+
color: red;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.test-expanded {
|
|
2
|
+
a: 1px;
|
|
3
|
+
b: 2px;
|
|
4
|
+
}
|
|
5
|
+
.test-multi-def {
|
|
6
|
+
small: 10;
|
|
7
|
+
large: 15;
|
|
8
|
+
}
|
|
9
|
+
.test-conditions {
|
|
10
|
+
large: 15;
|
|
11
|
+
small: 5;
|
|
12
|
+
}
|
|
13
|
+
.test-no-args-filter {
|
|
14
|
+
no-args: true;
|
|
15
|
+
with-args: 10;
|
|
16
|
+
}
|
|
17
|
+
.test-recursive {
|
|
18
|
+
level: 3;
|
|
19
|
+
level: 2;
|
|
20
|
+
level: 1;
|
|
21
|
+
done: true;
|
|
22
|
+
}
|
|
23
|
+
.test-namespace-path {
|
|
24
|
+
from-namespace: true;
|
|
25
|
+
}
|
|
26
|
+
.test-important {
|
|
27
|
+
important: true !important;
|
|
28
|
+
}
|
|
29
|
+
.test-multi {
|
|
30
|
+
value1: 1;
|
|
31
|
+
value2: 2;
|
|
32
|
+
}
|
|
33
|
+
.test-named {
|
|
34
|
+
a: A;
|
|
35
|
+
b: B;
|
|
36
|
+
}
|
|
37
|
+
.test-array-expand {
|
|
38
|
+
a: 1;
|
|
39
|
+
b: 2;
|
|
40
|
+
c: 3;
|
|
41
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// Advanced mixin call tests to cover edge cases
|
|
2
|
+
|
|
3
|
+
// Mixin call with expanded arguments
|
|
4
|
+
.mixin(@a, @b) {
|
|
5
|
+
a: @a;
|
|
6
|
+
b: @b;
|
|
7
|
+
}
|
|
8
|
+
@args: 1px, 2px;
|
|
9
|
+
.test-expanded {
|
|
10
|
+
.mixin(@args...);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// Mixin call with condition matching and multiple definitions
|
|
14
|
+
.mixin-multi-def(@x: 10) when (@x > 10) {
|
|
15
|
+
large: @x;
|
|
16
|
+
}
|
|
17
|
+
.mixin-multi-def(@x: 10) when (@x <= 10) {
|
|
18
|
+
small: @x;
|
|
19
|
+
}
|
|
20
|
+
.test-multi-def {
|
|
21
|
+
.mixin-multi-def();
|
|
22
|
+
.mixin-multi-def(15);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Mixin call with condition matching
|
|
26
|
+
.mixin-guarded(@x) when (@x > 10) {
|
|
27
|
+
large: @x;
|
|
28
|
+
}
|
|
29
|
+
.mixin-guarded(@x) when (@x <= 10) {
|
|
30
|
+
small: @x;
|
|
31
|
+
}
|
|
32
|
+
.test-conditions {
|
|
33
|
+
.mixin-guarded(15);
|
|
34
|
+
.mixin-guarded(5);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Mixin call with no arguments filter
|
|
38
|
+
.mixin-no-args() {
|
|
39
|
+
no-args: true;
|
|
40
|
+
}
|
|
41
|
+
.mixin-no-args(@x) {
|
|
42
|
+
with-args: @x;
|
|
43
|
+
}
|
|
44
|
+
.test-no-args-filter {
|
|
45
|
+
.mixin-no-args();
|
|
46
|
+
.mixin-no-args(10);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Mixin call with recursive mixin
|
|
50
|
+
.mixin-recursive(@n) when (@n > 0) {
|
|
51
|
+
level: @n;
|
|
52
|
+
.mixin-recursive(@n - 1);
|
|
53
|
+
}
|
|
54
|
+
.mixin-recursive(@n) when (@n <= 0) {
|
|
55
|
+
done: true;
|
|
56
|
+
}
|
|
57
|
+
.test-recursive {
|
|
58
|
+
.mixin-recursive(3);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Mixin call with namespace path
|
|
62
|
+
#namespace {
|
|
63
|
+
.mixin() {
|
|
64
|
+
from-namespace: true;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
.test-namespace-path {
|
|
68
|
+
#namespace > .mixin();
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Mixin call with important flag
|
|
72
|
+
.mixin-important() {
|
|
73
|
+
important: true;
|
|
74
|
+
}
|
|
75
|
+
.test-important {
|
|
76
|
+
.mixin-important() !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Mixin call with multiple candidates
|
|
80
|
+
.mixin-multi(@x: 1) {
|
|
81
|
+
value1: @x;
|
|
82
|
+
}
|
|
83
|
+
.mixin-multi(@x: 2) {
|
|
84
|
+
value2: @x;
|
|
85
|
+
}
|
|
86
|
+
.test-multi {
|
|
87
|
+
.mixin-multi();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// Mixin call with named arguments
|
|
91
|
+
.mixin-named(@a: a, @b: b) {
|
|
92
|
+
a: @a;
|
|
93
|
+
b: @b;
|
|
94
|
+
}
|
|
95
|
+
.test-named {
|
|
96
|
+
.mixin-named(@b: B, @a: A);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// Mixin call with expanded array
|
|
100
|
+
.mixin-array(@a, @b, @c) {
|
|
101
|
+
a: @a;
|
|
102
|
+
b: @b;
|
|
103
|
+
c: @c;
|
|
104
|
+
}
|
|
105
|
+
@array: 1, 2, 3;
|
|
106
|
+
.test-array-expand {
|
|
107
|
+
.mixin-array(@array...);
|
|
108
|
+
}
|
|
109
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Targeted tests for specific uncovered lines in namespace-value.js
|
|
2
|
+
|
|
3
|
+
// Lines 51-52: $@var interpolation (property interpolation with variable)
|
|
4
|
+
// This tests: name.substring(0, 2) === '$@'
|
|
5
|
+
// The syntax is #namespace[$@var-name] where @var-name contains the property name
|
|
6
|
+
@prop-name: my-prop;
|
|
7
|
+
#namespace {
|
|
8
|
+
my-prop: prop-value;
|
|
9
|
+
}
|
|
10
|
+
.test-prop-interp {
|
|
11
|
+
value: #namespace[$@prop-name];
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// Lines 43-47: Variable not found error path
|
|
15
|
+
// Access a variable that doesn't exist in the namespace
|
|
16
|
+
#namespace-with-var {
|
|
17
|
+
@existing-var: value;
|
|
18
|
+
}
|
|
19
|
+
.test-var-not-found {
|
|
20
|
+
// This will error: variable @nonexistent-var not found
|
|
21
|
+
// color: #namespace-with-var[@nonexistent-var];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Lines 61-65: Property not found error path
|
|
25
|
+
// Access a property that doesn't exist in the namespace
|
|
26
|
+
#namespace-with-prop {
|
|
27
|
+
existing-prop: value;
|
|
28
|
+
}
|
|
29
|
+
.test-prop-not-found {
|
|
30
|
+
// This will error: property "nonexistent-prop" not found
|
|
31
|
+
// value: #namespace-with-prop[$nonexistent-prop];
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.nesting-parent {
|
|
2
|
+
color: red;
|
|
3
|
+
}
|
|
4
|
+
.nesting-parent .nesting-child {
|
|
5
|
+
color: blue;
|
|
6
|
+
}
|
|
7
|
+
.nesting-parent .nesting-child .nesting-grandchild {
|
|
8
|
+
color: green;
|
|
9
|
+
}
|
|
10
|
+
.nesting-parent:hover {
|
|
11
|
+
color: orange;
|
|
12
|
+
}
|
|
13
|
+
.nesting-parent.modifier {
|
|
14
|
+
color: purple;
|
|
15
|
+
}
|
|
16
|
+
.correctly-exit-calc-mode h2 {
|
|
17
|
+
width: 10px;
|
|
18
|
+
}
|
|
19
|
+
.correctly-exit-calc-mode div {
|
|
20
|
+
width: calc(100px * 2);
|
|
21
|
+
}
|
|
22
|
+
.correctly-exit-calc-mode h1 {
|
|
23
|
+
color: white;
|
|
24
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.nesting-parent {
|
|
2
|
+
color: red;
|
|
3
|
+
|
|
4
|
+
.nesting-child {
|
|
5
|
+
color: blue;
|
|
6
|
+
|
|
7
|
+
.nesting-grandchild {
|
|
8
|
+
color: green;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
color: orange;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.modifier {
|
|
17
|
+
color: purple;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.correctly-exit-calc-mode {
|
|
22
|
+
@a: 10;
|
|
23
|
+
h2 { width: unit(@a, px); }
|
|
24
|
+
|
|
25
|
+
div { width: calc(100px * 2); }
|
|
26
|
+
|
|
27
|
+
.mk-map() {
|
|
28
|
+
text: white;
|
|
29
|
+
background: black;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@p: .mk-map();
|
|
33
|
+
|
|
34
|
+
h1 { color: @p[text]; }
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
.mixin() {
|
|
2
|
-
}
|
|
2
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.test-math-off {
|
|
2
|
+
result: 15px;
|
|
3
|
+
}
|
|
4
|
+
.test-dim-to-color {
|
|
5
|
+
result: #ff0a0a;
|
|
6
|
+
}
|
|
7
|
+
.test-color-to-dim {
|
|
8
|
+
result: #ff0a0a;
|
|
9
|
+
}
|
|
10
|
+
.test-division {
|
|
11
|
+
result: 10px / 2 * 2;
|
|
12
|
+
}
|
|
13
|
+
.test-nested {
|
|
14
|
+
result: 30px;
|
|
15
|
+
}
|
|
16
|
+
.test-spaced {
|
|
17
|
+
result: 15px;
|
|
18
|
+
}
|
|
19
|
+
.test-non-spaced {
|
|
20
|
+
result: 15px;
|
|
21
|
+
}
|
|
22
|
+
.test-div {
|
|
23
|
+
result: 10px / 2;
|
|
24
|
+
}
|
|
25
|
+
.test-op-operands {
|
|
26
|
+
result: 150px;
|
|
27
|
+
}
|
|
28
|
+
.test-math-context {
|
|
29
|
+
add: 15;
|
|
30
|
+
sub: 5;
|
|
31
|
+
mul: 50;
|
|
32
|
+
div: 10 / 5;
|
|
33
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Advanced operation tests to cover edge cases
|
|
2
|
+
|
|
3
|
+
// Operations with math off
|
|
4
|
+
@math-off: true;
|
|
5
|
+
.test-math-off {
|
|
6
|
+
@a: 10px;
|
|
7
|
+
@b: 5px;
|
|
8
|
+
result: @a + @b;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Operations with Dimension to Color conversion
|
|
12
|
+
@dimension: 10px;
|
|
13
|
+
@color: #ff0000;
|
|
14
|
+
.test-dim-to-color {
|
|
15
|
+
// This should convert dimension to color for operation
|
|
16
|
+
result: @dimension + @color;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Operations with Color to Dimension conversion
|
|
20
|
+
.test-color-to-dim {
|
|
21
|
+
result: @color + @dimension;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Operations with division and PARENS_DIVISION math mode
|
|
25
|
+
@div-op: (10px / 2);
|
|
26
|
+
.test-division {
|
|
27
|
+
result: @div-op * 2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Operations with nested operations
|
|
31
|
+
@nested: (10px + 5px) * 2;
|
|
32
|
+
.test-nested {
|
|
33
|
+
result: @nested;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Operations with spaced operators
|
|
37
|
+
@spaced: 10px + 5px;
|
|
38
|
+
.test-spaced {
|
|
39
|
+
result: @spaced;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Operations with non-spaced operators
|
|
43
|
+
@non-spaced: 10px+5px;
|
|
44
|
+
.test-non-spaced {
|
|
45
|
+
result: @non-spaced;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Operations with division operator
|
|
49
|
+
@div-op: 10px / 2;
|
|
50
|
+
.test-div {
|
|
51
|
+
result: @div-op;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Operations with invalid types (should error, but test the path)
|
|
55
|
+
.test-invalid {
|
|
56
|
+
// This will error, but tests the error path
|
|
57
|
+
// result: "string" + 10px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Operations with Operation operands
|
|
61
|
+
@op1: 10px + 5px;
|
|
62
|
+
@op2: 20px - 10px;
|
|
63
|
+
.test-op-operands {
|
|
64
|
+
result: @op1 * @op2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Operations with math context
|
|
68
|
+
.test-math-context {
|
|
69
|
+
@a: 10;
|
|
70
|
+
@b: 5;
|
|
71
|
+
add: @a + @b;
|
|
72
|
+
sub: @a - @b;
|
|
73
|
+
mul: @a * @b;
|
|
74
|
+
div: @a / @b;
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Test for ruleProperty parser with ${prop} interpolation (line 2640)
|
|
2
|
+
// This tests complex property names using ${property} interpolation in property NAMES
|
|
3
|
+
// ${prop} uses the VALUE of a plain property (not a variable) as the property name
|
|
4
|
+
// Note: This is different from @{var} which uses variables
|
|
5
|
+
|
|
6
|
+
.test {
|
|
7
|
+
// Define properties - their VALUES will be used as property names
|
|
8
|
+
prop-name: color;
|
|
9
|
+
my: background;
|
|
10
|
+
value: width;
|
|
11
|
+
|
|
12
|
+
// Simple ${prop} interpolation in property name (ruleProperty parser line 2640)
|
|
13
|
+
// ${prop-name} uses the value of prop-name ("color") as the property name
|
|
14
|
+
// This triggers the branch at line 2640: new(tree.Property)(`$${s.slice(2, -1)}`, ...)
|
|
15
|
+
${prop-name}: red;
|
|
16
|
+
|
|
17
|
+
// Multiple interpolations with literal parts
|
|
18
|
+
// border-${prop-name} becomes "border-color" (since prop-name's value is "color")
|
|
19
|
+
border-${prop-name}-width: 2px;
|
|
20
|
+
|
|
21
|
+
// Complex property name with ${prop}
|
|
22
|
+
*-z-${prop-name}: 1px dashed blue;
|
|
23
|
+
|
|
24
|
+
// Multiple ${prop} in same property name
|
|
25
|
+
// ${my}-${prop-name}-${value} becomes "background-color-width"
|
|
26
|
+
${my}-${prop-name}-${value}: green;
|
|
27
|
+
}
|
|
28
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Test for slashedCombinator parser (lines 1392-1399)
|
|
2
|
+
// This tests /deep/ and /shadow/ combinators
|
|
3
|
+
// NOTE: These combinators are DEPRECATED in CSS and should not be used in new code
|
|
4
|
+
// They were part of the Shadow DOM specification but have been removed
|
|
5
|
+
|
|
6
|
+
// /deep/ combinator (deprecated)
|
|
7
|
+
.parent /deep/ .child {
|
|
8
|
+
color: red;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// /shadow/ combinator (deprecated)
|
|
12
|
+
.container /shadow/ .content {
|
|
13
|
+
background: blue;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Test with nested selectors
|
|
17
|
+
.wrapper /deep/ .inner /deep/ .deepest {
|
|
18
|
+
padding: 10px;
|
|
19
|
+
}
|
|
20
|
+
|