summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@src.gnome.org>2003-03-08 12:51:33 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-03-08 12:51:33 +0000
commitb388e8f6f77b64657982b6d07c70d0b375b90c63 (patch)
tree1b507d598f976075c75bde65107521a409e2af05 /tests
parentec1ce427071a694f992b48576ae226b3fcb71bff (diff)
downloadlibcroco-b388e8f6f77b64657982b6d07c70d0b375b90c63.tar.gz
added some non regression test for "EQUAL" attribute selectors
in the selection engine.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-inputs/test5.1.css3
-rw-r--r--tests/test5-main.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-inputs/test5.1.css b/tests/test-inputs/test5.1.css
index 9b7cef8..4d8bd3f 100644
--- a/tests/test-inputs/test5.1.css
+++ b/tests/test-inputs/test5.1.css
@@ -1,5 +1,6 @@
+[attr2=val2] {prop5: val5}
E0 {prop0: val0}
E0+E1{pro1:val1}
E1 E1-1 {prop2: val2}
E1 > E1-1 {prop3: val3}
-document E1-1 {prop4: val4} \ No newline at end of file
+document E1-1 {prop4: val4}
diff --git a/tests/test5-main.c b/tests/test5-main.c
index 55fc77b..70d3798 100644
--- a/tests/test5-main.c
+++ b/tests/test5-main.c
@@ -45,6 +45,7 @@ const guchar *xml_content=
"<E0>text0</E0>"
"<E1><E1-1>text1</E1-1></E1>"
"<E2 attr2=\"val2\">text2</E2>"
+"<E3 attr2=\"val3.1 val3.2 val3.3\">text2</E3>"
"</document>";
static void