summaryrefslogtreecommitdiffstats
path: root/test/css/chained1.css
diff options
context:
space:
mode:
Diffstat (limited to 'test/css/chained1.css')
-rw-r--r--test/css/chained1.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/css/chained1.css b/test/css/chained1.css
new file mode 100644
index 0000000..3b4dcae
--- /dev/null
+++ b/test/css/chained1.css
@@ -0,0 +1,15 @@
+/* descendant selector */
+div p {
+ background-color: yellow;
+}
+
+/* direct child */
+div > p {
+ background-color: blue;
+}
+
+/* next sibling */
+div + p {
+ background-color: red;
+}
+