diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-inputs/test5.1.css | 1 | ||||
-rw-r--r-- | tests/test-output-refs/test5.1.css.out | 11 | ||||
-rw-r--r-- | tests/test5-main.c | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/test-inputs/test5.1.css b/tests/test-inputs/test5.1.css index 8847471..26c3627 100644 --- a/tests/test-inputs/test5.1.css +++ b/tests/test-inputs/test5.1.css @@ -4,6 +4,7 @@ [attr3~=val3_2] {prop6: val6} [attr2=val2] {prop5: val5} :first-child {first-child-prop: first-child-value} +:lang(fr) {lang-prop: lang-value} E2[attr2=val2] {prop8: val8} E0 {prop0: val0} E0+E1{pro1:val1} diff --git a/tests/test-output-refs/test5.1.css.out b/tests/test-output-refs/test5.1.css.out index b29f30e..75b17d0 100644 --- a/tests/test-output-refs/test5.1.css.out +++ b/tests/test-output-refs/test5.1.css.out @@ -120,3 +120,14 @@ xml start element: E6 xml end element: E6 ''''''''''''''''''''''''' +''''''''''''''''''''''''' +xml start element: E7 + + + + :lang(fr) { + lang-prop : lang-value + } + +xml end element: E7 +''''''''''''''''''''''''' diff --git a/tests/test5-main.c b/tests/test5-main.c index 6305543..4214746 100644 --- a/tests/test5-main.c +++ b/tests/test5-main.c @@ -45,6 +45,7 @@ const guchar *xml_content= "<E4 attr4=\"val4_1-val4_2-val4_3\">text4</E4>" "<E5 class=\"class5\">text5</E5>" "<E6 id=\"id6\">text6</E6>" +"<E7 lang=\"fr\">text7</E7>" "</document>"; static void |