less 2.2.2 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Changelog.md +17 -0
- data/Gemfile +7 -3
- data/README.md +29 -13
- data/bin/lessc +3 -1
- data/less.gemspec +2 -6
- data/lib/less/defaults.rb +3 -3
- data/lib/less/java_script/rhino_context.rb +17 -27
- data/lib/less/java_script/v8_context.rb +11 -11
- data/lib/less/js/.gitattributes +10 -0
- data/lib/less/js/.gitignore +24 -0
- data/lib/less/js/.jshintrc +11 -0
- data/lib/less/js/.npmignore +1 -0
- data/lib/less/js/.travis.yml +8 -0
- data/lib/less/js/CHANGELOG.md +299 -0
- data/lib/less/js/CONTRIBUTING.md +50 -0
- data/lib/less/js/Gruntfile.js +298 -0
- data/lib/less/js/README.md +43 -12
- data/lib/less/js/benchmark/benchmark.less +194 -194
- data/lib/less/js/benchmark/less-benchmark.js +9 -10
- data/lib/less/js/bin/lessc +310 -37
- data/lib/less/js/bower.json +18 -0
- data/lib/less/js/build/README.md +51 -0
- data/lib/less/js/build/amd.js +1 -1
- data/lib/less/js/build/browser-header.js +4 -0
- data/lib/less/js/build/build.yml +162 -0
- data/lib/less/js/build/require-rhino.js +7 -2
- data/lib/less/js/build/rhino-header.js +4 -0
- data/lib/less/js/build/rhino-modules.js +131 -0
- data/lib/less/js/build/tasks/.gitkeep +1 -0
- data/lib/less/js/build.gradle +347 -0
- data/lib/less/js/dist/less-1.3.1.js +4011 -0
- data/lib/less/js/dist/less-1.3.1.min.js +9 -0
- data/lib/less/js/dist/less-1.3.2.js +4401 -0
- data/lib/less/js/dist/less-1.3.2.min.js +9 -0
- data/lib/less/js/dist/less-1.3.3.js +4413 -0
- data/lib/less/js/dist/less-1.3.3.min.js +9 -0
- data/lib/less/js/dist/less-1.4.0-beta.js +5830 -0
- data/lib/less/js/dist/less-1.4.0-beta.min.js +11 -0
- data/lib/less/js/dist/less-1.4.0.js +5830 -0
- data/lib/less/js/dist/less-1.4.0.min.js +11 -0
- data/lib/less/js/dist/less-1.4.1.js +5837 -0
- data/lib/less/js/dist/less-1.4.1.min.js +11 -0
- data/lib/less/js/dist/less-1.4.2.js +5837 -0
- data/lib/less/js/dist/less-1.4.2.min.js +11 -0
- data/lib/less/js/dist/less-1.5.0.js +6914 -0
- data/lib/less/js/dist/less-1.5.0.min.js +13 -0
- data/lib/less/js/dist/less-1.5.1.js +6941 -0
- data/lib/less/js/dist/less-1.5.1.min.js +13 -0
- data/lib/less/js/dist/less-1.6.0.js +7485 -0
- data/lib/less/js/dist/less-1.6.0.min.js +16 -0
- data/lib/less/js/dist/less-1.6.1.js +7513 -0
- data/lib/less/js/dist/less-1.6.1.min.js +16 -0
- data/lib/less/js/dist/less-1.6.2.js +7624 -0
- data/lib/less/js/dist/less-1.6.2.min.js +16 -0
- data/lib/less/js/dist/less-1.6.3.js +7627 -0
- data/lib/less/js/dist/less-1.6.3.min.js +16 -0
- data/lib/less/js/dist/less-1.7.0.js +7921 -0
- data/lib/less/js/dist/less-1.7.0.min.js +16 -0
- data/lib/less/js/dist/less-rhino-1.3.1.js +3725 -0
- data/lib/less/js/dist/less-rhino-1.3.2.js +3990 -0
- data/lib/less/js/dist/less-rhino-1.3.3.js +4002 -0
- data/lib/less/js/dist/less-rhino-1.4.0.js +4273 -0
- data/lib/less/js/dist/less-rhino-1.5.1.js +6831 -0
- data/lib/less/js/dist/less-rhino-1.6.2.js +9017 -0
- data/lib/less/js/dist/less-rhino-1.6.3.js +9020 -0
- data/lib/less/js/dist/less-rhino-1.7.0.js +9301 -0
- data/lib/less/js/dist/lessc-rhino-1.6.2.js +449 -0
- data/lib/less/js/dist/lessc-rhino-1.6.3.js +449 -0
- data/lib/less/js/dist/lessc-rhino-1.7.0.js +449 -0
- data/lib/less/js/gradle/wrapper/gradle-wrapper.jar +0 -0
- data/lib/less/js/gradle/wrapper/gradle-wrapper.properties +6 -0
- data/lib/less/js/gradlew +164 -0
- data/lib/less/js/gradlew.bat +90 -0
- data/lib/less/js/lib/less/browser.js +547 -250
- data/lib/less/js/lib/less/encoder.js +4 -0
- data/lib/less/js/lib/less/env.js +136 -0
- data/lib/less/js/lib/less/extend-visitor.js +416 -0
- data/lib/less/js/lib/less/functions.js +576 -36
- data/lib/less/js/lib/less/import-visitor.js +142 -0
- data/lib/less/js/lib/less/index.js +187 -83
- data/lib/less/js/lib/less/join-selector-visitor.js +44 -0
- data/lib/less/js/lib/less/lessc_helper.js +82 -0
- data/lib/less/js/lib/less/parser.js +1286 -523
- data/lib/less/js/lib/less/rhino.js +415 -29
- data/lib/less/js/lib/less/source-map-output.js +141 -0
- data/lib/less/js/lib/less/to-css-visitor.js +240 -0
- data/lib/less/js/lib/less/tree/alpha.js +17 -5
- data/lib/less/js/lib/less/tree/anonymous.js +25 -4
- data/lib/less/js/lib/less/tree/assignment.js +17 -5
- data/lib/less/js/lib/less/tree/call.js +36 -13
- data/lib/less/js/lib/less/tree/color.js +119 -31
- data/lib/less/js/lib/less/tree/comment.js +18 -4
- data/lib/less/js/lib/less/tree/condition.js +35 -28
- data/lib/less/js/lib/less/tree/detached-ruleset.js +20 -0
- data/lib/less/js/lib/less/tree/dimension.js +291 -16
- data/lib/less/js/lib/less/tree/directive.js +56 -22
- data/lib/less/js/lib/less/tree/element.js +78 -17
- data/lib/less/js/lib/less/tree/expression.js +39 -8
- data/lib/less/js/lib/less/tree/extend.js +53 -0
- data/lib/less/js/lib/less/tree/import.js +81 -36
- data/lib/less/js/lib/less/tree/javascript.js +17 -10
- data/lib/less/js/lib/less/tree/keyword.js +8 -3
- data/lib/less/js/lib/less/tree/media.js +70 -27
- data/lib/less/js/lib/less/tree/mixin.js +250 -70
- data/lib/less/js/lib/less/tree/negative.js +24 -0
- data/lib/less/js/lib/less/tree/operation.js +38 -13
- data/lib/less/js/lib/less/tree/paren.js +9 -2
- data/lib/less/js/lib/less/tree/quoted.js +29 -10
- data/lib/less/js/lib/less/tree/rule.js +77 -29
- data/lib/less/js/lib/less/tree/ruleset-call.js +16 -0
- data/lib/less/js/lib/less/tree/ruleset.js +445 -107
- data/lib/less/js/lib/less/tree/selector.js +117 -30
- data/lib/less/js/lib/less/tree/unicode-descriptor.js +15 -0
- data/lib/less/js/lib/less/tree/url.js +43 -15
- data/lib/less/js/lib/less/tree/value.js +16 -6
- data/lib/less/js/lib/less/tree/variable.js +26 -8
- data/lib/less/js/lib/less/tree.js +82 -2
- data/lib/less/js/lib/less/visitor.js +146 -0
- data/lib/less/js/lib/source-map/source-map-0.1.31.js +1933 -0
- data/lib/less/js/lib/source-map/source-map-footer.js +4 -0
- data/lib/less/js/lib/source-map/source-map-header.js +3 -0
- data/lib/less/js/package.json +86 -11
- data/lib/less/js/test/browser/common.js +201 -0
- data/lib/less/js/test/browser/css/global-vars/simple.css +3 -0
- data/lib/less/js/test/browser/css/modify-vars/simple.css +8 -0
- data/lib/less/js/test/browser/css/postProcessor/postProcessor.css +4 -0
- data/lib/less/js/test/browser/css/relative-urls/urls.css +35 -0
- data/lib/less/js/test/browser/css/rootpath/urls.css +35 -0
- data/lib/less/js/test/browser/css/rootpath-relative/urls.css +35 -0
- data/lib/less/js/test/browser/css/urls.css +53 -0
- data/lib/less/js/test/browser/es5.js +27 -0
- data/lib/less/js/test/browser/jasmine-html.js +681 -0
- data/lib/less/js/test/browser/jasmine.css +82 -0
- data/lib/less/js/test/browser/jasmine.js +2600 -0
- data/lib/less/js/test/browser/less/console-errors/test-error.less +3 -0
- data/lib/less/js/test/browser/less/console-errors/test-error.txt +2 -0
- data/lib/less/js/test/browser/less/global-vars/simple.less +3 -0
- data/lib/less/js/test/browser/less/imports/urls.less +4 -0
- data/lib/less/js/test/browser/less/imports/urls2.less +4 -0
- data/lib/less/js/test/browser/less/modify-vars/imports/simple2.less +4 -0
- data/lib/less/js/test/browser/less/modify-vars/simple.less +8 -0
- data/lib/less/js/test/browser/less/postProcessor/postProcessor.less +4 -0
- data/lib/less/js/test/browser/less/relative-urls/urls.less +33 -0
- data/lib/less/js/test/browser/less/rootpath/urls.less +33 -0
- data/lib/less/js/test/browser/less/rootpath-relative/urls.less +33 -0
- data/lib/less/js/test/browser/less/urls.less +57 -0
- data/lib/less/js/test/browser/phantom-runner.js +150 -0
- data/lib/less/js/test/browser/runner-browser-options.js +42 -0
- data/lib/less/js/test/browser/runner-browser-spec.js +12 -0
- data/lib/less/js/test/browser/runner-console-errors.js +5 -0
- data/lib/less/js/test/browser/runner-errors-options.js +5 -0
- data/lib/less/js/test/browser/runner-errors-spec.js +4 -0
- data/lib/less/js/test/browser/runner-global-vars-options.js +4 -0
- data/lib/less/js/test/browser/runner-global-vars-spec.js +3 -0
- data/lib/less/js/test/browser/runner-legacy-options.js +4 -0
- data/lib/less/js/test/browser/runner-legacy-spec.js +3 -0
- data/lib/less/js/test/browser/runner-main-options.js +15 -0
- data/lib/less/js/test/browser/runner-main-spec.js +3 -0
- data/lib/less/js/test/browser/runner-modify-vars-options.js +2 -0
- data/lib/less/js/test/browser/runner-modify-vars-spec.js +43 -0
- data/lib/less/js/test/browser/runner-no-js-errors-options.js +4 -0
- data/lib/less/js/test/browser/runner-no-js-errors-spec.js +4 -0
- data/lib/less/js/test/browser/runner-postProcessor-options.js +4 -0
- data/lib/less/js/test/browser/runner-postProcessor.js +3 -0
- data/lib/less/js/test/browser/runner-production-options.js +3 -0
- data/lib/less/js/test/browser/runner-production-spec.js +5 -0
- data/lib/less/js/test/browser/runner-relative-urls-options.js +3 -0
- data/lib/less/js/test/browser/runner-relative-urls-spec.js +3 -0
- data/lib/less/js/test/browser/runner-rootpath-options.js +3 -0
- data/lib/less/js/test/browser/runner-rootpath-relative-options.js +4 -0
- data/lib/less/js/test/browser/runner-rootpath-relative-spec.js +3 -0
- data/lib/less/js/test/browser/runner-rootpath-spec.js +3 -0
- data/lib/less/js/test/browser/test-runner-template.tmpl +47 -0
- data/lib/less/js/test/css/charsets.css +1 -0
- data/lib/less/js/test/css/colors.css +29 -0
- data/lib/less/js/test/css/comments.css +15 -2
- data/lib/less/js/test/css/compression/compression.css +3 -0
- data/lib/less/js/test/css/css-3.css +73 -2
- data/lib/less/js/test/css/css-escapes.css +4 -0
- data/lib/less/js/test/css/css-guards.css +37 -0
- data/lib/less/js/test/css/css.css +20 -14
- data/lib/less/js/test/css/debug/linenumbers-all.css +49 -0
- data/lib/less/js/test/css/debug/linenumbers-comments.css +40 -0
- data/lib/less/js/test/css/debug/linenumbers-mediaquery.css +40 -0
- data/lib/less/js/test/css/detached-rulesets.css +71 -0
- data/lib/less/js/test/css/empty.css +0 -0
- data/lib/less/js/test/css/extend-chaining.css +81 -0
- data/lib/less/js/test/css/extend-clearfix.css +19 -0
- data/lib/less/js/test/css/extend-exact.css +37 -0
- data/lib/less/js/test/css/extend-media.css +24 -0
- data/lib/less/js/test/css/extend-nest.css +57 -0
- data/lib/less/js/test/css/extend-selector.css +80 -0
- data/lib/less/js/test/css/extend.css +76 -0
- data/lib/less/js/test/css/extract-and-length.css +133 -0
- data/lib/less/js/test/css/functions.css +117 -2
- data/lib/less/js/test/css/globalVars/extended.css +12 -0
- data/lib/less/js/test/css/globalVars/simple.css +6 -0
- data/lib/less/js/test/css/ie-filters.css +7 -3
- data/lib/less/js/test/css/import-inline.css +5 -0
- data/lib/less/js/test/css/import-interpolation.css +6 -0
- data/lib/less/js/test/css/import-once.css +15 -0
- data/lib/less/js/test/css/import-reference.css +68 -0
- data/lib/less/js/test/css/import.css +23 -10
- data/lib/less/js/test/css/javascript.css +3 -2
- data/lib/less/js/test/css/legacy/legacy.css +7 -0
- data/lib/less/js/test/css/media.css +141 -1
- data/lib/less/js/test/css/merge.css +34 -0
- data/lib/less/js/test/css/mixins-args.css +41 -4
- data/lib/less/js/test/css/mixins-guards-default-func.css +129 -0
- data/lib/less/js/test/css/mixins-guards.css +24 -0
- data/lib/less/js/test/css/mixins-important.css +28 -0
- data/lib/less/js/test/css/mixins-interpolated.css +39 -0
- data/lib/less/js/test/css/mixins-named-args.css +27 -0
- data/lib/less/js/test/css/mixins-pattern.css +4 -0
- data/lib/less/js/test/css/mixins.css +70 -0
- data/lib/less/js/test/css/modifyVars/extended.css +9 -0
- data/lib/less/js/test/css/no-output.css +0 -0
- data/lib/less/js/test/css/parens.css +21 -5
- data/lib/less/js/test/css/property-name-interp.css +20 -0
- data/lib/less/js/test/css/scope.css +23 -0
- data/lib/less/js/test/css/selectors.css +84 -0
- data/lib/less/js/test/css/static-urls/urls.css +45 -0
- data/lib/less/js/test/css/strings.css +5 -2
- data/lib/less/js/test/css/url-args/urls.css +56 -0
- data/lib/less/js/test/css/urls.css +71 -0
- data/lib/less/js/test/css/variables-in-at-rules.css +18 -0
- data/lib/less/js/test/css/variables.css +22 -4
- data/lib/less/js/test/css/whitespace.css +4 -0
- data/lib/less/js/test/data/data-uri-fail.png +0 -0
- data/lib/less/js/test/data/image.jpg +1 -0
- data/lib/less/js/test/data/page.html +1 -0
- data/lib/less/js/test/index.js +45 -0
- data/lib/less/js/test/less/charsets.less +3 -0
- data/lib/less/js/test/less/colors.less +37 -4
- data/lib/less/js/test/less/comments.less +21 -3
- data/lib/less/js/test/less/compression/compression.less +36 -0
- data/lib/less/js/test/less/css-3.less +70 -6
- data/lib/less/js/test/less/css-escapes.less +6 -1
- data/lib/less/js/test/less/css-guards.less +102 -0
- data/lib/less/js/test/less/css.less +23 -15
- data/lib/less/js/test/less/debug/import/test.less +25 -0
- data/lib/less/js/test/less/debug/linenumbers.less +33 -0
- data/lib/less/js/test/less/detached-rulesets.less +103 -0
- data/lib/less/js/test/less/empty.less +0 -0
- data/lib/less/js/test/less/errors/add-mixed-units.less +3 -0
- data/lib/less/js/test/less/errors/add-mixed-units.txt +4 -0
- data/lib/less/js/test/less/errors/add-mixed-units2.less +3 -0
- data/lib/less/js/test/less/errors/add-mixed-units2.txt +4 -0
- data/lib/less/js/test/less/errors/at-rules-undefined-var.less +4 -0
- data/lib/less/js/test/less/errors/at-rules-undefined-var.txt +4 -0
- data/lib/less/js/test/less/errors/bad-variable-declaration1.less +1 -0
- data/lib/less/js/test/less/errors/bad-variable-declaration1.txt +2 -0
- data/lib/less/js/test/less/errors/color-func-invalid-color.less +3 -0
- data/lib/less/js/test/less/errors/color-func-invalid-color.txt +4 -0
- data/lib/less/js/test/less/errors/comment-in-selector.less +1 -0
- data/lib/less/js/test/less/errors/comment-in-selector.txt +2 -0
- data/lib/less/js/test/less/errors/css-guard-default-func.less +4 -0
- data/lib/less/js/test/less/errors/css-guard-default-func.txt +4 -0
- data/lib/less/js/test/less/errors/detached-ruleset-1.less +6 -0
- data/lib/less/js/test/less/errors/detached-ruleset-1.txt +4 -0
- data/lib/less/js/test/less/errors/detached-ruleset-2.less +6 -0
- data/lib/less/js/test/less/errors/detached-ruleset-2.txt +4 -0
- data/lib/less/js/test/less/errors/detached-ruleset-3.less +4 -0
- data/lib/less/js/test/less/errors/detached-ruleset-3.txt +4 -0
- data/lib/less/js/test/less/errors/detached-ruleset-4.less +5 -0
- data/lib/less/js/test/less/errors/detached-ruleset-4.txt +3 -0
- data/lib/less/js/test/less/errors/detached-ruleset-5.less +4 -0
- data/lib/less/js/test/less/errors/detached-ruleset-5.txt +3 -0
- data/lib/less/js/test/less/errors/detached-ruleset-6.less +5 -0
- data/lib/less/js/test/less/errors/detached-ruleset-6.txt +4 -0
- data/lib/less/js/test/less/errors/divide-mixed-units.less +3 -0
- data/lib/less/js/test/less/errors/divide-mixed-units.txt +4 -0
- data/lib/less/js/test/less/errors/extend-no-selector.less +3 -0
- data/lib/less/js/test/less/errors/extend-no-selector.txt +3 -0
- data/lib/less/js/test/less/errors/extend-not-at-end.less +3 -0
- data/lib/less/js/test/less/errors/extend-not-at-end.txt +3 -0
- data/lib/less/js/test/less/errors/import-missing.less +6 -0
- data/lib/less/js/test/less/errors/import-missing.txt +3 -0
- data/lib/less/js/test/less/errors/import-no-semi.less +1 -0
- data/lib/less/js/test/less/errors/import-no-semi.txt +2 -0
- data/lib/less/js/test/less/errors/import-subfolder1.less +1 -0
- data/lib/less/js/test/less/errors/import-subfolder1.txt +3 -0
- data/lib/less/js/test/less/errors/import-subfolder2.less +1 -0
- data/lib/less/js/test/less/errors/import-subfolder2.txt +4 -0
- data/lib/less/js/test/less/errors/imports/import-subfolder1.less +1 -0
- data/lib/less/js/test/less/errors/imports/import-subfolder2.less +1 -0
- data/lib/less/js/test/less/errors/imports/import-test.less +4 -0
- data/lib/less/js/test/less/errors/imports/subfolder/mixin-not-defined.less +1 -0
- data/lib/less/js/test/less/errors/imports/subfolder/parse-error-curly-bracket.less +1 -0
- data/lib/less/js/test/less/errors/javascript-error.less +3 -0
- data/lib/less/js/test/less/errors/javascript-error.txt +4 -0
- data/lib/less/js/test/less/errors/javascript-undefined-var.less +3 -0
- data/lib/less/js/test/less/errors/javascript-undefined-var.txt +4 -0
- data/lib/less/js/test/less/errors/mixed-mixin-definition-args-1.less +6 -0
- data/lib/less/js/test/less/errors/mixed-mixin-definition-args-1.txt +4 -0
- data/lib/less/js/test/less/errors/mixed-mixin-definition-args-2.less +6 -0
- data/lib/less/js/test/less/errors/mixed-mixin-definition-args-2.txt +4 -0
- data/lib/less/js/test/less/errors/mixin-not-defined.less +11 -0
- data/lib/less/js/test/less/errors/mixin-not-defined.txt +3 -0
- data/lib/less/js/test/less/errors/mixin-not-matched.less +6 -0
- data/lib/less/js/test/less/errors/mixin-not-matched.txt +3 -0
- data/lib/less/js/test/less/errors/mixin-not-matched2.less +6 -0
- data/lib/less/js/test/less/errors/mixin-not-matched2.txt +3 -0
- data/lib/less/js/test/less/errors/mixin-not-visible-in-scope-1.less +9 -0
- data/lib/less/js/test/less/errors/mixin-not-visible-in-scope-1.txt +4 -0
- data/lib/less/js/test/less/errors/mixins-guards-default-func-1.less +9 -0
- data/lib/less/js/test/less/errors/mixins-guards-default-func-1.txt +4 -0
- data/lib/less/js/test/less/errors/mixins-guards-default-func-2.less +9 -0
- data/lib/less/js/test/less/errors/mixins-guards-default-func-2.txt +4 -0
- data/lib/less/js/test/less/errors/mixins-guards-default-func-3.less +9 -0
- data/lib/less/js/test/less/errors/mixins-guards-default-func-3.txt +4 -0
- data/lib/less/js/test/less/errors/multiple-guards-on-css-selectors.less +4 -0
- data/lib/less/js/test/less/errors/multiple-guards-on-css-selectors.txt +4 -0
- data/lib/less/js/test/less/errors/multiple-guards-on-css-selectors2.less +4 -0
- data/lib/less/js/test/less/errors/multiple-guards-on-css-selectors2.txt +4 -0
- data/lib/less/js/test/less/errors/multiply-mixed-units.less +7 -0
- data/lib/less/js/test/less/errors/multiply-mixed-units.txt +4 -0
- data/lib/less/js/test/less/errors/parens-error-1.less +3 -0
- data/lib/less/js/test/less/errors/parens-error-1.txt +4 -0
- data/lib/less/js/test/less/errors/parens-error-2.less +3 -0
- data/lib/less/js/test/less/errors/parens-error-2.txt +4 -0
- data/lib/less/js/test/less/errors/parens-error-3.less +3 -0
- data/lib/less/js/test/less/errors/parens-error-3.txt +4 -0
- data/lib/less/js/test/less/errors/parse-error-curly-bracket.less +4 -0
- data/lib/less/js/test/less/errors/parse-error-curly-bracket.txt +4 -0
- data/lib/less/js/test/less/errors/parse-error-extra-parens.less +5 -0
- data/lib/less/js/test/less/errors/parse-error-extra-parens.txt +3 -0
- data/lib/less/js/test/less/errors/parse-error-missing-bracket.less +2 -0
- data/lib/less/js/test/less/errors/parse-error-missing-bracket.txt +3 -0
- data/lib/less/js/test/less/errors/parse-error-missing-parens.less +5 -0
- data/lib/less/js/test/less/errors/parse-error-missing-parens.txt +3 -0
- data/lib/less/js/test/less/errors/parse-error-with-import.less +13 -0
- data/lib/less/js/test/less/errors/parse-error-with-import.txt +4 -0
- data/lib/less/js/test/less/errors/percentage-missing-space.less +3 -0
- data/lib/less/js/test/less/errors/percentage-missing-space.txt +4 -0
- data/lib/less/js/test/less/errors/property-asterisk-only-name.less +3 -0
- data/lib/less/js/test/less/errors/property-asterisk-only-name.txt +4 -0
- data/lib/less/js/test/less/errors/property-ie5-hack.less +3 -0
- data/lib/less/js/test/less/errors/property-ie5-hack.txt +4 -0
- data/lib/less/js/test/less/errors/property-in-root.less +4 -0
- data/lib/less/js/test/less/errors/property-in-root.txt +4 -0
- data/lib/less/js/test/less/errors/property-in-root2.less +1 -0
- data/lib/less/js/test/less/errors/property-in-root2.txt +4 -0
- data/lib/less/js/test/less/errors/property-in-root3.less +4 -0
- data/lib/less/js/test/less/errors/property-in-root3.txt +3 -0
- data/lib/less/js/test/less/errors/property-interp-not-defined.less +1 -0
- data/lib/less/js/test/less/errors/property-interp-not-defined.txt +2 -0
- data/lib/less/js/test/less/errors/recursive-variable.less +1 -0
- data/lib/less/js/test/less/errors/recursive-variable.txt +2 -0
- data/lib/less/js/test/less/errors/svg-gradient1.less +3 -0
- data/lib/less/js/test/less/errors/svg-gradient1.txt +4 -0
- data/lib/less/js/test/less/errors/svg-gradient2.less +3 -0
- data/lib/less/js/test/less/errors/svg-gradient2.txt +4 -0
- data/lib/less/js/test/less/errors/svg-gradient3.less +3 -0
- data/lib/less/js/test/less/errors/svg-gradient3.txt +4 -0
- data/lib/less/js/test/less/errors/unit-function.less +3 -0
- data/lib/less/js/test/less/errors/unit-function.txt +4 -0
- data/lib/less/js/test/less/extend-chaining.less +91 -0
- data/lib/less/js/test/less/extend-clearfix.less +19 -0
- data/lib/less/js/test/less/extend-exact.less +46 -0
- data/lib/less/js/test/less/extend-media.less +24 -0
- data/lib/less/js/test/less/extend-nest.less +65 -0
- data/lib/less/js/test/less/extend-selector.less +99 -0
- data/lib/less/js/test/less/extend.less +81 -0
- data/lib/less/js/test/less/extract-and-length.less +133 -0
- data/lib/less/js/test/less/functions.less +130 -6
- data/lib/less/js/test/less/globalVars/extended.json +5 -0
- data/lib/less/js/test/less/globalVars/extended.less +10 -0
- data/lib/less/js/test/less/globalVars/simple.json +3 -0
- data/lib/less/js/test/less/globalVars/simple.less +3 -0
- data/lib/less/js/test/less/ie-filters.less +7 -0
- data/lib/less/js/test/less/import/deeper/import-once-test-a.less +1 -0
- data/lib/less/js/test/less/import/import-and-relative-paths-test.less +17 -0
- data/lib/less/js/test/less/import/import-charset-test.less +1 -0
- data/lib/less/js/test/less/import/import-interpolation.less +1 -0
- data/lib/less/js/test/less/import/import-interpolation2.less +5 -0
- data/lib/less/js/test/less/import/import-once-test-c.less +6 -0
- data/lib/less/js/test/less/import/import-reference.less +51 -0
- data/lib/less/js/test/less/import/import-test-a.less +1 -0
- data/lib/less/js/test/less/import/import-test-c.less +0 -1
- data/lib/less/js/test/less/import/import-test-f.less +5 -0
- data/lib/less/js/test/less/import/imports/font.less +8 -0
- data/lib/less/js/test/less/import/imports/logo.less +5 -0
- data/lib/less/js/test/less/import/invalid-css.less +1 -0
- data/lib/less/js/test/less/import/urls.less +1 -0
- data/lib/less/js/test/less/import-inline.less +2 -0
- data/lib/less/js/test/less/import-interpolation.less +8 -0
- data/lib/less/js/test/less/import-once.less +6 -0
- data/lib/less/js/test/less/import-reference.less +21 -0
- data/lib/less/js/test/less/import.less +13 -3
- data/lib/less/js/test/less/javascript.less +5 -3
- data/lib/less/js/test/less/legacy/legacy.less +7 -0
- data/lib/less/js/test/less/media.less +158 -3
- data/lib/less/js/test/less/merge.less +78 -0
- data/lib/less/js/test/less/mixins-args.less +93 -15
- data/lib/less/js/test/less/mixins-guards-default-func.less +195 -0
- data/lib/less/js/test/less/mixins-guards.less +65 -0
- data/lib/less/js/test/less/mixins-important.less +8 -1
- data/lib/less/js/test/less/mixins-interpolated.less +69 -0
- data/lib/less/js/test/less/mixins-named-args.less +36 -0
- data/lib/less/js/test/less/mixins-nested.less +2 -2
- data/lib/less/js/test/less/mixins-pattern.less +4 -1
- data/lib/less/js/test/less/mixins.less +74 -0
- data/lib/less/js/test/less/modifyVars/extended.json +5 -0
- data/lib/less/js/test/less/modifyVars/extended.less +11 -0
- data/lib/less/js/test/less/no-js-errors/no-js-errors.less +3 -0
- data/lib/less/js/test/less/no-js-errors/no-js-errors.txt +4 -0
- data/lib/less/js/test/less/no-output.less +2 -0
- data/lib/less/js/test/less/operations.less +27 -27
- data/lib/less/js/test/less/parens.less +24 -5
- data/lib/less/js/test/less/property-name-interp.less +53 -0
- data/lib/less/js/test/less/scope.less +73 -1
- data/lib/less/js/test/less/selectors.less +101 -0
- data/lib/less/js/test/less/sourcemaps/basic.json +3 -0
- data/lib/less/js/test/less/sourcemaps/basic.less +27 -0
- data/lib/less/js/test/less/sourcemaps/imported.css +7 -0
- data/lib/less/js/test/less/static-urls/urls.less +33 -0
- data/lib/less/js/test/less/strings.less +7 -1
- data/lib/less/js/test/less/url-args/urls.less +63 -0
- data/lib/less/js/test/less/urls.less +72 -0
- data/lib/less/js/test/less/variables-in-at-rules.less +20 -0
- data/lib/less/js/test/less/variables.less +42 -13
- data/lib/less/js/test/less/whitespace.less +7 -0
- data/lib/less/js/test/less-test.js +251 -65
- data/lib/less/js/test/rhino/test-header.js +15 -0
- data/lib/less/js/test/sourcemaps/basic.json +1 -0
- data/lib/less/js/test/sourcemaps/index.html +17 -0
- data/lib/less/loader.rb +191 -27
- data/lib/less/parser.rb +47 -8
- data/lib/less/version.rb +2 -2
- data/spec/less/loader_spec.rb +45 -0
- data/spec/less/parser_spec.rb +43 -17
- data/spec/less/some/some.css +0 -0
- data/spec/less/some/some.less +4 -0
- metadata +352 -57
- data/lib/less/js/CHANGELOG +0 -41
- data/lib/less/js/Makefile +0 -75
- data/lib/less/js/build/ecma-5.js +0 -120
- data/lib/less/js/build/header.js +0 -7
- data/lib/less/js/lib/less/cssmin.js +0 -355
@@ -37,9 +37,15 @@
|
|
37
37
|
#overflow .d {
|
38
38
|
color: #00ff00;
|
39
39
|
}
|
40
|
+
#overflow .e {
|
41
|
+
color: rgba(0, 31, 255, 0.42);
|
42
|
+
}
|
40
43
|
#grey {
|
41
44
|
color: #c8c8c8;
|
42
45
|
}
|
46
|
+
#333333 {
|
47
|
+
color: #333333;
|
48
|
+
}
|
43
49
|
#808080 {
|
44
50
|
color: #808080;
|
45
51
|
}
|
@@ -56,3 +62,26 @@
|
|
56
62
|
color: blue2;
|
57
63
|
border: 2px solid superred;
|
58
64
|
}
|
65
|
+
.transparent {
|
66
|
+
color: transparent;
|
67
|
+
background-color: rgba(0, 0, 0, 0);
|
68
|
+
}
|
69
|
+
#alpha #fromvar {
|
70
|
+
opacity: 0.7;
|
71
|
+
}
|
72
|
+
#alpha #short {
|
73
|
+
opacity: 1;
|
74
|
+
}
|
75
|
+
#alpha #long {
|
76
|
+
opacity: 1;
|
77
|
+
}
|
78
|
+
#alpha #rgba {
|
79
|
+
opacity: 0.2;
|
80
|
+
}
|
81
|
+
#alpha #hsl {
|
82
|
+
opacity: 1;
|
83
|
+
}
|
84
|
+
#percentage {
|
85
|
+
color: 255;
|
86
|
+
border-color: rgba(255, 0, 0, 0.5);
|
87
|
+
}
|
@@ -26,11 +26,12 @@
|
|
26
26
|
*/
|
27
27
|
/* @group Variables
|
28
28
|
------------------- */
|
29
|
-
#comments
|
29
|
+
#comments,
|
30
|
+
.comments {
|
30
31
|
/**/
|
31
32
|
color: red;
|
32
33
|
/* A C-style comment */
|
33
|
-
|
34
|
+
/* A C-style comment */
|
34
35
|
background-color: orange;
|
35
36
|
font-size: 12px;
|
36
37
|
/* lost comment */
|
@@ -51,6 +52,18 @@
|
|
51
52
|
-webkit-border-radius: 2px /* webkit only */;
|
52
53
|
-moz-border-radius: 8px /* moz only with operation */;
|
53
54
|
}
|
55
|
+
.test {
|
56
|
+
color: 1px;
|
57
|
+
}
|
54
58
|
#last {
|
55
59
|
color: #0000ff;
|
56
60
|
}
|
61
|
+
/* */
|
62
|
+
/* { */
|
63
|
+
/* */
|
64
|
+
/* */
|
65
|
+
/* */
|
66
|
+
#div {
|
67
|
+
color: #A33;
|
68
|
+
}
|
69
|
+
/* } */
|
@@ -0,0 +1,3 @@
|
|
1
|
+
#colours{color1:#fea;color2:#fea;color3:rgba(255,238,170,0.1);string:"#ffeeaa";/*! but not this type
|
2
|
+
Note preserved whitespace
|
3
|
+
*/}dimensions{val:.1px;val:0;val:4cm;val:.2;val:5;angles-must-have-unit:0deg;durations-must-have-unit:0s;length-doesnt-have-unit:0;width:auto\9}@page{marks:none;@top-left-corner{vertical-align:top}@top-left{vertical-align:top}}.shadow^.dom,body^^.shadow{display:done}
|
@@ -1,14 +1,18 @@
|
|
1
1
|
.comma-delimited {
|
2
|
-
background: url(bg.jpg) no-repeat, url(bg.png) repeat-x top left, url(bg);
|
3
2
|
text-shadow: -1px -1px 1px #ff0000, 6px 5px 5px #ffff00;
|
4
3
|
-moz-box-shadow: 0pt 0pt 2px rgba(255, 255, 255, 0.4) inset, 0pt 4px 6px rgba(255, 255, 255, 0.4) inset;
|
4
|
+
-webkit-transform: rotate(0deg);
|
5
5
|
}
|
6
6
|
@font-face {
|
7
7
|
font-family: Headline;
|
8
|
-
|
8
|
+
unicode-range: U+??????, U+0???, U+0-7F, U+A5;
|
9
9
|
}
|
10
10
|
.other {
|
11
11
|
-moz-transform: translate(0, 11em) rotate(-90deg);
|
12
|
+
transform: rotateX(45deg);
|
13
|
+
}
|
14
|
+
.item[data-cra_zy-attr1b-ut3=bold] {
|
15
|
+
font-weight: bold;
|
12
16
|
}
|
13
17
|
p:not([class*="lead"]) {
|
14
18
|
color: black;
|
@@ -56,3 +60,70 @@ p::before {
|
|
56
60
|
border: 3px;
|
57
61
|
}
|
58
62
|
}
|
63
|
+
@keyframes fontbulger1 {
|
64
|
+
to {
|
65
|
+
font-size: 15px;
|
66
|
+
}
|
67
|
+
from,
|
68
|
+
to {
|
69
|
+
font-size: 12px;
|
70
|
+
}
|
71
|
+
0%,
|
72
|
+
100% {
|
73
|
+
font-size: 12px;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
.units {
|
77
|
+
font: 1.2rem/2rem;
|
78
|
+
font: 8vw/9vw;
|
79
|
+
font: 10vh/12vh;
|
80
|
+
font: 12vm/15vm;
|
81
|
+
font: 12vmin/15vmin;
|
82
|
+
font: 1.2ch/1.5ch;
|
83
|
+
}
|
84
|
+
@supports ( box-shadow: 2px 2px 2px black ) or
|
85
|
+
( -moz-box-shadow: 2px 2px 2px black ) {
|
86
|
+
.outline {
|
87
|
+
box-shadow: 2px 2px 2px black;
|
88
|
+
-moz-box-shadow: 2px 2px 2px black;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
@-x-document url-prefix(""github.com"") {
|
92
|
+
h1 {
|
93
|
+
color: red;
|
94
|
+
}
|
95
|
+
}
|
96
|
+
@viewport {
|
97
|
+
font-size: 10px;
|
98
|
+
}
|
99
|
+
@namespace foo url(http://www.example.com);
|
100
|
+
foo|h1 {
|
101
|
+
color: blue;
|
102
|
+
}
|
103
|
+
foo|* {
|
104
|
+
color: yellow;
|
105
|
+
}
|
106
|
+
|h1 {
|
107
|
+
color: red;
|
108
|
+
}
|
109
|
+
*|h1 {
|
110
|
+
color: green;
|
111
|
+
}
|
112
|
+
h1 {
|
113
|
+
color: green;
|
114
|
+
}
|
115
|
+
.upper-test {
|
116
|
+
UpperCaseProperties: allowed;
|
117
|
+
}
|
118
|
+
@host {
|
119
|
+
div {
|
120
|
+
display: block;
|
121
|
+
}
|
122
|
+
}
|
123
|
+
::distributed(input::placeholder) {
|
124
|
+
color: #b3b3b3;
|
125
|
+
}
|
126
|
+
.shadow ^ .dom,
|
127
|
+
body ^^ .shadow {
|
128
|
+
display: done;
|
129
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
.light {
|
2
|
+
color: green;
|
3
|
+
}
|
4
|
+
.see-the {
|
5
|
+
color: green;
|
6
|
+
}
|
7
|
+
.hide-the {
|
8
|
+
color: green;
|
9
|
+
}
|
10
|
+
.multiple-conditions-1 {
|
11
|
+
color: red;
|
12
|
+
}
|
13
|
+
.inheritance .test {
|
14
|
+
color: black;
|
15
|
+
}
|
16
|
+
.inheritance:hover {
|
17
|
+
color: pink;
|
18
|
+
}
|
19
|
+
.clsWithGuard {
|
20
|
+
dispaly: none;
|
21
|
+
}
|
22
|
+
.dont-split-me-up {
|
23
|
+
width: 1px;
|
24
|
+
color: red;
|
25
|
+
height: 1px;
|
26
|
+
}
|
27
|
+
+ .dont-split-me-up {
|
28
|
+
sibling: true;
|
29
|
+
}
|
30
|
+
.scope-check {
|
31
|
+
sub-prop: 2px;
|
32
|
+
prop: 1px;
|
33
|
+
}
|
34
|
+
.scope-check-2 {
|
35
|
+
sub-prop: 2px;
|
36
|
+
prop: 1px;
|
37
|
+
}
|
@@ -26,14 +26,17 @@ div#id {
|
|
26
26
|
color: grey;
|
27
27
|
}
|
28
28
|
@media print {
|
29
|
-
|
29
|
+
* {
|
30
|
+
font-size: 3em;
|
31
|
+
}
|
30
32
|
}
|
31
33
|
@media screen {
|
32
|
-
|
34
|
+
* {
|
35
|
+
font-size: 10px;
|
36
|
+
}
|
33
37
|
}
|
34
38
|
@font-face {
|
35
39
|
font-family: 'Garamond Pro';
|
36
|
-
src: url("/fonts/garamond-pro.ttf");
|
37
40
|
}
|
38
41
|
a:hover,
|
39
42
|
a:link {
|
@@ -55,35 +58,38 @@ p + h1 {
|
|
55
58
|
font: 100%/16px Arial;
|
56
59
|
margin: 1px 0;
|
57
60
|
padding: 0 auto;
|
58
|
-
background: url("http://www.lesscss.org/spec.html") no-repeat 0 4px;
|
59
61
|
}
|
60
62
|
#more-shorthands {
|
61
63
|
margin: 0;
|
62
64
|
padding: 1px 0 2px 0;
|
63
|
-
font: normal small/20px 'Trebuchet MS', Verdana, sans-serif;
|
65
|
+
font: normal small / 20px 'Trebuchet MS', Verdana, sans-serif;
|
66
|
+
font: 0/0 a;
|
67
|
+
border-radius: 5px / 10px;
|
64
68
|
}
|
65
69
|
.misc {
|
66
70
|
-moz-border-radius: 2px;
|
67
71
|
display: -moz-inline-stack;
|
68
72
|
width: .1em;
|
69
73
|
background-color: #009998;
|
70
|
-
background-image: url(images/image.jpg);
|
71
74
|
background: -webkit-gradient(linear, left top, left bottom, from(#ff0000), to(#0000ff));
|
72
75
|
margin: ;
|
73
76
|
filter: alpha(opacity=100);
|
77
|
+
width: auto\9;
|
78
|
+
}
|
79
|
+
.misc .nested-multiple {
|
80
|
+
multiple-semi-colons: yes;
|
74
81
|
}
|
75
82
|
#important {
|
76
83
|
color: red !important;
|
77
84
|
width: 100%!important;
|
78
85
|
height: 20px ! important;
|
79
86
|
}
|
80
|
-
|
81
|
-
|
82
|
-
kiVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD/
|
83
|
-
k//+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4U
|
84
|
-
kg9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC);
|
85
|
-
background-image: url(data:image/x-png,f9difSSFIIGFIFJD1f982FSDKAA9==);
|
87
|
+
@font-face {
|
88
|
+
font-family: font-a;
|
86
89
|
}
|
87
|
-
|
88
|
-
|
90
|
+
@font-face {
|
91
|
+
font-family: font-b;
|
92
|
+
}
|
93
|
+
.æøå {
|
94
|
+
margin: 0;
|
89
95
|
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/* line 1, {pathimport}test.less */
|
3
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000031}}
|
4
|
+
/* @charset "ISO-8859-1"; */
|
5
|
+
/* line 23, {pathimport}test.less */
|
6
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\0000323}}
|
7
|
+
.tst3 {
|
8
|
+
color: grey;
|
9
|
+
}
|
10
|
+
/* line 15, {path}linenumbers.less */
|
11
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathesc}linenumbers\.less}line{font-family:\0000315}}
|
12
|
+
.test1 {
|
13
|
+
color: black;
|
14
|
+
}
|
15
|
+
/* line 6, {path}linenumbers.less */
|
16
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathesc}linenumbers\.less}line{font-family:\000036}}
|
17
|
+
.test2 {
|
18
|
+
color: red;
|
19
|
+
}
|
20
|
+
@media all {
|
21
|
+
/* line 5, {pathimport}test.less */
|
22
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000035}}
|
23
|
+
.tst {
|
24
|
+
color: black;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
@media all and screen {
|
28
|
+
/* line 7, {pathimport}test.less */
|
29
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000037}}
|
30
|
+
.tst {
|
31
|
+
color: red;
|
32
|
+
}
|
33
|
+
/* line 9, {pathimport}test.less */
|
34
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000039}}
|
35
|
+
.tst .tst3 {
|
36
|
+
color: white;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
/* line 18, {pathimport}test.less */
|
40
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\0000318}}
|
41
|
+
.tst2 {
|
42
|
+
color: white;
|
43
|
+
}
|
44
|
+
/* line 27, {path}linenumbers.less */
|
45
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathesc}linenumbers\.less}line{font-family:\0000327}}
|
46
|
+
.test {
|
47
|
+
color: red;
|
48
|
+
width: 2;
|
49
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
/* line 1, {pathimport}test.less */
|
3
|
+
/* @charset "ISO-8859-1"; */
|
4
|
+
/* line 23, {pathimport}test.less */
|
5
|
+
.tst3 {
|
6
|
+
color: grey;
|
7
|
+
}
|
8
|
+
/* line 15, {path}linenumbers.less */
|
9
|
+
.test1 {
|
10
|
+
color: black;
|
11
|
+
}
|
12
|
+
/* line 6, {path}linenumbers.less */
|
13
|
+
.test2 {
|
14
|
+
color: red;
|
15
|
+
}
|
16
|
+
@media all {
|
17
|
+
/* line 5, {pathimport}test.less */
|
18
|
+
.tst {
|
19
|
+
color: black;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
@media all and screen {
|
23
|
+
/* line 7, {pathimport}test.less */
|
24
|
+
.tst {
|
25
|
+
color: red;
|
26
|
+
}
|
27
|
+
/* line 9, {pathimport}test.less */
|
28
|
+
.tst .tst3 {
|
29
|
+
color: white;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
/* line 18, {pathimport}test.less */
|
33
|
+
.tst2 {
|
34
|
+
color: white;
|
35
|
+
}
|
36
|
+
/* line 27, {path}linenumbers.less */
|
37
|
+
.test {
|
38
|
+
color: red;
|
39
|
+
width: 2;
|
40
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
@charset "UTF-8";
|
2
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000031}}
|
3
|
+
/* @charset "ISO-8859-1"; */
|
4
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\0000323}}
|
5
|
+
.tst3 {
|
6
|
+
color: grey;
|
7
|
+
}
|
8
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathesc}linenumbers\.less}line{font-family:\0000315}}
|
9
|
+
.test1 {
|
10
|
+
color: black;
|
11
|
+
}
|
12
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathesc}linenumbers\.less}line{font-family:\000036}}
|
13
|
+
.test2 {
|
14
|
+
color: red;
|
15
|
+
}
|
16
|
+
@media all {
|
17
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000035}}
|
18
|
+
.tst {
|
19
|
+
color: black;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
@media all and screen {
|
23
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000037}}
|
24
|
+
.tst {
|
25
|
+
color: red;
|
26
|
+
}
|
27
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\000039}}
|
28
|
+
.tst .tst3 {
|
29
|
+
color: white;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathimportesc}test\.less}line{font-family:\0000318}}
|
33
|
+
.tst2 {
|
34
|
+
color: white;
|
35
|
+
}
|
36
|
+
@media -sass-debug-info{filename{font-family:file\:\/\/{pathesc}linenumbers\.less}line{font-family:\0000327}}
|
37
|
+
.test {
|
38
|
+
color: red;
|
39
|
+
width: 2;
|
40
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
.wrap-selector {
|
2
|
+
color: black;
|
3
|
+
one: 1px;
|
4
|
+
four: magic-frame;
|
5
|
+
visible-one: visible;
|
6
|
+
visible-two: visible;
|
7
|
+
}
|
8
|
+
.wrap-selector {
|
9
|
+
color: red;
|
10
|
+
visible-one: visible;
|
11
|
+
visible-two: visible;
|
12
|
+
}
|
13
|
+
.wrap-selector {
|
14
|
+
color: black;
|
15
|
+
background: white;
|
16
|
+
visible-one: visible;
|
17
|
+
visible-two: visible;
|
18
|
+
}
|
19
|
+
header {
|
20
|
+
background: blue;
|
21
|
+
}
|
22
|
+
@media screen and (min-width: 1200) {
|
23
|
+
header {
|
24
|
+
background: red;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
html.lt-ie9 header {
|
28
|
+
background: red;
|
29
|
+
}
|
30
|
+
.wrap-selector {
|
31
|
+
test: extra-wrap;
|
32
|
+
visible-one: visible;
|
33
|
+
visible-two: visible;
|
34
|
+
}
|
35
|
+
.wrap-selector .wrap-selector {
|
36
|
+
test: wrapped-twice;
|
37
|
+
visible-one: visible;
|
38
|
+
visible-two: visible;
|
39
|
+
}
|
40
|
+
.wrap-selector {
|
41
|
+
test-func: 90;
|
42
|
+
test-arithmetic: 18px;
|
43
|
+
visible-one: visible;
|
44
|
+
visible-two: visible;
|
45
|
+
}
|
46
|
+
.without-mixins {
|
47
|
+
b: 1;
|
48
|
+
}
|
49
|
+
@media (orientation: portrait) and tv {
|
50
|
+
.my-selector {
|
51
|
+
background-color: black;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
@media (orientation: portrait) and widescreen and print and tv {
|
55
|
+
.triple-wrapped-mq {
|
56
|
+
triple: true;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
@media (orientation: portrait) and widescreen and tv {
|
60
|
+
.triple-wrapped-mq {
|
61
|
+
triple: true;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
@media (orientation: portrait) and tv {
|
65
|
+
.triple-wrapped-mq {
|
66
|
+
triple: true;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
.a {
|
70
|
+
test: test;
|
71
|
+
}
|
File without changes
|
@@ -0,0 +1,81 @@
|
|
1
|
+
.a,
|
2
|
+
.b,
|
3
|
+
.c {
|
4
|
+
color: black;
|
5
|
+
}
|
6
|
+
.f,
|
7
|
+
.e,
|
8
|
+
.d {
|
9
|
+
color: black;
|
10
|
+
}
|
11
|
+
.g.h,
|
12
|
+
.i.j.h,
|
13
|
+
.k.j.h {
|
14
|
+
color: black;
|
15
|
+
}
|
16
|
+
.i.j,
|
17
|
+
.k.j {
|
18
|
+
color: white;
|
19
|
+
}
|
20
|
+
.l,
|
21
|
+
.m,
|
22
|
+
.n,
|
23
|
+
.o,
|
24
|
+
.p,
|
25
|
+
.q,
|
26
|
+
.r,
|
27
|
+
.s,
|
28
|
+
.t {
|
29
|
+
color: black;
|
30
|
+
}
|
31
|
+
.u,
|
32
|
+
.v.u.v {
|
33
|
+
color: black;
|
34
|
+
}
|
35
|
+
.w,
|
36
|
+
.v.w.v {
|
37
|
+
color: black;
|
38
|
+
}
|
39
|
+
.x,
|
40
|
+
.y,
|
41
|
+
.z {
|
42
|
+
color: x;
|
43
|
+
}
|
44
|
+
.y,
|
45
|
+
.z,
|
46
|
+
.x {
|
47
|
+
color: y;
|
48
|
+
}
|
49
|
+
.z,
|
50
|
+
.x,
|
51
|
+
.y {
|
52
|
+
color: z;
|
53
|
+
}
|
54
|
+
.va,
|
55
|
+
.vb,
|
56
|
+
.vc {
|
57
|
+
color: black;
|
58
|
+
}
|
59
|
+
.vb,
|
60
|
+
.vc {
|
61
|
+
color: white;
|
62
|
+
}
|
63
|
+
@media tv {
|
64
|
+
.ma,
|
65
|
+
.mb,
|
66
|
+
.mc {
|
67
|
+
color: black;
|
68
|
+
}
|
69
|
+
.md,
|
70
|
+
.ma,
|
71
|
+
.mb,
|
72
|
+
.mc {
|
73
|
+
color: white;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
@media tv and plasma {
|
77
|
+
.me,
|
78
|
+
.mf {
|
79
|
+
background: red;
|
80
|
+
}
|
81
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
.replace.replace .replace,
|
2
|
+
.c.replace + .replace .replace,
|
3
|
+
.replace.replace .c,
|
4
|
+
.c.replace + .replace .c,
|
5
|
+
.rep_ace {
|
6
|
+
prop: copy-paste-replace;
|
7
|
+
}
|
8
|
+
.a .b .c {
|
9
|
+
prop: not_effected;
|
10
|
+
}
|
11
|
+
.a,
|
12
|
+
.effected {
|
13
|
+
prop: is_effected;
|
14
|
+
}
|
15
|
+
.a .b {
|
16
|
+
prop: not_effected;
|
17
|
+
}
|
18
|
+
.a .b.c {
|
19
|
+
prop: not_effected;
|
20
|
+
}
|
21
|
+
.c .b .a,
|
22
|
+
.a .b .a,
|
23
|
+
.c .a .a,
|
24
|
+
.a .a .a,
|
25
|
+
.c .b .c,
|
26
|
+
.a .b .c,
|
27
|
+
.c .a .c,
|
28
|
+
.a .a .c {
|
29
|
+
prop: not_effected;
|
30
|
+
}
|
31
|
+
.e.e,
|
32
|
+
.dbl {
|
33
|
+
prop: extend-double;
|
34
|
+
}
|
35
|
+
.e.e:hover {
|
36
|
+
hover: not-extended;
|
37
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
.ext1 .ext2,
|
2
|
+
.all .ext2 {
|
3
|
+
background: black;
|
4
|
+
}
|
5
|
+
@media tv {
|
6
|
+
.ext1 .ext3,
|
7
|
+
.tv-lowres .ext3,
|
8
|
+
.all .ext3 {
|
9
|
+
color: white;
|
10
|
+
}
|
11
|
+
.tv-lowres {
|
12
|
+
background: blue;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
@media tv and hires {
|
16
|
+
.ext1 .ext4,
|
17
|
+
.tv-hires .ext4,
|
18
|
+
.all .ext4 {
|
19
|
+
color: green;
|
20
|
+
}
|
21
|
+
.tv-hires {
|
22
|
+
background: red;
|
23
|
+
}
|
24
|
+
}
|