16 Commits

Author SHA1 Message Date
Matthias Mullie
4b5f6d3e17 Handle relative from & to paths in path conversion 2014-10-30 10:43:48 +01:00
Matthias Mullie
5bbd856b02 Improve CSS minifier, add some whitespace rules
Meanwhile also moved to use the same method JS does to
extract strings, which allows us to be more agressive on
stripping whitespace.
2014-10-30 10:16:31 +01:00
Matthias Mullie
0354803254 Get rid of leftover rubbish 2014-10-29 17:51:15 +01:00
Matthias Mullie
8378037ee4 Add tests for recent issues 2014-10-20 11:08:51 +02:00
Matthias Mullie
a3b43938c0 Simplify convertRelativePath 2014-10-13 13:46:16 +02:00
Matthias Mullie
2279df75f8 Operate on arrays when resolving relative paths
Instead of relying on do/while loops & regular expressions.
2014-10-13 08:43:55 +02:00
Matthias Mullie
38ad5cf0de Add tests for relative paths in CSS 2014-10-12 22:07:59 +02:00
Matthias Mullie
0b44d82991 Add test for absolute path in CSS
Meanwhile fixed conditions to import file; shouldn't be
&=, as that doesn't short-circuit the and (it still executes)
2014-10-12 22:01:13 +02:00
Matthias Mullie
acfc15b0de Make import media queries work 2014-10-12 21:55:30 +02:00
Matthias Mullie
6f36512148 Alternative workaround for regex requiring recent PCRE 2014-10-12 21:41:25 +02:00
Matthias Mullie
c782c473f9 Improve test coverage for CSS minifier 2014-10-12 21:10:22 +02:00
Matthias Mullie
f1b565bc99 Improve test coverage & remove redundant code 2014-10-12 17:42:22 +02:00
Matthias Mullie
52038b1380 Remove target test file, add .gitignore instead
Meanwhile cleaned up one of the tests to have valid CSS in there
2014-10-09 14:23:31 +02:00
Matthias Mullie
c4a59c904e Make code respect PSR-4 2014-10-09 08:56:14 +02:00
Matthias Mullie
cf9e90ba4a Use PSR4 autoloader; move code to src/ 2014-10-09 08:38:58 +02:00
Matthias Mullie
76734ac3f7 Add PHPUnit dist file, move test files around 2014-10-08 16:34:49 +02:00