@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
|
@@ -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 *
|
|
@@ -98,5 +99,5 @@
|
|
|
98
99
|
// line immediately followed
|
|
99
100
|
/*by block */
|
|
100
101
|
@string_w_comment: ~"/* // Not commented out // */";
|
|
101
|
-
#output-block { comment: @string_w_comment; }
|
|
102
|
-
/*comment on last line*/
|
|
102
|
+
#output-block { --comment: @string_w_comment; }
|
|
103
|
+
/*comment on last line*/
|
|
@@ -204,7 +204,9 @@
|
|
|
204
204
|
font-size: 1rem;
|
|
205
205
|
}
|
|
206
206
|
@media (hover: hover) {
|
|
207
|
-
|
|
207
|
+
.foo {
|
|
208
|
+
font-size: 1.75rem;
|
|
209
|
+
}
|
|
208
210
|
}
|
|
209
211
|
}
|
|
210
212
|
.media-2 {
|
|
@@ -220,9 +222,13 @@
|
|
|
220
222
|
font-size: 1rem;
|
|
221
223
|
}
|
|
222
224
|
@media (hover: hover) {
|
|
223
|
-
|
|
225
|
+
.foo {
|
|
226
|
+
font-size: 1.75rem;
|
|
227
|
+
}
|
|
224
228
|
@media not all and (hover: hover) {
|
|
225
|
-
|
|
229
|
+
.foo {
|
|
230
|
+
color: limegreen;
|
|
231
|
+
}
|
|
226
232
|
}
|
|
227
233
|
.media-3 {
|
|
228
234
|
padding: 0.5rem;
|
|
@@ -235,9 +241,30 @@
|
|
|
235
241
|
}
|
|
236
242
|
@container (min-width: 768px) {
|
|
237
243
|
@media only screen and (min-width: 768px) {
|
|
238
|
-
|
|
244
|
+
.foo {
|
|
245
|
+
color: aliceblue;
|
|
246
|
+
}
|
|
239
247
|
}
|
|
240
248
|
.container-1 {
|
|
241
249
|
color: purple;
|
|
242
250
|
}
|
|
243
251
|
}
|
|
252
|
+
#sticky {
|
|
253
|
+
position: sticky;
|
|
254
|
+
container-type: scroll-state;
|
|
255
|
+
}
|
|
256
|
+
@container scroll-state(stuck: top) {
|
|
257
|
+
#sticky-child {
|
|
258
|
+
font-size: 75%;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
@container scroll-state(snapped: x) {
|
|
262
|
+
#sticky-child {
|
|
263
|
+
font-size: 75%;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
@container scroll-state(scrollable: top) {
|
|
267
|
+
#sticky-child {
|
|
268
|
+
font-size: 75%;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
@@ -243,7 +243,9 @@
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
@media (hover: hover) {
|
|
246
|
-
|
|
246
|
+
.foo {
|
|
247
|
+
font-size: 1.75rem;
|
|
248
|
+
}
|
|
247
249
|
}
|
|
248
250
|
}
|
|
249
251
|
|
|
@@ -263,10 +265,12 @@
|
|
|
263
265
|
}
|
|
264
266
|
|
|
265
267
|
@media (hover: hover) {
|
|
266
|
-
|
|
268
|
+
.foo {
|
|
269
|
+
font-size: 1.75rem;
|
|
267
270
|
|
|
268
|
-
|
|
269
|
-
|
|
271
|
+
@media not all and (hover: hover) {
|
|
272
|
+
color: limegreen;
|
|
273
|
+
}
|
|
270
274
|
}
|
|
271
275
|
|
|
272
276
|
.media-3 {
|
|
@@ -282,10 +286,37 @@
|
|
|
282
286
|
|
|
283
287
|
@container (min-width: 768px) {
|
|
284
288
|
@media only screen and (min-width: 768px) {
|
|
285
|
-
|
|
289
|
+
.foo {
|
|
290
|
+
color: aliceblue;
|
|
291
|
+
}
|
|
286
292
|
}
|
|
287
293
|
|
|
288
294
|
.container-1 {
|
|
289
295
|
color: purple;
|
|
290
296
|
}
|
|
291
297
|
}
|
|
298
|
+
|
|
299
|
+
#sticky {
|
|
300
|
+
position: sticky;
|
|
301
|
+
container-type: scroll-state;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@container scroll-state(stuck: top) {
|
|
305
|
+
#sticky-child {
|
|
306
|
+
font-size: 75%;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
@container scroll-state(snapped: x) {
|
|
311
|
+
#sticky-child {
|
|
312
|
+
font-size: 75%;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@container scroll-state(scrollable: top) {
|
|
317
|
+
#sticky-child {
|
|
318
|
+
font-size: 75%;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@namespace foo url(http://www.example.com);
|
|
1
2
|
.comma-delimited {
|
|
2
3
|
text-shadow: -1px -1px 1px red, 6px 5px 5px yellow;
|
|
3
4
|
-moz-box-shadow: 0pt 0pt 2px rgba(255, 255, 255, 0.4) inset, 0pt 4px 6px rgba(255, 255, 255, 0.4) inset;
|
|
@@ -17,10 +18,10 @@
|
|
|
17
18
|
p:not([class*="lead"]) {
|
|
18
19
|
color: black;
|
|
19
20
|
}
|
|
20
|
-
input[type="text"].class#id[attr=
|
|
21
|
+
input[type="text"].class#id[attr=i32]:not(.one) {
|
|
21
22
|
color: inherit;
|
|
22
23
|
}
|
|
23
|
-
div#id.class[a=
|
|
24
|
+
div#id.class[a=one][b=two].class:not(.one) {
|
|
24
25
|
color: inherit;
|
|
25
26
|
}
|
|
26
27
|
ul.comma > li:not(:only-child)::after {
|
|
@@ -88,7 +89,6 @@ p::before {
|
|
|
88
89
|
@viewport {
|
|
89
90
|
font-size: 10px;
|
|
90
91
|
}
|
|
91
|
-
@namespace foo url(http://www.example.com);
|
|
92
92
|
foo|h1 {
|
|
93
93
|
color: blue;
|
|
94
94
|
}
|
|
@@ -109,15 +109,15 @@ h1 {
|
|
|
109
109
|
display: block;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
:not(input::placeholder) {
|
|
113
113
|
color: #b3b3b3;
|
|
114
114
|
}
|
|
115
115
|
.shadow > .dom,
|
|
116
116
|
body > .shadow {
|
|
117
117
|
display: done;
|
|
118
118
|
}
|
|
119
|
-
:host(.sel
|
|
120
|
-
:host-context(.sel
|
|
119
|
+
:host(.sel.a),
|
|
120
|
+
:host-context(.sel.b),
|
|
121
121
|
.sel > .b,
|
|
122
122
|
::content .sel {
|
|
123
123
|
type: shadow-dom;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@namespace foo url(http://www.example.com);
|
|
1
2
|
.comma-delimited {
|
|
2
3
|
text-shadow: -1px -1px 1px red, 6px 5px 5px yellow;
|
|
3
4
|
-moz-box-shadow: 0pt 0pt 2px rgba(255, 255, 255, 0.4) inset,
|
|
@@ -19,11 +20,11 @@ p:not([class*="lead"]) {
|
|
|
19
20
|
color: black;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
input[type="text"].class#id[attr=
|
|
23
|
+
input[type="text"].class#id[attr=i32]:not(.one) {
|
|
23
24
|
color: inherit;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
div#id.class[a=
|
|
27
|
+
div#id.class[a=one][b=two].class:not(.one) {
|
|
27
28
|
color: inherit;
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -96,7 +97,6 @@ p::before {
|
|
|
96
97
|
@viewport {
|
|
97
98
|
font-size: 10px;
|
|
98
99
|
}
|
|
99
|
-
@namespace foo url(http://www.example.com);
|
|
100
100
|
|
|
101
101
|
foo|h1 { color: blue; }
|
|
102
102
|
foo|* { color: yellow; }
|
|
@@ -110,7 +110,7 @@ h1 { color: green; }
|
|
|
110
110
|
display: block;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
:not(input::placeholder) {
|
|
114
114
|
color: #b3b3b3;
|
|
115
115
|
}
|
|
116
116
|
.shadow > .dom,
|
|
@@ -118,8 +118,8 @@ body > .shadow {
|
|
|
118
118
|
display: done;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
:host(.sel
|
|
122
|
-
:host-context(.sel
|
|
121
|
+
:host(.sel.a),
|
|
122
|
+
:host-context(.sel.b),
|
|
123
123
|
.sel > .b,
|
|
124
124
|
::content .sel {
|
|
125
125
|
type: shadow-dom;
|
|
@@ -150,3 +150,5 @@ body > .shadow {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
@unknown foo 43;
|
|
153
|
+
|
|
154
|
+
|
|
@@ -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,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
// test late parsing
|
|
3
2
|
@cols: 1, 2;
|
|
4
3
|
|
|
@@ -38,7 +37,7 @@
|
|
|
38
37
|
number-value: extract(12345678, 1);
|
|
39
38
|
color-value: extract(blue, 1);
|
|
40
39
|
rgba-value: extract(rgba(80, 160, 240, 0.67), 1);
|
|
41
|
-
empty-value: extract(~'', 1);
|
|
40
|
+
--empty-value: extract(~'', 1);
|
|
42
41
|
|
|
43
42
|
name-length: length(name);
|
|
44
43
|
string-length: length("string");
|
|
@@ -144,3 +143,5 @@
|
|
|
144
143
|
extract-4: extract(@v4, 1);
|
|
145
144
|
}
|
|
146
145
|
}
|
|
146
|
+
|
|
147
|
+
|
|
@@ -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
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// JavaScript evaluation tests
|
|
1
2
|
.eval {
|
|
2
3
|
js: `42`;
|
|
3
4
|
js: `1 + 1`;
|
|
@@ -9,7 +10,7 @@
|
|
|
9
10
|
return x})()`;
|
|
10
11
|
}
|
|
11
12
|
.scope {
|
|
12
|
-
empty: `+function(){}`;
|
|
13
|
+
--empty: `+function(){}`;
|
|
13
14
|
@foo: 42;
|
|
14
15
|
var: `parseInt(this.foo.toJS())`;
|
|
15
16
|
escaped: ~`2 + 5 + 'px'`;
|