haml 3.2.0.alpha.10 → 3.2.0.alpha.13
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of haml might be problematic. Click here for more details.
- data/.yardopts +19 -7
- data/CHANGELOG.md +1224 -0
- data/FAQ.md +157 -0
- data/README.md +99 -62
- data/REFERENCE.md +1404 -0
- data/Rakefile +52 -341
- data/init.rb +1 -18
- data/lib/haml.rb +6 -30
- data/lib/haml/buffer.rb +37 -16
- data/lib/haml/compiler.rb +52 -13
- data/lib/haml/engine.rb +61 -44
- data/lib/haml/exec.rb +21 -4
- data/lib/haml/filters.rb +136 -166
- data/lib/haml/helpers.rb +37 -10
- data/lib/haml/helpers/action_view_extensions.rb +2 -1
- data/lib/haml/helpers/action_view_mods.rb +67 -181
- data/lib/haml/helpers/rails_323_textarea_fix.rb +39 -0
- data/lib/haml/helpers/xss_mods.rb +9 -11
- data/lib/haml/html.rb +22 -9
- data/lib/haml/html/erb.rb +1 -1
- data/lib/haml/parser.rb +22 -15
- data/lib/haml/railtie.rb +2 -13
- data/lib/haml/template.rb +18 -85
- data/lib/haml/template/options.rb +1 -1
- data/lib/haml/template/plugin.rb +15 -101
- data/lib/haml/util.rb +120 -603
- data/lib/haml/version.rb +1 -107
- data/test/{haml/engine_test.rb → engine_test.rb} +137 -143
- data/test/{haml/erb → erb}/_av_partial_1.erb +1 -1
- data/test/{haml/erb → erb}/_av_partial_2.erb +1 -1
- data/test/{haml/erb → erb}/action_view.erb +1 -1
- data/test/{haml/erb → erb}/standard.erb +0 -0
- data/test/filters_test.rb +141 -0
- data/test/gemfiles/Gemfile.rails-3.0.x +4 -6
- data/test/gemfiles/Gemfile.rails-3.1.x +5 -6
- data/test/gemfiles/Gemfile.rails-3.2.x +6 -0
- data/test/haml-spec/LICENSE +14 -0
- data/test/{haml/spec → haml-spec}/README.md +26 -17
- data/test/haml-spec/lua_haml_spec.lua +38 -0
- data/test/haml-spec/perl_haml_test.pl +81 -0
- data/test/haml-spec/ruby_haml_test.rb +23 -0
- data/test/{haml/spec → haml-spec}/tests.json +132 -54
- data/test/{haml/helper_test.rb → helper_test.rb} +50 -36
- data/test/{haml/html2haml → html2haml}/erb_tests.rb +0 -0
- data/test/{haml/html2haml_test.rb → html2haml_test.rb} +11 -5
- data/test/{haml/markaby → markaby}/standard.mab +0 -0
- data/test/{haml/mocks → mocks}/article.rb +0 -0
- data/test/{haml/results → results}/content_for_layout.xhtml +0 -0
- data/test/{haml/results → results}/eval_suppressed.xhtml +0 -0
- data/test/{haml/results → results}/helpers.xhtml +0 -0
- data/test/{haml/results → results}/helpful.xhtml +0 -0
- data/test/{haml/results → results}/just_stuff.xhtml +0 -0
- data/test/{haml/results → results}/list.xhtml +0 -0
- data/test/{haml/results → results}/nuke_inner_whitespace.xhtml +0 -0
- data/test/{haml/results → results}/nuke_outer_whitespace.xhtml +0 -0
- data/test/{haml/results → results}/original_engine.xhtml +0 -0
- data/test/{haml/results → results}/partial_layout.xhtml +0 -0
- data/test/{haml/results → results}/partials.xhtml +0 -0
- data/test/{haml/results → results}/render_layout.xhtml +0 -0
- data/test/{haml/results → results}/silent_script.xhtml +1 -1
- data/test/{haml/results → results}/standard.xhtml +0 -0
- data/test/{haml/results → results}/tag_parsing.xhtml +0 -0
- data/test/{haml/results → results}/very_basic.xhtml +0 -0
- data/test/{haml/results → results}/whitespace_handling.xhtml +46 -50
- data/test/{haml/template_test.rb → template_test.rb} +20 -81
- data/test/{haml/templates → templates}/_av_partial_1.haml +1 -1
- data/test/{haml/templates → templates}/_av_partial_1_ugly.haml +1 -1
- data/test/{haml/templates → templates}/_av_partial_2.haml +1 -1
- data/test/{haml/templates → templates}/_av_partial_2_ugly.haml +1 -1
- data/test/{haml/templates → templates}/_layout.erb +0 -0
- data/test/{haml/templates → templates}/_layout_for_partial.haml +0 -0
- data/test/{haml/templates → templates}/_partial.haml +0 -0
- data/test/{haml/templates → templates}/_text_area.haml +0 -0
- data/test/{haml/templates → templates}/action_view.haml +1 -1
- data/test/{haml/templates → templates}/action_view_ugly.haml +1 -1
- data/test/{haml/templates → templates}/breakage.haml +0 -0
- data/test/{haml/templates → templates}/content_for_layout.haml +0 -0
- data/test/{haml/templates → templates}/eval_suppressed.haml +0 -0
- data/test/{haml/templates → templates}/helpers.haml +0 -0
- data/test/{haml/templates → templates}/helpful.haml +0 -0
- data/test/{haml/templates → templates}/just_stuff.haml +0 -0
- data/test/{haml/templates → templates}/list.haml +0 -0
- data/test/{haml/templates → templates}/nuke_inner_whitespace.haml +0 -0
- data/test/{haml/templates → templates}/nuke_outer_whitespace.haml +0 -0
- data/test/{haml/templates → templates}/original_engine.haml +0 -0
- data/test/templates/partial_layout.haml +3 -0
- data/test/{haml/templates → templates}/partialize.haml +0 -0
- data/test/{haml/templates → templates}/partials.haml +0 -0
- data/test/{haml/templates → templates}/render_layout.haml +0 -0
- data/test/{haml/templates → templates}/silent_script.haml +2 -2
- data/test/{haml/templates → templates}/standard.haml +0 -0
- data/test/{haml/templates → templates}/standard_ugly.haml +0 -0
- data/test/{haml/templates → templates}/tag_parsing.haml +0 -0
- data/test/{haml/templates → templates}/very_basic.haml +0 -0
- data/test/{haml/templates → templates}/whitespace_handling.haml +0 -0
- data/test/test_helper.rb +42 -34
- data/test/util_test.rb +80 -0
- metadata +259 -427
- data/CONTRIBUTING +0 -3
- data/REVISION +0 -1
- data/VERSION +0 -1
- data/VERSION_NAME +0 -1
- data/extra/update_watch.rb +0 -13
- data/lib/haml/root.rb +0 -7
- data/lib/haml/shared.rb +0 -78
- data/lib/haml/template/patch.rb +0 -58
- data/lib/sass.rb +0 -8
- data/lib/sass/plugin.rb +0 -10
- data/lib/sass/rails2_shim.rb +0 -9
- data/lib/sass/rails3_shim.rb +0 -16
- data/test/benchmark.rb +0 -91
- data/test/gemfiles/Gemfile.rails-2.0.x +0 -8
- data/test/gemfiles/Gemfile.rails-2.0.x.lock +0 -38
- data/test/gemfiles/Gemfile.rails-2.1.x +0 -8
- data/test/gemfiles/Gemfile.rails-2.1.x.lock +0 -38
- data/test/gemfiles/Gemfile.rails-2.2.x +0 -8
- data/test/gemfiles/Gemfile.rails-2.2.x.lock +0 -38
- data/test/gemfiles/Gemfile.rails-2.3.x +0 -8
- data/test/gemfiles/Gemfile.rails-2.3.x.lock +0 -40
- data/test/gemfiles/Gemfile.rails-3.0.x.lock +0 -85
- data/test/gemfiles/Gemfile.rails-3.1.x.lock +0 -98
- data/test/gemfiles/Gemfile.rails-xss-2.3.x +0 -9
- data/test/gemfiles/Gemfile.rails-xss-2.3.x.lock +0 -42
- data/test/haml/results/filters.xhtml +0 -62
- data/test/haml/spec/lua_haml_spec.lua +0 -30
- data/test/haml/spec/ruby_haml_test.rb +0 -19
- data/test/haml/spec_test.rb +0 -44
- data/test/haml/templates/filters.haml +0 -66
- data/test/haml/templates/partial_layout.haml +0 -10
- data/test/haml/util_test.rb +0 -300
- data/test/linked_rails.rb +0 -42
- data/vendor/sass/CONTRIBUTING +0 -3
- data/vendor/sass/MIT-LICENSE +0 -20
- data/vendor/sass/README.md +0 -201
- data/vendor/sass/Rakefile +0 -339
- data/vendor/sass/TODO +0 -39
- data/vendor/sass/VERSION +0 -1
- data/vendor/sass/VERSION_NAME +0 -1
- data/vendor/sass/bin/sass +0 -8
- data/vendor/sass/bin/sass-convert +0 -7
- data/vendor/sass/bin/scss +0 -8
- data/vendor/sass/doc-src/FAQ.md +0 -35
- data/vendor/sass/doc-src/INDENTED_SYNTAX.md +0 -210
- data/vendor/sass/doc-src/SASS_CHANGELOG.md +0 -2327
- data/vendor/sass/doc-src/SASS_REFERENCE.md +0 -1965
- data/vendor/sass/doc-src/SCSS_FOR_SASS_USERS.md +0 -155
- data/vendor/sass/ext/extconf.rb +0 -10
- data/vendor/sass/extra/update_watch.rb +0 -13
- data/vendor/sass/init.rb +0 -18
- data/vendor/sass/lib/sass.rb +0 -73
- data/vendor/sass/lib/sass/cache_stores.rb +0 -15
- data/vendor/sass/lib/sass/cache_stores/base.rb +0 -86
- data/vendor/sass/lib/sass/cache_stores/chain.rb +0 -33
- data/vendor/sass/lib/sass/cache_stores/filesystem.rb +0 -60
- data/vendor/sass/lib/sass/cache_stores/memory.rb +0 -47
- data/vendor/sass/lib/sass/cache_stores/null.rb +0 -25
- data/vendor/sass/lib/sass/callbacks.rb +0 -66
- data/vendor/sass/lib/sass/css.rb +0 -295
- data/vendor/sass/lib/sass/engine.rb +0 -878
- data/vendor/sass/lib/sass/environment.rb +0 -166
- data/vendor/sass/lib/sass/error.rb +0 -201
- data/vendor/sass/lib/sass/exec.rb +0 -672
- data/vendor/sass/lib/sass/importers.rb +0 -22
- data/vendor/sass/lib/sass/importers/base.rb +0 -139
- data/vendor/sass/lib/sass/importers/filesystem.rb +0 -149
- data/vendor/sass/lib/sass/less.rb +0 -382
- data/vendor/sass/lib/sass/logger.rb +0 -15
- data/vendor/sass/lib/sass/logger/base.rb +0 -32
- data/vendor/sass/lib/sass/logger/log_level.rb +0 -49
- data/vendor/sass/lib/sass/plugin.rb +0 -132
- data/vendor/sass/lib/sass/plugin/compiler.rb +0 -383
- data/vendor/sass/lib/sass/plugin/configuration.rb +0 -123
- data/vendor/sass/lib/sass/plugin/generic.rb +0 -15
- data/vendor/sass/lib/sass/plugin/merb.rb +0 -48
- data/vendor/sass/lib/sass/plugin/rack.rb +0 -60
- data/vendor/sass/lib/sass/plugin/rails.rb +0 -47
- data/vendor/sass/lib/sass/plugin/staleness_checker.rb +0 -173
- data/vendor/sass/lib/sass/railtie.rb +0 -9
- data/vendor/sass/lib/sass/repl.rb +0 -58
- data/vendor/sass/lib/sass/root.rb +0 -7
- data/vendor/sass/lib/sass/script.rb +0 -40
- data/vendor/sass/lib/sass/script/bool.rb +0 -18
- data/vendor/sass/lib/sass/script/color.rb +0 -480
- data/vendor/sass/lib/sass/script/css_lexer.rb +0 -29
- data/vendor/sass/lib/sass/script/css_parser.rb +0 -31
- data/vendor/sass/lib/sass/script/funcall.rb +0 -175
- data/vendor/sass/lib/sass/script/functions.rb +0 -1386
- data/vendor/sass/lib/sass/script/interpolation.rb +0 -79
- data/vendor/sass/lib/sass/script/lexer.rb +0 -339
- data/vendor/sass/lib/sass/script/list.rb +0 -83
- data/vendor/sass/lib/sass/script/literal.rb +0 -250
- data/vendor/sass/lib/sass/script/node.rb +0 -99
- data/vendor/sass/lib/sass/script/number.rb +0 -452
- data/vendor/sass/lib/sass/script/operation.rb +0 -99
- data/vendor/sass/lib/sass/script/parser.rb +0 -474
- data/vendor/sass/lib/sass/script/string.rb +0 -51
- data/vendor/sass/lib/sass/script/string_interpolation.rb +0 -103
- data/vendor/sass/lib/sass/script/unary_operation.rb +0 -64
- data/vendor/sass/lib/sass/script/variable.rb +0 -59
- data/vendor/sass/lib/sass/scss.rb +0 -17
- data/vendor/sass/lib/sass/scss/css_parser.rb +0 -46
- data/vendor/sass/lib/sass/scss/parser.rb +0 -960
- data/vendor/sass/lib/sass/scss/rx.rb +0 -128
- data/vendor/sass/lib/sass/scss/sass_parser.rb +0 -11
- data/vendor/sass/lib/sass/scss/script_lexer.rb +0 -15
- data/vendor/sass/lib/sass/scss/script_parser.rb +0 -25
- data/vendor/sass/lib/sass/scss/static_parser.rb +0 -40
- data/vendor/sass/lib/sass/selector.rb +0 -361
- data/vendor/sass/lib/sass/selector/abstract_sequence.rb +0 -62
- data/vendor/sass/lib/sass/selector/comma_sequence.rb +0 -81
- data/vendor/sass/lib/sass/selector/sequence.rb +0 -233
- data/vendor/sass/lib/sass/selector/simple.rb +0 -113
- data/vendor/sass/lib/sass/selector/simple_sequence.rb +0 -134
- data/vendor/sass/lib/sass/shared.rb +0 -78
- data/vendor/sass/lib/sass/tree/charset_node.rb +0 -22
- data/vendor/sass/lib/sass/tree/comment_node.rb +0 -90
- data/vendor/sass/lib/sass/tree/debug_node.rb +0 -18
- data/vendor/sass/lib/sass/tree/directive_node.rb +0 -23
- data/vendor/sass/lib/sass/tree/each_node.rb +0 -24
- data/vendor/sass/lib/sass/tree/extend_node.rb +0 -29
- data/vendor/sass/lib/sass/tree/for_node.rb +0 -36
- data/vendor/sass/lib/sass/tree/function_node.rb +0 -27
- data/vendor/sass/lib/sass/tree/if_node.rb +0 -52
- data/vendor/sass/lib/sass/tree/import_node.rb +0 -68
- data/vendor/sass/lib/sass/tree/media_node.rb +0 -32
- data/vendor/sass/lib/sass/tree/mixin_def_node.rb +0 -27
- data/vendor/sass/lib/sass/tree/mixin_node.rb +0 -32
- data/vendor/sass/lib/sass/tree/node.rb +0 -201
- data/vendor/sass/lib/sass/tree/prop_node.rb +0 -148
- data/vendor/sass/lib/sass/tree/return_node.rb +0 -18
- data/vendor/sass/lib/sass/tree/root_node.rb +0 -28
- data/vendor/sass/lib/sass/tree/rule_node.rb +0 -136
- data/vendor/sass/lib/sass/tree/variable_node.rb +0 -30
- data/vendor/sass/lib/sass/tree/visitors/base.rb +0 -75
- data/vendor/sass/lib/sass/tree/visitors/check_nesting.rb +0 -133
- data/vendor/sass/lib/sass/tree/visitors/convert.rb +0 -260
- data/vendor/sass/lib/sass/tree/visitors/cssize.rb +0 -175
- data/vendor/sass/lib/sass/tree/visitors/deep_copy.rb +0 -87
- data/vendor/sass/lib/sass/tree/visitors/perform.rb +0 -332
- data/vendor/sass/lib/sass/tree/visitors/set_options.rb +0 -97
- data/vendor/sass/lib/sass/tree/visitors/to_css.rb +0 -210
- data/vendor/sass/lib/sass/tree/warn_node.rb +0 -18
- data/vendor/sass/lib/sass/tree/while_node.rb +0 -18
- data/vendor/sass/lib/sass/util.rb +0 -721
- data/vendor/sass/lib/sass/util/subset_map.rb +0 -101
- data/vendor/sass/lib/sass/version.rb +0 -112
- data/vendor/sass/rails/init.rb +0 -1
- data/vendor/sass/sass.gemspec +0 -33
- data/vendor/sass/test/Gemfile +0 -4
- data/vendor/sass/test/Gemfile.lock +0 -19
- data/vendor/sass/test/sass/cache_test.rb +0 -89
- data/vendor/sass/test/sass/callbacks_test.rb +0 -61
- data/vendor/sass/test/sass/conversion_test.rb +0 -1199
- data/vendor/sass/test/sass/css2sass_test.rb +0 -373
- data/vendor/sass/test/sass/data/hsl-rgb.txt +0 -319
- data/vendor/sass/test/sass/engine_test.rb +0 -2567
- data/vendor/sass/test/sass/extend_test.rb +0 -1348
- data/vendor/sass/test/sass/fixtures/test_staleness_check_across_importers.css +0 -1
- data/vendor/sass/test/sass/fixtures/test_staleness_check_across_importers.scss +0 -1
- data/vendor/sass/test/sass/functions_test.rb +0 -1038
- data/vendor/sass/test/sass/importer_test.rb +0 -192
- data/vendor/sass/test/sass/less_conversion_test.rb +0 -653
- data/vendor/sass/test/sass/logger_test.rb +0 -58
- data/vendor/sass/test/sass/mock_importer.rb +0 -49
- data/vendor/sass/test/sass/more_results/more1.css +0 -9
- data/vendor/sass/test/sass/more_results/more1_with_line_comments.css +0 -26
- data/vendor/sass/test/sass/more_results/more_import.css +0 -29
- data/vendor/sass/test/sass/more_templates/_more_partial.sass +0 -2
- data/vendor/sass/test/sass/more_templates/more1.sass +0 -23
- data/vendor/sass/test/sass/more_templates/more_import.sass +0 -11
- data/vendor/sass/test/sass/plugin_test.rb +0 -472
- data/vendor/sass/test/sass/results/alt.css +0 -4
- data/vendor/sass/test/sass/results/basic.css +0 -9
- data/vendor/sass/test/sass/results/compact.css +0 -5
- data/vendor/sass/test/sass/results/complex.css +0 -86
- data/vendor/sass/test/sass/results/compressed.css +0 -1
- data/vendor/sass/test/sass/results/expanded.css +0 -19
- data/vendor/sass/test/sass/results/if.css +0 -3
- data/vendor/sass/test/sass/results/import.css +0 -31
- data/vendor/sass/test/sass/results/import_charset.css +0 -4
- data/vendor/sass/test/sass/results/import_charset_1_8.css +0 -4
- data/vendor/sass/test/sass/results/import_charset_ibm866.css +0 -4
- data/vendor/sass/test/sass/results/line_numbers.css +0 -49
- data/vendor/sass/test/sass/results/mixins.css +0 -95
- data/vendor/sass/test/sass/results/multiline.css +0 -24
- data/vendor/sass/test/sass/results/nested.css +0 -22
- data/vendor/sass/test/sass/results/options.css +0 -1
- data/vendor/sass/test/sass/results/parent_ref.css +0 -13
- data/vendor/sass/test/sass/results/script.css +0 -16
- data/vendor/sass/test/sass/results/scss_import.css +0 -31
- data/vendor/sass/test/sass/results/scss_importee.css +0 -2
- data/vendor/sass/test/sass/results/subdir/nested_subdir/nested_subdir.css +0 -1
- data/vendor/sass/test/sass/results/subdir/subdir.css +0 -3
- data/vendor/sass/test/sass/results/units.css +0 -11
- data/vendor/sass/test/sass/results/warn.css +0 -0
- data/vendor/sass/test/sass/results/warn_imported.css +0 -0
- data/vendor/sass/test/sass/script_conversion_test.rb +0 -285
- data/vendor/sass/test/sass/script_test.rb +0 -514
- data/vendor/sass/test/sass/scss/css_test.rb +0 -922
- data/vendor/sass/test/sass/scss/rx_test.rb +0 -156
- data/vendor/sass/test/sass/scss/scss_test.rb +0 -1273
- data/vendor/sass/test/sass/scss/test_helper.rb +0 -37
- data/vendor/sass/test/sass/templates/_imported_charset_ibm866.sass +0 -4
- data/vendor/sass/test/sass/templates/_imported_charset_utf8.sass +0 -4
- data/vendor/sass/test/sass/templates/_partial.sass +0 -2
- data/vendor/sass/test/sass/templates/alt.sass +0 -16
- data/vendor/sass/test/sass/templates/basic.sass +0 -23
- data/vendor/sass/test/sass/templates/bork1.sass +0 -2
- data/vendor/sass/test/sass/templates/bork2.sass +0 -2
- data/vendor/sass/test/sass/templates/bork3.sass +0 -2
- data/vendor/sass/test/sass/templates/bork4.sass +0 -2
- data/vendor/sass/test/sass/templates/bork5.sass +0 -3
- data/vendor/sass/test/sass/templates/compact.sass +0 -17
- data/vendor/sass/test/sass/templates/complex.sass +0 -305
- data/vendor/sass/test/sass/templates/compressed.sass +0 -15
- data/vendor/sass/test/sass/templates/expanded.sass +0 -17
- data/vendor/sass/test/sass/templates/if.sass +0 -11
- data/vendor/sass/test/sass/templates/import.sass +0 -12
- data/vendor/sass/test/sass/templates/import_charset.sass +0 -7
- data/vendor/sass/test/sass/templates/import_charset_1_8.sass +0 -4
- data/vendor/sass/test/sass/templates/import_charset_ibm866.sass +0 -9
- data/vendor/sass/test/sass/templates/importee.less +0 -2
- data/vendor/sass/test/sass/templates/importee.sass +0 -19
- data/vendor/sass/test/sass/templates/line_numbers.sass +0 -13
- data/vendor/sass/test/sass/templates/mixin_bork.sass +0 -5
- data/vendor/sass/test/sass/templates/mixins.sass +0 -76
- data/vendor/sass/test/sass/templates/multiline.sass +0 -20
- data/vendor/sass/test/sass/templates/nested.sass +0 -25
- data/vendor/sass/test/sass/templates/nested_bork1.sass +0 -2
- data/vendor/sass/test/sass/templates/nested_bork2.sass +0 -2
- data/vendor/sass/test/sass/templates/nested_bork3.sass +0 -2
- data/vendor/sass/test/sass/templates/nested_bork4.sass +0 -2
- data/vendor/sass/test/sass/templates/nested_bork5.sass +0 -2
- data/vendor/sass/test/sass/templates/nested_import.sass +0 -2
- data/vendor/sass/test/sass/templates/nested_mixin_bork.sass +0 -6
- data/vendor/sass/test/sass/templates/options.sass +0 -2
- data/vendor/sass/test/sass/templates/parent_ref.sass +0 -25
- data/vendor/sass/test/sass/templates/script.sass +0 -101
- data/vendor/sass/test/sass/templates/scss_import.scss +0 -11
- data/vendor/sass/test/sass/templates/scss_importee.scss +0 -1
- data/vendor/sass/test/sass/templates/subdir/nested_subdir/_nested_partial.sass +0 -2
- data/vendor/sass/test/sass/templates/subdir/nested_subdir/nested_subdir.sass +0 -3
- data/vendor/sass/test/sass/templates/subdir/subdir.sass +0 -6
- data/vendor/sass/test/sass/templates/units.sass +0 -11
- data/vendor/sass/test/sass/templates/warn.sass +0 -3
- data/vendor/sass/test/sass/templates/warn_imported.sass +0 -4
- data/vendor/sass/test/sass/test_helper.rb +0 -8
- data/vendor/sass/test/sass/util/subset_map_test.rb +0 -91
- data/vendor/sass/test/sass/util_test.rb +0 -266
- data/vendor/sass/test/test_helper.rb +0 -69
- data/vendor/sass/vendor/fssm/Gemfile +0 -3
- data/vendor/sass/vendor/fssm/LICENSE +0 -20
- data/vendor/sass/vendor/fssm/README.markdown +0 -83
- data/vendor/sass/vendor/fssm/Rakefile +0 -11
- data/vendor/sass/vendor/fssm/example.rb +0 -12
- data/vendor/sass/vendor/fssm/fssm.gemspec +0 -24
- data/vendor/sass/vendor/fssm/lib/fssm.rb +0 -37
- data/vendor/sass/vendor/fssm/lib/fssm/backends/fsevents.rb +0 -36
- data/vendor/sass/vendor/fssm/lib/fssm/backends/inotify.rb +0 -26
- data/vendor/sass/vendor/fssm/lib/fssm/backends/polling.rb +0 -25
- data/vendor/sass/vendor/fssm/lib/fssm/backends/rbfsevent.rb +0 -42
- data/vendor/sass/vendor/fssm/lib/fssm/backends/rubycocoa/fsevents.rb +0 -131
- data/vendor/sass/vendor/fssm/lib/fssm/monitor.rb +0 -36
- data/vendor/sass/vendor/fssm/lib/fssm/path.rb +0 -94
- data/vendor/sass/vendor/fssm/lib/fssm/pathname.rb +0 -36
- data/vendor/sass/vendor/fssm/lib/fssm/state/directory.rb +0 -75
- data/vendor/sass/vendor/fssm/lib/fssm/state/file.rb +0 -24
- data/vendor/sass/vendor/fssm/lib/fssm/support.rb +0 -92
- data/vendor/sass/vendor/fssm/lib/fssm/tree.rb +0 -176
- data/vendor/sass/vendor/fssm/lib/fssm/version.rb +0 -3
- data/vendor/sass/vendor/fssm/profile/prof-cache.rb +0 -40
- data/vendor/sass/vendor/fssm/profile/prof-fssm-pathname.html +0 -1231
- data/vendor/sass/vendor/fssm/profile/prof-pathname-rubinius.rb +0 -35
- data/vendor/sass/vendor/fssm/profile/prof-pathname.rb +0 -68
- data/vendor/sass/vendor/fssm/profile/prof-plain-pathname.html +0 -988
- data/vendor/sass/vendor/fssm/profile/prof.html +0 -2379
- data/vendor/sass/vendor/fssm/spec/count_down_latch.rb +0 -151
- data/vendor/sass/vendor/fssm/spec/monitor_spec.rb +0 -202
- data/vendor/sass/vendor/fssm/spec/path_spec.rb +0 -96
- data/vendor/sass/vendor/fssm/spec/root/duck/quack.txt +0 -0
- data/vendor/sass/vendor/fssm/spec/root/file.css +0 -0
- data/vendor/sass/vendor/fssm/spec/root/file.rb +0 -0
- data/vendor/sass/vendor/fssm/spec/root/file.yml +0 -0
- data/vendor/sass/vendor/fssm/spec/root/moo/cow.txt +0 -0
- data/vendor/sass/vendor/fssm/spec/spec_helper.rb +0 -14
- data/vendor/sass/yard/callbacks.rb +0 -29
- data/vendor/sass/yard/default/fulldoc/html/css/common.sass +0 -26
- data/vendor/sass/yard/default/layout/html/footer.erb +0 -12
- data/vendor/sass/yard/inherited_hash.rb +0 -41
@@ -1,373 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'test/unit'
|
3
|
-
require File.dirname(__FILE__) + '/../test_helper'
|
4
|
-
require 'sass/css'
|
5
|
-
|
6
|
-
class CSS2SassTest < Test::Unit::TestCase
|
7
|
-
def test_basic
|
8
|
-
css = <<CSS
|
9
|
-
h1 {
|
10
|
-
color: red;
|
11
|
-
}
|
12
|
-
CSS
|
13
|
-
assert_equal(<<SASS, css2sass(css))
|
14
|
-
h1
|
15
|
-
color: red
|
16
|
-
SASS
|
17
|
-
assert_equal(<<SASS, css2sass(css, :old => true))
|
18
|
-
h1
|
19
|
-
:color red
|
20
|
-
SASS
|
21
|
-
end
|
22
|
-
|
23
|
-
def test_nesting
|
24
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
25
|
-
li
|
26
|
-
display: none
|
27
|
-
a
|
28
|
-
text-decoration: none
|
29
|
-
span
|
30
|
-
color: yellow
|
31
|
-
&:hover
|
32
|
-
text-decoration: underline
|
33
|
-
SASS
|
34
|
-
li {
|
35
|
-
display: none;
|
36
|
-
}
|
37
|
-
|
38
|
-
li a {
|
39
|
-
text-decoration: none;
|
40
|
-
}
|
41
|
-
|
42
|
-
li a span {
|
43
|
-
color: yellow;
|
44
|
-
}
|
45
|
-
|
46
|
-
li a:hover {
|
47
|
-
text-decoration: underline;
|
48
|
-
}
|
49
|
-
CSS
|
50
|
-
end
|
51
|
-
|
52
|
-
def test_no_nesting_around_rules
|
53
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
54
|
-
div .warning
|
55
|
-
color: #d21a19
|
56
|
-
|
57
|
-
span .debug
|
58
|
-
cursor: crosshair
|
59
|
-
|
60
|
-
div .debug
|
61
|
-
cursor: default
|
62
|
-
SASS
|
63
|
-
div .warning {
|
64
|
-
color: #d21a19; }
|
65
|
-
span .debug {
|
66
|
-
cursor: crosshair;}
|
67
|
-
div .debug {
|
68
|
-
cursor: default; }
|
69
|
-
CSS
|
70
|
-
end
|
71
|
-
|
72
|
-
def test_comments_multiline
|
73
|
-
css = <<CSS
|
74
|
-
/* comment */
|
75
|
-
elephant.rawr {
|
76
|
-
rampages: excessively;
|
77
|
-
}
|
78
|
-
|
79
|
-
/* actual multiline
|
80
|
-
comment */
|
81
|
-
span.turkey {
|
82
|
-
isdinner: true;
|
83
|
-
}
|
84
|
-
|
85
|
-
.turducken {
|
86
|
-
/* Sounds funny
|
87
|
-
doesn't it */
|
88
|
-
chimera: not_really;
|
89
|
-
}
|
90
|
-
|
91
|
-
#overhere {
|
92
|
-
bored: sorta; /* it's for a good
|
93
|
-
cause */
|
94
|
-
better_than: thread_pools;
|
95
|
-
}
|
96
|
-
|
97
|
-
#one_more {
|
98
|
-
finally: srsly;
|
99
|
-
} /* just a line here */
|
100
|
-
CSS
|
101
|
-
sass = <<SASS
|
102
|
-
/* comment
|
103
|
-
|
104
|
-
elephant.rawr
|
105
|
-
rampages: excessively
|
106
|
-
|
107
|
-
/* actual multiline
|
108
|
-
*comment
|
109
|
-
|
110
|
-
span.turkey
|
111
|
-
isdinner: true
|
112
|
-
|
113
|
-
.turducken
|
114
|
-
/* Sounds funny
|
115
|
-
* doesn't it
|
116
|
-
chimera: not_really
|
117
|
-
|
118
|
-
#overhere
|
119
|
-
bored: sorta
|
120
|
-
/* it's for a good
|
121
|
-
* cause
|
122
|
-
better_than: thread_pools
|
123
|
-
|
124
|
-
#one_more
|
125
|
-
finally: srsly
|
126
|
-
|
127
|
-
/* just a line here
|
128
|
-
SASS
|
129
|
-
assert_equal(sass, css2sass(css))
|
130
|
-
end
|
131
|
-
|
132
|
-
def test_fold_commas
|
133
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
134
|
-
li
|
135
|
-
.one, .two
|
136
|
-
color: red
|
137
|
-
SASS
|
138
|
-
li .one {
|
139
|
-
color: red;
|
140
|
-
}
|
141
|
-
li .two {
|
142
|
-
color: red;
|
143
|
-
}
|
144
|
-
CSS
|
145
|
-
|
146
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
147
|
-
.one
|
148
|
-
color: green
|
149
|
-
|
150
|
-
.two
|
151
|
-
color: green
|
152
|
-
color: red
|
153
|
-
|
154
|
-
.three
|
155
|
-
color: red
|
156
|
-
SASS
|
157
|
-
.one, .two {
|
158
|
-
color: green;
|
159
|
-
}
|
160
|
-
|
161
|
-
.two, .three {
|
162
|
-
color: red;
|
163
|
-
}
|
164
|
-
CSS
|
165
|
-
end
|
166
|
-
|
167
|
-
def test_bad_formatting
|
168
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
169
|
-
hello
|
170
|
-
parent: true
|
171
|
-
there
|
172
|
-
parent: false
|
173
|
-
who
|
174
|
-
hoo: false
|
175
|
-
why
|
176
|
-
y: true
|
177
|
-
when
|
178
|
-
wen: nao
|
179
|
-
|
180
|
-
down_here
|
181
|
-
yeah: true
|
182
|
-
SASS
|
183
|
-
hello {
|
184
|
-
parent: true;
|
185
|
-
}
|
186
|
-
|
187
|
-
hello there {
|
188
|
-
parent: false;
|
189
|
-
}
|
190
|
-
hello who {
|
191
|
-
hoo: false;
|
192
|
-
}
|
193
|
-
hello why {
|
194
|
-
y: true;
|
195
|
-
}
|
196
|
-
hello when {
|
197
|
-
wen: nao;
|
198
|
-
}
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
down_here { yeah: true; }
|
203
|
-
CSS
|
204
|
-
end
|
205
|
-
|
206
|
-
def test_comments_in_selectors
|
207
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
208
|
-
.js
|
209
|
-
#location-navigation-form .form-submit, #business-listing-form .form-submit, #detailTabs ul, #detailsEnhanced #addTags, #locationSearchList, #moreHoods
|
210
|
-
display: none
|
211
|
-
|
212
|
-
#navListLeft
|
213
|
-
display: none
|
214
|
-
SASS
|
215
|
-
.js #location-navigation-form .form-submit,
|
216
|
-
.js #business-listing-form .form-submit,
|
217
|
-
.js #detailTabs ul,
|
218
|
-
/* .js #addReview, */
|
219
|
-
/* .js #addTags, */
|
220
|
-
.js #detailsEnhanced #addTags,
|
221
|
-
.js #locationSearchList,
|
222
|
-
.js #moreHoods,
|
223
|
-
#navListLeft
|
224
|
-
{ display: none; }
|
225
|
-
CSS
|
226
|
-
end
|
227
|
-
|
228
|
-
def test_pseudo_classes_are_escaped
|
229
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
230
|
-
\\:focus
|
231
|
-
a: b
|
232
|
-
\\:foo
|
233
|
-
bar: baz
|
234
|
-
SASS
|
235
|
-
:focus {a: b;}
|
236
|
-
:focus :foo {bar: baz;}
|
237
|
-
CSS
|
238
|
-
end
|
239
|
-
|
240
|
-
# Regressions
|
241
|
-
|
242
|
-
def test_nesting_within_media
|
243
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
244
|
-
@media all
|
245
|
-
.next .vevent
|
246
|
-
padding-left: 0
|
247
|
-
padding-right: 0
|
248
|
-
SASS
|
249
|
-
@media all {
|
250
|
-
.next .vevent {
|
251
|
-
padding-left: 0;
|
252
|
-
padding-right: 0; } }
|
253
|
-
CSS
|
254
|
-
end
|
255
|
-
|
256
|
-
def test_multiline_selector_within_media_and_with_child_selector
|
257
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
258
|
-
@media all
|
259
|
-
foo bar, baz
|
260
|
-
padding-left: 0
|
261
|
-
padding-right: 0
|
262
|
-
SASS
|
263
|
-
@media all {
|
264
|
-
foo bar,
|
265
|
-
baz {
|
266
|
-
padding-left: 0;
|
267
|
-
padding-right: 0; } }
|
268
|
-
CSS
|
269
|
-
end
|
270
|
-
|
271
|
-
def test_double_comma
|
272
|
-
assert_equal(<<SASS, css2sass(<<CSS))
|
273
|
-
foo, bar
|
274
|
-
a: b
|
275
|
-
SASS
|
276
|
-
foo, , bar { a: b }
|
277
|
-
CSS
|
278
|
-
end
|
279
|
-
|
280
|
-
# Error reporting
|
281
|
-
|
282
|
-
def test_error_reporting
|
283
|
-
css2sass("foo")
|
284
|
-
assert(false, "Expected exception")
|
285
|
-
rescue Sass::SyntaxError => err
|
286
|
-
assert_equal(1, err.sass_line)
|
287
|
-
assert_equal('Invalid CSS after "foo": expected "{", was ""', err.message)
|
288
|
-
end
|
289
|
-
|
290
|
-
def test_error_reporting_in_line
|
291
|
-
css2sass("foo\nbar }\nbaz")
|
292
|
-
assert(false, "Expected exception")
|
293
|
-
rescue Sass::SyntaxError => err
|
294
|
-
assert_equal(2, err.sass_line)
|
295
|
-
assert_equal('Invalid CSS after "bar ": expected "{", was "}"', err.message)
|
296
|
-
end
|
297
|
-
|
298
|
-
def test_error_truncate_after
|
299
|
-
css2sass("#{"a" * 16}foo")
|
300
|
-
assert(false, "Expected exception")
|
301
|
-
rescue Sass::SyntaxError => err
|
302
|
-
assert_equal(1, err.sass_line)
|
303
|
-
assert_equal('Invalid CSS after "...aaaaaaaaaaaafoo": expected "{", was ""', err.message)
|
304
|
-
end
|
305
|
-
|
306
|
-
def test_error_truncate_was
|
307
|
-
css2sass("foo }foo#{"a" * 15}")
|
308
|
-
assert(false, "Expected exception")
|
309
|
-
rescue Sass::SyntaxError => err
|
310
|
-
assert_equal(1, err.sass_line)
|
311
|
-
assert_equal('Invalid CSS after "foo ": expected "{", was "}fooaaaaaaaaaaa..."', err.message)
|
312
|
-
end
|
313
|
-
|
314
|
-
def test_error_doesnt_truncate_after_when_elipsis_would_add_length
|
315
|
-
css2sass("#{"a" * 15}foo")
|
316
|
-
assert(false, "Expected exception")
|
317
|
-
rescue Sass::SyntaxError => err
|
318
|
-
assert_equal(1, err.sass_line)
|
319
|
-
assert_equal('Invalid CSS after "aaaaaaaaaaaaaaafoo": expected "{", was ""', err.message)
|
320
|
-
end
|
321
|
-
|
322
|
-
def test_error_doesnt_truncate_was_when_elipsis_would_add_length
|
323
|
-
css2sass("foo }foo#{"a" * 14}")
|
324
|
-
assert(false, "Expected exception")
|
325
|
-
rescue Sass::SyntaxError => err
|
326
|
-
assert_equal(1, err.sass_line)
|
327
|
-
assert_equal('Invalid CSS after "foo ": expected "{", was "}fooaaaaaaaaaaaaaa"', err.message)
|
328
|
-
end
|
329
|
-
|
330
|
-
def test_error_gets_rid_of_trailing_newline_for_after
|
331
|
-
css2sass("foo \n ")
|
332
|
-
assert(false, "Expected exception")
|
333
|
-
rescue Sass::SyntaxError => err
|
334
|
-
assert_equal(2, err.sass_line)
|
335
|
-
assert_equal('Invalid CSS after "foo": expected "{", was ""', err.message)
|
336
|
-
end
|
337
|
-
|
338
|
-
def test_error_gets_rid_of_trailing_newline_for_was
|
339
|
-
css2sass("foo \n }foo")
|
340
|
-
assert(false, "Expected exception")
|
341
|
-
rescue Sass::SyntaxError => err
|
342
|
-
assert_equal(2, err.sass_line)
|
343
|
-
assert_equal('Invalid CSS after "foo": expected "{", was "}foo"', err.message)
|
344
|
-
end
|
345
|
-
|
346
|
-
# Encodings
|
347
|
-
|
348
|
-
unless Sass::Util.ruby1_8?
|
349
|
-
def test_encoding_error
|
350
|
-
css2sass("foo\nbar\nb\xFEaz".force_encoding("utf-8"))
|
351
|
-
assert(false, "Expected exception")
|
352
|
-
rescue Sass::SyntaxError => e
|
353
|
-
assert_equal(3, e.sass_line)
|
354
|
-
assert_equal('Invalid UTF-8 character "\xFE"', e.message)
|
355
|
-
end
|
356
|
-
|
357
|
-
def test_ascii_incompatible_encoding_error
|
358
|
-
template = "foo\nbar\nb_z".encode("utf-16le")
|
359
|
-
template[9] = "\xFE".force_encoding("utf-16le")
|
360
|
-
css2sass(template)
|
361
|
-
assert(false, "Expected exception")
|
362
|
-
rescue Sass::SyntaxError => e
|
363
|
-
assert_equal(3, e.sass_line)
|
364
|
-
assert_equal('Invalid UTF-16LE character "\xFE"', e.message)
|
365
|
-
end
|
366
|
-
end
|
367
|
-
|
368
|
-
private
|
369
|
-
|
370
|
-
def css2sass(string, opts={})
|
371
|
-
Sass::CSS.new(string, opts).render
|
372
|
-
end
|
373
|
-
end
|
@@ -1,319 +0,0 @@
|
|
1
|
-
hsl(0, 100%, 50%)
|
2
|
-
hsl(60, 100%, 50%)
|
3
|
-
hsl(120, 100%, 50%)
|
4
|
-
hsl(180, 100%, 50%)
|
5
|
-
hsl(240, 100%, 50%)
|
6
|
-
hsl(300, 100%, 50%)
|
7
|
-
====
|
8
|
-
rgb(255, 0, 0)
|
9
|
-
rgb(255, 255, 0)
|
10
|
-
rgb(0, 255, 0)
|
11
|
-
rgb(0, 255, 255)
|
12
|
-
rgb(0, 0, 255)
|
13
|
-
rgb(255, 0, 255)
|
14
|
-
|
15
|
-
hsl(-360, 100%, 50%)
|
16
|
-
hsl(-300, 100%, 50%)
|
17
|
-
hsl(-240, 100%, 50%)
|
18
|
-
hsl(-180, 100%, 50%)
|
19
|
-
hsl(-120, 100%, 50%)
|
20
|
-
hsl(-60, 100%, 50%)
|
21
|
-
====
|
22
|
-
rgb(255, 0, 0)
|
23
|
-
rgb(255, 255, 0)
|
24
|
-
rgb(0, 255, 0)
|
25
|
-
rgb(0, 255, 255)
|
26
|
-
rgb(0, 0, 255)
|
27
|
-
rgb(255, 0, 255)
|
28
|
-
|
29
|
-
hsl(360, 100%, 50%)
|
30
|
-
hsl(420, 100%, 50%)
|
31
|
-
hsl(480, 100%, 50%)
|
32
|
-
hsl(540, 100%, 50%)
|
33
|
-
hsl(600, 100%, 50%)
|
34
|
-
hsl(660, 100%, 50%)
|
35
|
-
====
|
36
|
-
rgb(255, 0, 0)
|
37
|
-
rgb(255, 255, 0)
|
38
|
-
rgb(0, 255, 0)
|
39
|
-
rgb(0, 255, 255)
|
40
|
-
rgb(0, 0, 255)
|
41
|
-
rgb(255, 0, 255)
|
42
|
-
|
43
|
-
hsl(6120, 100%, 50%)
|
44
|
-
hsl(-9660, 100%, 50%)
|
45
|
-
hsl(99840, 100%, 50%)
|
46
|
-
hsl(-900, 100%, 50%)
|
47
|
-
hsl(-104880, 100%, 50%)
|
48
|
-
hsl(2820, 100%, 50%)
|
49
|
-
====
|
50
|
-
rgb(255, 0, 0)
|
51
|
-
rgb(255, 255, 0)
|
52
|
-
rgb(0, 255, 0)
|
53
|
-
rgb(0, 255, 255)
|
54
|
-
rgb(0, 0, 255)
|
55
|
-
rgb(255, 0, 255)
|
56
|
-
|
57
|
-
hsl(0, 100%, 50%)
|
58
|
-
hsl(12, 100%, 50%)
|
59
|
-
hsl(24, 100%, 50%)
|
60
|
-
hsl(36, 100%, 50%)
|
61
|
-
hsl(48, 100%, 50%)
|
62
|
-
hsl(60, 100%, 50%)
|
63
|
-
hsl(72, 100%, 50%)
|
64
|
-
hsl(84, 100%, 50%)
|
65
|
-
hsl(96, 100%, 50%)
|
66
|
-
hsl(108, 100%, 50%)
|
67
|
-
hsl(120, 100%, 50%)
|
68
|
-
====
|
69
|
-
rgb(255, 0, 0)
|
70
|
-
rgb(255, 51, 0)
|
71
|
-
rgb(255, 102, 0)
|
72
|
-
rgb(255, 153, 0)
|
73
|
-
rgb(255, 204, 0)
|
74
|
-
rgb(255, 255, 0)
|
75
|
-
rgb(204, 255, 0)
|
76
|
-
rgb(153, 255, 0)
|
77
|
-
rgb(102, 255, 0)
|
78
|
-
rgb(51, 255, 0)
|
79
|
-
rgb(0, 255, 0)
|
80
|
-
|
81
|
-
hsl(120, 100%, 50%)
|
82
|
-
hsl(132, 100%, 50%)
|
83
|
-
hsl(144, 100%, 50%)
|
84
|
-
hsl(156, 100%, 50%)
|
85
|
-
hsl(168, 100%, 50%)
|
86
|
-
hsl(180, 100%, 50%)
|
87
|
-
hsl(192, 100%, 50%)
|
88
|
-
hsl(204, 100%, 50%)
|
89
|
-
hsl(216, 100%, 50%)
|
90
|
-
hsl(228, 100%, 50%)
|
91
|
-
hsl(240, 100%, 50%)
|
92
|
-
====
|
93
|
-
rgb(0, 255, 0)
|
94
|
-
rgb(0, 255, 51)
|
95
|
-
rgb(0, 255, 102)
|
96
|
-
rgb(0, 255, 153)
|
97
|
-
rgb(0, 255, 204)
|
98
|
-
rgb(0, 255, 255)
|
99
|
-
rgb(0, 204, 255)
|
100
|
-
rgb(0, 153, 255)
|
101
|
-
rgb(0, 102, 255)
|
102
|
-
rgb(0, 51, 255)
|
103
|
-
rgb(0, 0, 255)
|
104
|
-
|
105
|
-
hsl(240, 100%, 50%)
|
106
|
-
hsl(252, 100%, 50%)
|
107
|
-
hsl(264, 100%, 50%)
|
108
|
-
hsl(276, 100%, 50%)
|
109
|
-
hsl(288, 100%, 50%)
|
110
|
-
hsl(300, 100%, 50%)
|
111
|
-
hsl(312, 100%, 50%)
|
112
|
-
hsl(324, 100%, 50%)
|
113
|
-
hsl(336, 100%, 50%)
|
114
|
-
hsl(348, 100%, 50%)
|
115
|
-
hsl(360, 100%, 50%)
|
116
|
-
====
|
117
|
-
rgb(0, 0, 255)
|
118
|
-
rgb(51, 0, 255)
|
119
|
-
rgb(102, 0, 255)
|
120
|
-
rgb(153, 0, 255)
|
121
|
-
rgb(204, 0, 255)
|
122
|
-
rgb(255, 0, 255)
|
123
|
-
rgb(255, 0, 204)
|
124
|
-
rgb(255, 0, 153)
|
125
|
-
rgb(255, 0, 102)
|
126
|
-
rgb(255, 0, 51)
|
127
|
-
rgb(255, 0, 0)
|
128
|
-
|
129
|
-
hsl(0, 20%, 50%)
|
130
|
-
hsl(0, 60%, 50%)
|
131
|
-
hsl(0, 100%, 50%)
|
132
|
-
====
|
133
|
-
rgb(153, 102, 102)
|
134
|
-
rgb(204, 51, 51)
|
135
|
-
rgb(255, 0, 0)
|
136
|
-
|
137
|
-
hsl(60, 20%, 50%)
|
138
|
-
hsl(60, 60%, 50%)
|
139
|
-
hsl(60, 100%, 50%)
|
140
|
-
====
|
141
|
-
rgb(153, 153, 102)
|
142
|
-
rgb(204, 204, 51)
|
143
|
-
rgb(255, 255, 0)
|
144
|
-
|
145
|
-
hsl(120, 20%, 50%)
|
146
|
-
hsl(120, 60%, 50%)
|
147
|
-
hsl(120, 100%, 50%)
|
148
|
-
====
|
149
|
-
rgb(102, 153, 102)
|
150
|
-
rgb(51, 204, 51)
|
151
|
-
rgb(0, 255, 0)
|
152
|
-
|
153
|
-
hsl(180, 20%, 50%)
|
154
|
-
hsl(180, 60%, 50%)
|
155
|
-
hsl(180, 100%, 50%)
|
156
|
-
====
|
157
|
-
rgb(102, 153, 153)
|
158
|
-
rgb(51, 204, 204)
|
159
|
-
rgb(0, 255, 255)
|
160
|
-
|
161
|
-
hsl(240, 20%, 50%)
|
162
|
-
hsl(240, 60%, 50%)
|
163
|
-
hsl(240, 100%, 50%)
|
164
|
-
====
|
165
|
-
rgb(102, 102, 153)
|
166
|
-
rgb(51, 51, 204)
|
167
|
-
rgb(0, 0, 255)
|
168
|
-
|
169
|
-
hsl(300, 20%, 50%)
|
170
|
-
hsl(300, 60%, 50%)
|
171
|
-
hsl(300, 100%, 50%)
|
172
|
-
====
|
173
|
-
rgb(153, 102, 153)
|
174
|
-
rgb(204, 51, 204)
|
175
|
-
rgb(255, 0, 255)
|
176
|
-
|
177
|
-
hsl(0, 100%, 0%)
|
178
|
-
hsl(0, 100%, 10%)
|
179
|
-
hsl(0, 100%, 20%)
|
180
|
-
hsl(0, 100%, 30%)
|
181
|
-
hsl(0, 100%, 40%)
|
182
|
-
hsl(0, 100%, 50%)
|
183
|
-
hsl(0, 100%, 60%)
|
184
|
-
hsl(0, 100%, 70%)
|
185
|
-
hsl(0, 100%, 80%)
|
186
|
-
hsl(0, 100%, 90%)
|
187
|
-
hsl(0, 100%, 100%)
|
188
|
-
====
|
189
|
-
rgb(0, 0, 0)
|
190
|
-
rgb(51, 0, 0)
|
191
|
-
rgb(102, 0, 0)
|
192
|
-
rgb(153, 0, 0)
|
193
|
-
rgb(204, 0, 0)
|
194
|
-
rgb(255, 0, 0)
|
195
|
-
rgb(255, 51, 51)
|
196
|
-
rgb(255, 102, 102)
|
197
|
-
rgb(255, 153, 153)
|
198
|
-
rgb(255, 204, 204)
|
199
|
-
rgb(255, 255, 255)
|
200
|
-
|
201
|
-
hsl(60, 100%, 0%)
|
202
|
-
hsl(60, 100%, 10%)
|
203
|
-
hsl(60, 100%, 20%)
|
204
|
-
hsl(60, 100%, 30%)
|
205
|
-
hsl(60, 100%, 40%)
|
206
|
-
hsl(60, 100%, 50%)
|
207
|
-
hsl(60, 100%, 60%)
|
208
|
-
hsl(60, 100%, 70%)
|
209
|
-
hsl(60, 100%, 80%)
|
210
|
-
hsl(60, 100%, 90%)
|
211
|
-
hsl(60, 100%, 100%)
|
212
|
-
====
|
213
|
-
rgb(0, 0, 0)
|
214
|
-
rgb(51, 51, 0)
|
215
|
-
rgb(102, 102, 0)
|
216
|
-
rgb(153, 153, 0)
|
217
|
-
rgb(204, 204, 0)
|
218
|
-
rgb(255, 255, 0)
|
219
|
-
rgb(255, 255, 51)
|
220
|
-
rgb(255, 255, 102)
|
221
|
-
rgb(255, 255, 153)
|
222
|
-
rgb(255, 255, 204)
|
223
|
-
rgb(255, 255, 255)
|
224
|
-
|
225
|
-
hsl(120, 100%, 0%)
|
226
|
-
hsl(120, 100%, 10%)
|
227
|
-
hsl(120, 100%, 20%)
|
228
|
-
hsl(120, 100%, 30%)
|
229
|
-
hsl(120, 100%, 40%)
|
230
|
-
hsl(120, 100%, 50%)
|
231
|
-
hsl(120, 100%, 60%)
|
232
|
-
hsl(120, 100%, 70%)
|
233
|
-
hsl(120, 100%, 80%)
|
234
|
-
hsl(120, 100%, 90%)
|
235
|
-
hsl(120, 100%, 100%)
|
236
|
-
====
|
237
|
-
rgb(0, 0, 0)
|
238
|
-
rgb(0, 51, 0)
|
239
|
-
rgb(0, 102, 0)
|
240
|
-
rgb(0, 153, 0)
|
241
|
-
rgb(0, 204, 0)
|
242
|
-
rgb(0, 255, 0)
|
243
|
-
rgb(51, 255, 51)
|
244
|
-
rgb(102, 255, 102)
|
245
|
-
rgb(153, 255, 153)
|
246
|
-
rgb(204, 255, 204)
|
247
|
-
rgb(255, 255, 255)
|
248
|
-
|
249
|
-
hsl(180, 100%, 0%)
|
250
|
-
hsl(180, 100%, 10%)
|
251
|
-
hsl(180, 100%, 20%)
|
252
|
-
hsl(180, 100%, 30%)
|
253
|
-
hsl(180, 100%, 40%)
|
254
|
-
hsl(180, 100%, 50%)
|
255
|
-
hsl(180, 100%, 60%)
|
256
|
-
hsl(180, 100%, 70%)
|
257
|
-
hsl(180, 100%, 80%)
|
258
|
-
hsl(180, 100%, 90%)
|
259
|
-
hsl(180, 100%, 100%)
|
260
|
-
====
|
261
|
-
rgb(0, 0, 0)
|
262
|
-
rgb(0, 51, 51)
|
263
|
-
rgb(0, 102, 102)
|
264
|
-
rgb(0, 153, 153)
|
265
|
-
rgb(0, 204, 204)
|
266
|
-
rgb(0, 255, 255)
|
267
|
-
rgb(51, 255, 255)
|
268
|
-
rgb(102, 255, 255)
|
269
|
-
rgb(153, 255, 255)
|
270
|
-
rgb(204, 255, 255)
|
271
|
-
rgb(255, 255, 255)
|
272
|
-
|
273
|
-
hsl(240, 100%, 0%)
|
274
|
-
hsl(240, 100%, 10%)
|
275
|
-
hsl(240, 100%, 20%)
|
276
|
-
hsl(240, 100%, 30%)
|
277
|
-
hsl(240, 100%, 40%)
|
278
|
-
hsl(240, 100%, 50%)
|
279
|
-
hsl(240, 100%, 60%)
|
280
|
-
hsl(240, 100%, 70%)
|
281
|
-
hsl(240, 100%, 80%)
|
282
|
-
hsl(240, 100%, 90%)
|
283
|
-
hsl(240, 100%, 100%)
|
284
|
-
====
|
285
|
-
rgb(0, 0, 0)
|
286
|
-
rgb(0, 0, 51)
|
287
|
-
rgb(0, 0, 102)
|
288
|
-
rgb(0, 0, 153)
|
289
|
-
rgb(0, 0, 204)
|
290
|
-
rgb(0, 0, 255)
|
291
|
-
rgb(51, 51, 255)
|
292
|
-
rgb(102, 102, 255)
|
293
|
-
rgb(153, 153, 255)
|
294
|
-
rgb(204, 204, 255)
|
295
|
-
rgb(255, 255, 255)
|
296
|
-
|
297
|
-
hsl(300, 100%, 0%)
|
298
|
-
hsl(300, 100%, 10%)
|
299
|
-
hsl(300, 100%, 20%)
|
300
|
-
hsl(300, 100%, 30%)
|
301
|
-
hsl(300, 100%, 40%)
|
302
|
-
hsl(300, 100%, 50%)
|
303
|
-
hsl(300, 100%, 60%)
|
304
|
-
hsl(300, 100%, 70%)
|
305
|
-
hsl(300, 100%, 80%)
|
306
|
-
hsl(300, 100%, 90%)
|
307
|
-
hsl(300, 100%, 100%)
|
308
|
-
====
|
309
|
-
rgb(0, 0, 0)
|
310
|
-
rgb(51, 0, 51)
|
311
|
-
rgb(102, 0, 102)
|
312
|
-
rgb(153, 0, 153)
|
313
|
-
rgb(204, 0, 204)
|
314
|
-
rgb(255, 0, 255)
|
315
|
-
rgb(255, 51, 255)
|
316
|
-
rgb(255, 102, 255)
|
317
|
-
rgb(255, 153, 255)
|
318
|
-
rgb(255, 204, 255)
|
319
|
-
rgb(255, 255, 255)
|