History log of /dokuwiki/_test/tests/lib/exe/css_css_compress.test.php (Results 1 – 12 of 12)
Revision Date Author Comments
# 2f5645ef 19-Jan-2020 Phy <git@phy25.com>

add trim, and polish test_quotes of css_compress, again

An edge case that space at the beginning won't get removed.


# 74be1290 19-Jan-2020 Phy <git@phy25.com>

polish test_quotes of css_compress

Now the testcase string should be clearer to read


# c52c9e2b 19-Jan-2020 Henry Pan <git@phy25.com>

Add test_escapedQuotes to css_compress

Thank you @micgro42!

Co-Authored-By: Michael Große <mic.grosse@googlemail.com>


# 5fdc2ff2 17-Sep-2019 Phy <git@phy25.com>

css_compress: quote placeholder to simply quote protection

There are two ways of doing this:

1. "doku" > STR1 > "doku"
2. "doku" > "1" > "doku"

#1 is what I did before. I did replace STRN with a n

css_compress: quote placeholder to simply quote protection

There are two ways of doing this:

1. "doku" > STR1 > "doku"
2. "doku" > "1" > "doku"

#1 is what I did before. I did replace STRN with a new placeholder in the previous implementation so that there is no conflict. However #2 is more elegant, so this commit implements it.

Test is updated to address splitbrain's concern about placeholder string in the original text.

show more ...


# a9bd2f2f 10-Jan-2019 Phy <git@phy25.com>

add quotes test for #2517


# 918a4468 14-May-2014 Andreas Gohr <andi@splitbrain.org>

don't treat double slashes as comments when used in string

This avoids treating double slashes as single line comments in CSS when
they are used in a filter or content string.

closes #638


# e80146eb 13-May-2014 Andreas Gohr <andi@splitbrain.org>

added another test for fe5a50

That commit did not test what it actually made for. Handling protocol
relative URLs in CSS.


# fe5a50c3 05-Mar-2014 Andreas Gohr <andi@splitbrain.org>

fix single line comments in CSS compression

double slashes in url() always have to be ignored


# 0499ebed 05-Mar-2014 Andreas Gohr <gohr@cosmocode.de>

added (failing) test case for broken jquery ui compression


# a467e020 15-Oct-2013 Andreas Gohr <gohr@cosmocode.de>

Added unit tests for CSS shorthand compression FS#2509


# 050f8f4d 01-May-2012 Andreas Gohr <andi@splitbrain.org>

removed unecessary requiresin unit tests


# f8369d7d 18-Apr-2012 Tobias Sarnowski <sarnowski@cosmocode.de>

moved _testing to _test