MDL-45535 CSS chunking breaks media rules if CSS invalid (IE)
authorsam marshall <s.marshall@open.ac.uk>
Tue, 13 May 2014 17:43:21 +0000 (18:43 +0100)
committersam marshall <s.marshall@open.ac.uk>
Wed, 14 May 2014 11:08:27 +0000 (12:08 +0100)
commitfbe79e49375ef27bcbb6e2cf91c97215fe8e9fc4
tree73d7621991e3ddaf1a3961542653feffc3df1e6e
parentc1ed2546431985262aefc4a39f9dec43e12426d3
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.
lib/csslib.php
lib/tests/csslib_test.php