Commit Graph

9 Commits

Author SHA1 Message Date
Frederic Massart
93f05f049d MDL-45545 csslib: Chunking handles commas in media query definitions 2014-05-20 12:21:45 +08:00
sam marshall
fbe79e4937 MDL-45535 CSS chunking breaks media rules if CSS invalid (IE)
Invalid CSS with extra } symbols, which previously (by fluke)
worked, was broken by recent chunking improvements. This change
makes the chunking code robust against this (stupid) situation.
2014-05-14 12:08:27 +01:00
Frederic Massart
eddc1461f8 MDL-44936 csslib: Chunking supports @media queries and commas in rules 2014-04-11 12:05:00 +08:00
Sam Hemelryk
2a1ebf25de MDL-41057 csslib: CSS optimiser improvements.
This commit makes the following changes:
* Tidies up coding style.
* Tidies up phpdocs.
* Improve CSS optimiser unit tests to cover browser hacks.
* Improve backgound style consolidation.
* Improve border style consolidation.
* Fixed optimiser to handle browser hacks like *zoom.
* Improved @ rule unit tests.
* Fixed @rule breakages caused by OS specific rules.
* Added more unit tests to cover a bit more CSS3.

I am pretty sure this patch will now enable to optimsier to
work on bootstrap based themes should developers not wish
to compress thier compiled less CSS.
2013-08-16 08:57:20 +12:00
Petr Škoda
8bd5bfa220 MDL-39915 cleanup core_csslib_testcase 2013-07-27 13:59:56 +02:00
Sam Hemelryk
1eb2b51703 MDL-39212 css: we now chunk and no longer separate 2013-06-28 16:49:02 +12:00
Sam Hemelryk
0678958015 MDL-38411 css: new unit tests to cover chunking 2013-04-19 10:09:45 +12:00
Sam Hemelryk
2395a7510f MDL-33825 css_optimiser: Fixed bug where !important was being lost for advanced background styles 2012-06-19 12:32:56 +12:00
Sam Hemelryk
1875b6fb89 MDL-33468 css_optimiser: Coding style clean up and renamed cssslib_test => csslib_test 2012-06-14 17:28:26 +12:00