diff options
Diffstat (limited to 'www/wiki/tests/phpunit/data/css')
-rw-r--r-- | www/wiki/tests/phpunit/data/css/bom.css | 1 | ||||
-rw-r--r-- | www/wiki/tests/phpunit/data/css/comments.css | 7 | ||||
-rw-r--r-- | www/wiki/tests/phpunit/data/css/expected.css | 11 | ||||
-rw-r--r-- | www/wiki/tests/phpunit/data/css/simple-ltr.gif | bin | 0 -> 35 bytes | |||
-rw-r--r-- | www/wiki/tests/phpunit/data/css/simple-rtl.gif | bin | 0 -> 35 bytes | |||
-rw-r--r-- | www/wiki/tests/phpunit/data/css/test.css | 11 |
6 files changed, 30 insertions, 0 deletions
diff --git a/www/wiki/tests/phpunit/data/css/bom.css b/www/wiki/tests/phpunit/data/css/bom.css new file mode 100644 index 00000000..3382ea47 --- /dev/null +++ b/www/wiki/tests/phpunit/data/css/bom.css @@ -0,0 +1 @@ +.efbbbf_bom_char_at_start_of_file {} diff --git a/www/wiki/tests/phpunit/data/css/comments.css b/www/wiki/tests/phpunit/data/css/comments.css new file mode 100644 index 00000000..744a14c7 --- /dev/null +++ b/www/wiki/tests/phpunit/data/css/comments.css @@ -0,0 +1,7 @@ +/* url expressions in comments should be ignored */ + +.selector { /*@noflip*/ background-image: /*@embed*/ url(not-commented.gif); } + +/* +.selector { background-image: url(commented-out.gif); } +*/ diff --git a/www/wiki/tests/phpunit/data/css/expected.css b/www/wiki/tests/phpunit/data/css/expected.css new file mode 100644 index 00000000..03addcb7 --- /dev/null +++ b/www/wiki/tests/phpunit/data/css/expected.css @@ -0,0 +1,11 @@ +/* All of the combinations should result in the same output in LTR and RTL mode. */ + +.selector { /*@embed*/ background-image: url(simple-ltr.gif); } + +.selector { /*@embed*/ background-image: url(simple-ltr.gif); } + +.selector { /*@embed*/ background-image: url(simple-ltr.gif); } + +.selector { /*@embed*/ background-image: url(simple-ltr.gif); } + +.selector { /*@embed*/ background-image: url(simple-ltr.gif); } diff --git a/www/wiki/tests/phpunit/data/css/simple-ltr.gif b/www/wiki/tests/phpunit/data/css/simple-ltr.gif Binary files differnew file mode 100644 index 00000000..13c43e90 --- /dev/null +++ b/www/wiki/tests/phpunit/data/css/simple-ltr.gif diff --git a/www/wiki/tests/phpunit/data/css/simple-rtl.gif b/www/wiki/tests/phpunit/data/css/simple-rtl.gif Binary files differnew file mode 100644 index 00000000..f9e75316 --- /dev/null +++ b/www/wiki/tests/phpunit/data/css/simple-rtl.gif diff --git a/www/wiki/tests/phpunit/data/css/test.css b/www/wiki/tests/phpunit/data/css/test.css new file mode 100644 index 00000000..8d0d6708 --- /dev/null +++ b/www/wiki/tests/phpunit/data/css/test.css @@ -0,0 +1,11 @@ +/* All of the combinations should result in the same output in LTR and RTL mode. */ + +/*@noflip*/ .selector { /*@embed*/ background-image: url(simple-ltr.gif); } + +/*@noflip*/ .selector { background-image: /*@embed*/ url(simple-ltr.gif); } + +.selector { /*@noflip*/ /*@embed*/ background-image: url(simple-ltr.gif); } + +.selector { /*@embed*/ /*@noflip*/ background-image: url(simple-ltr.gif); } + +.selector { /*@noflip*/ background-image: /*@embed*/ url(simple-ltr.gif); } |