summaryrefslogtreecommitdiff
path: root/scss/tests/test_expression.py
Commit message (Collapse)AuthorAgeFilesLines
* Add test cases for modulo expression.Wang Xuerui2014-11-011-0/+5
|
* Added file encoding for test_expression.pyGerman M. Bravo2014-09-191-0/+1
|
* scss.expression -> scss.calculatorEevee (Alex Munroe)2014-09-051-1/+1
|
* Don't quote the contents of the IE alpha() function.Eevee (Alex Munroe)2014-09-051-0/+1
|
* Fix an oversight in the spec-compliant unescape().Eevee (Alex Munroe)2014-09-051-2/+5
|
* Unfix this test, alas.Eevee (Alex Munroe)2014-09-041-1/+2
|
* Lots of fixes to gritty details of how Sass treats url().Eevee (Alex Munroe)2014-09-041-10/+76
| | | | | | | | | Basically: if it looks like it's a single bare URL, only interpolations are allowed. Otherwise, it's expected to be a whole expression. Handling of interpolation in barewords is much improved. Also fixed the wrapping of SassSyntaxError.
* Support CSS calc().Eevee (Alex Munroe)2014-08-291-1/+1
|
* Couple more test fixes...Eevee (Alex Munroe)2014-08-291-2/+1
|
* Convert extra and fonts into extensions.Eevee (Alex Munroe)2014-08-271-1/+1
|
* Introduce an Extension class, finally. Making a stab at #130.Eevee (Alex Munroe)2014-08-271-4/+3
| | | | | | All the core functions have been moved into a core Extension, and Namespace has been beefed up a little bit so declaring functions is easy.
* Added PRECISION for increased precision with floating numbersGerman M. Bravo2014-03-301-1/+1
| | | | | For example, bootstrap needs 8 decimal numbers to display buttons and inputs correctly in input groups.
* Return Unicode from the C scanner. More __future__.Eevee (Alex Munroe)2014-03-291-0/+3
| | | | Test suite now runs without any Unicode warnings.
* Fix this TypeError test.Eevee (Alex Munroe)2013-09-261-1/+2
|
* At long last, kill ParserValue and most of the Color constructor.Eevee (Alex Munroe)2013-08-271-1/+1
|
* Split type-system tests into their own file, and rewrite without the parser.Eevee (Alex Munroe)2013-08-191-90/+3
|
* Using css built-in functions vs. css & scss functions vs. non-existent functionsGerman M. Bravo2013-08-171-0/+11
|
* Test fixed & PEP8German M. Bravo2013-08-171-3/+10
|
* Sass documentation tests pass.Eevee (Alex Munroe)2013-08-161-8/+12
|
* Treat !important as a bareword.Eevee (Alex Munroe)2013-08-141-1/+8
|
* Cancel convertable units in the Number constructor. #180Eevee (Alex Munroe)2013-08-131-1/+1
|
* Fix test_expression to use real types. Minor type fixes.Eevee (Alex Munroe)2013-08-131-53/+54
|
* Simplified ColorValue considerably.Eevee (Alex Munroe)2013-08-091-1/+1
| | | | | | | | | | | | | | | - Rendering now follows Ruby's rules: shortest representation when compressing, otherwise use the original literal, the name, and hex notation in that order. - The old __str__ fallback is gone. - The `types` attribute is no longer needed. - The strange `merge` method is no longer needed. - Got rid of a couple uses of `to_str`, and made it aware of how to render types.
* Rewrite NumberValue to handle arbitrary unit combinations.Eevee (Alex Munroe)2013-07-311-5/+9
| | | | | Now matches Sass semantics much more closely, and understands intermediate units in expressions like "1px * 1px / 1px".
* Rewrite the String type.Eevee2013-07-101-1/+2
| | | | | | Unifies quoted and unquoted strings. Single quotes are now preserved. Also moves the result of `type-of` into the type system, hurrah.
* Minor removal of uncallable types code.Eevee2013-06-281-2/+3
|
* Test for null equality; fix null repr.Eevee2013-06-281-0/+12
|
* Bring comparison in line with Ruby Sass.Eevee2013-06-281-11/+14
|
* Some expression evaluation tests. WIPEevee2013-06-261-0/+126