summaryrefslogtreecommitdiff
path: root/www/wiki/tests/phpunit/data/css
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/tests/phpunit/data/css')
-rw-r--r--www/wiki/tests/phpunit/data/css/bom.css1
-rw-r--r--www/wiki/tests/phpunit/data/css/comments.css7
-rw-r--r--www/wiki/tests/phpunit/data/css/expected.css11
-rw-r--r--www/wiki/tests/phpunit/data/css/simple-ltr.gifbin0 -> 35 bytes
-rw-r--r--www/wiki/tests/phpunit/data/css/simple-rtl.gifbin0 -> 35 bytes
-rw-r--r--www/wiki/tests/phpunit/data/css/test.css11
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
new file mode 100644
index 00000000..13c43e90
--- /dev/null
+++ b/www/wiki/tests/phpunit/data/css/simple-ltr.gif
Binary files differ
diff --git a/www/wiki/tests/phpunit/data/css/simple-rtl.gif b/www/wiki/tests/phpunit/data/css/simple-rtl.gif
new file mode 100644
index 00000000..f9e75316
--- /dev/null
+++ b/www/wiki/tests/phpunit/data/css/simple-rtl.gif
Binary files differ
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); }