Lines Matching refs:text
8 $text = '/**
13 $this->assertEquals('', css_compress($text));
17 $text = '#comment/* */ {
20 $this->assertEquals('#comment/* */{color:lime;}', css_compress($text));
24 $text = '// this is a comment';
25 $this->assertEquals('', css_compress($text));
29 $text = '#foo {
32 $this->assertEquals('#foo{color:lime;}', css_compress($text));
36 $text = '#foo {
39 … $this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);}', css_compress($text));
43 $text = '#foo {
46 …:url(http://foo.bar/baz.jpg);background-image:url(http://foo.bar/baz.jpg);}', css_compress($text));
50 $text = '#foo {
53 … $this->assertEquals('#foo{background-image:url(http://foo.bar/baz.jpg);}', css_compress($text));
57 $text = '#foo {
60 $this->assertEquals('#foo{background-image:url(//foo.bar/baz.jpg);}', css_compress($text));
64 $text = '#foo a[href ^="https://"], #foo a[href ^=\'https://\'] {
67 …://"],#foo a[href ^=\'https://\']{background-image:url(//foo.bar/baz.jpg);}', css_compress($text));
72 $text = '/* Mac IE will not see this and continue with inline-block */
76 $this->assertEquals('/* \\*/display:inline;/* */', css_compress($text));
80 … $text = '/* min-height hack for Internet Explorer http://www.cssplay.co.uk/boxes/minheight.html */
86 $this->assertEquals('/*\\*/* html .page{height:450px;}/**/', css_compress($text));
90 $text = "a{left:20px;\ntop:20px}";
91 $this->assertEquals('a{left:20px;top:20px}', css_compress($text));