@less/test-data 4.4.4 → 4.5.0
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/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/{less/_main → tests-unit/comments}/comments.less +2 -1
- package/{less/_main → tests-unit/comments}/comments2.less +1 -0
- package/{less/_main → tests-unit/container}/container.less +2 -0
- package/{less/_main → tests-unit/css-3}/css-3.less +2 -0
- 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/{less/_main → tests-unit/extract-and-length}/extract-and-length.less +2 -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/{less/_main → tests-unit/import}/import-reference.less +2 -2
- package/tests-unit/import/styles.config.cjs +7 -0
- package/{less/_main → tests-unit/javascript}/javascript.less +1 -0
- 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/{less/_main → tests-unit/layer}/layer.less +2 -0
- package/{less/_main → tests-unit/lazy-eval}/lazy-eval.less +1 -0
- package/{less/_main → tests-unit/media}/media.less +0 -1
- 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/{less/_main → tests-unit/mixins-interpolated}/mixins-interpolated.less +0 -1
- 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/{less/_main → tests-unit/selectors}/selectors.less +2 -0
- package/{less/_main → tests-unit/starting-style}/starting-style.less +2 -0
- package/{less/_main → tests-unit/strings}/strings.less +1 -0
- 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-1.txt +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-2.txt +0 -0
- package/{errors → tests-error}/parse/parse-error-media-no-block-3.less +0 -0
- package/{errors → tests-error}/parse/parse-error-media-no-block-3.txt +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}/comments.css +0 -0
- package/{css/_main → tests-unit/comments}/comments2.css +0 -0
- package/{css/_main → tests-unit/container}/container.css +0 -0
- package/{css/_main → tests-unit/css-3}/css-3.css +0 -0
- package/{css/_main → tests-unit/css-escapes}/css-escapes.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/extract-and-length}/extract-and-length.css +0 -0
- package/{css/_main → tests-unit/functions}/functions.css +0 -0
- package/{less/_main → tests-unit/functions}/functions.less +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-reference.css +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/javascript}/javascript.css +0 -0
- package/{css/_main → tests-unit/layer}/layer.css +0 -0
- package/{css/_main → tests-unit/lazy-eval}/lazy-eval.css +0 -0
- package/{css/_main → tests-unit/media}/media.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-interpolated}/mixins-interpolated.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/selectors}/selectors.css +0 -0
- /package/{css/_main → tests-unit/starting-style}/starting-style.css +0 -0
- /package/{css/_main → tests-unit/strings}/strings.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
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Modern color space function tests
|
|
2
|
+
.color-oklch-sub {
|
|
3
|
+
background: oklch(from #0000FF calc(l - 0.1) c h);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.color-oklch-add {
|
|
7
|
+
background: oklch(from #0000FF calc(l + 0.1) c h);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.color-oklch-mult {
|
|
11
|
+
background: oklch(from #0000FF calc(l * 0.1) c h);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.color-oklch-div {
|
|
15
|
+
background: oklch(from #0000FF calc(l / 2) c h);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.color-hsl-sub {
|
|
19
|
+
background: hsl(from #0000FF calc(h - 1) s l);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.color-hsl-add {
|
|
23
|
+
background: hsl(from #0000FF calc(h + 1) s l);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.color-hsl-mult {
|
|
27
|
+
background: hsl(from #0000FF calc(h * 1) s l);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.color-hsl-div {
|
|
31
|
+
background: hsl(from #0000FF calc(h / 2) s l);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.color-rgb-sub {
|
|
35
|
+
background: rgb(from #0000FF calc(r - 1) g b);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.color-rgb-add {
|
|
39
|
+
background: rgb(from #0000FF calc(r + 1) g b);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.color-rgb-mult {
|
|
43
|
+
background: rgb(from #0000FF calc(r * 1) g b);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.color-rgb-div {
|
|
47
|
+
background: rgb(from #0000FF calc(r / 2) g b);
|
|
48
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Color operations tests - testing color math operations
|
|
2
|
+
#overflow {
|
|
3
|
+
.a { color: (#111111 - #444444); } // #000000
|
|
4
|
+
.b { color: (#eee + #fff); } // #ffffff
|
|
5
|
+
.c { color: (#aaa * 3); } // #ffffff
|
|
6
|
+
.d { color: (#00ee00 + #009900); } // #00ff00
|
|
7
|
+
.e { color: rgba(-99.9, 31.4159, 321, 0.42); }
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#rrggbbaa {
|
|
2
|
+
test-1: #55FF5599;
|
|
3
|
+
test-2: #5F59;
|
|
4
|
+
test-3: rgba(136, 255, 136, 0.6);
|
|
5
|
+
test-4: rgba(85, 255, 85, 0.1);
|
|
6
|
+
test-5: rgba(85, 255, 85, 0.6);
|
|
7
|
+
test-6: rgba(85, 255, 85, 0.6);
|
|
8
|
+
test-7: rgba(85, 255, 85, 0.5);
|
|
9
|
+
test-8: rgba(var(--color-accent), 0.2);
|
|
10
|
+
test-9: rgb(var(--color-accent));
|
|
11
|
+
test-9: hsla(var(--color-accent));
|
|
12
|
+
test-10: #55FF5599;
|
|
13
|
+
test-11: hsla(120, 100%, 66.66666667%, 0.6);
|
|
14
|
+
test-12: hsla(120, 100%, 66.66666667%, 0.5);
|
|
15
|
+
--semi-transparent-dark-background: #001e00ee;
|
|
16
|
+
--semi-transparent-dark-background-2: #001e00;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// RGBA and RRGGBBAA tests
|
|
2
|
+
#rrggbbaa {
|
|
3
|
+
test-1: #55FF5599;
|
|
4
|
+
test-2: #5F59;
|
|
5
|
+
test-3: lighten(#55FF5599, 10%);
|
|
6
|
+
test-4: fade(#5F59, 10%);
|
|
7
|
+
test-5: rgba(#55FF5599);
|
|
8
|
+
test-6: rgba(#5F59);
|
|
9
|
+
test-7: rgba(#5F59, 0.5);
|
|
10
|
+
test-8: rgba(var(--color-accent), 0.2);
|
|
11
|
+
test-9: rgb(var(--color-accent));
|
|
12
|
+
test-9: hsla(var(--color-accent));
|
|
13
|
+
test-10: color('#55FF5599');
|
|
14
|
+
test-11: hsla(#5F59);
|
|
15
|
+
test-12: hsla(#5F59, 0.5);
|
|
16
|
+
--semi-transparent-dark-background: #001e00ee;
|
|
17
|
+
--semi-transparent-dark-background-2: rgba(0, 30, 0, 238); // invalid opacity will be capped
|
|
18
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// Comprehensive comment handling tests
|
|
1
2
|
/******************\
|
|
2
3
|
* *
|
|
3
4
|
* Comment Header *
|
|
@@ -99,4 +100,4 @@
|
|
|
99
100
|
/*by block */
|
|
100
101
|
@string_w_comment: ~"/* // Not commented out // */";
|
|
101
102
|
#output-block { --comment: @string_w_comment; }
|
|
102
|
-
/*comment on last line*/
|
|
103
|
+
/*comment on last line*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// CSS escapes tests
|
|
1
2
|
@ugly: fuchsia;
|
|
2
3
|
|
|
3
4
|
.escape\|random\|char {
|
|
@@ -41,4 +42,4 @@ textarea {
|
|
|
41
42
|
font-family: 'helvetica neue','wenquanyi micro hei',\5FAE\8F6F\96C5\9ED1, \5B8B\4F53, sans-serif;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
|
-
e('/* anything to unquote */');
|
|
45
|
+
e('/* anything to unquote */');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import (reference) url("import-once.less");
|
|
2
|
-
@import (reference) url("css-3.less");
|
|
3
|
-
@import (reference) url("media.less");
|
|
2
|
+
@import (reference) url("../css-3/css-3.less");
|
|
3
|
+
@import (reference) url("../media/media.less");
|
|
4
4
|
@import (reference) url("import/import-reference.less");
|
|
5
5
|
@import (reference) url("import/css-import.less");
|
|
6
6
|
|
|
@@ -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
|
+
|