summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-01-19 14:02:34 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-01-19 14:02:34 +0000
commit63c21aca7c77b1d37cb64ad2b1fa76d6b0b92f48 (patch)
tree8d20b5f91c1b09dcd4f64f9dc0710deb57177cb1
parent643e9c543110e4ee8ec61b0e0c93c107ce8b5d77 (diff)
downloadlibcss-63c21aca7c77b1d37cb64ad2b1fa76d6b0b92f48.tar.gz
libcss-63c21aca7c77b1d37cb64ad2b1fa76d6b0b92f48.tar.bz2
Add a few more selection tests.
svn path=/trunk/libcss/; revision=11387
-rw-r--r--test/data/select/tests1.dat508
1 files changed, 508 insertions, 0 deletions
diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat
index 533796a..d136a0e 100644
--- a/test/data/select/tests1.dat
+++ b/test/data/select/tests1.dat
@@ -74,6 +74,162 @@ z-index: auto
#tree
| div
+| table*
+| id=sonic
+| class=hedgehog
+| tr
+| td
+| td
+| tr
+| td
+| td
+#ua
+div {display:block;}
+table {display:table; border-spacing:2px;}
+tr {display:table-row;}
+td,th {display:table-cell;}
+#user
+#author
+#errors
+#expected
+background-attachment: scroll
+background-color: transparent
+background-image: none
+background-position: 0% 0%
+background-repeat: repeat
+border-spacing: 2px 2px
+border-top-color: initial
+border-right-color: initial
+border-bottom-color: initial
+border-left-color: initial
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: medium
+border-right-width: medium
+border-bottom-width: medium
+border-left-width: medium
+bottom: auto
+clear: none
+clip: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+display: table
+float: none
+height: auto
+left: auto
+letter-spacing: normal
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+right: auto
+table-layout: auto
+text-decoration: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+width: auto
+word-spacing: normal
+z-index: auto
+#reset
+
+#tree
+| div
+| table*
+| id=sonic
+| class=hedgehog
+| tr
+| td
+| td
+| tr
+| td
+| td
+#ua
+div {display:block;}
+table {display:table; border-spacing:2px 0;}
+tr {display:table-row;}
+td,th {display:table-cell;}
+#user
+#author
+#errors
+#expected
+background-attachment: scroll
+background-color: transparent
+background-image: none
+background-position: 0% 0%
+background-repeat: repeat
+border-spacing: 2px 0px
+border-top-color: initial
+border-right-color: initial
+border-bottom-color: initial
+border-left-color: initial
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: medium
+border-right-width: medium
+border-bottom-width: medium
+border-left-width: medium
+bottom: auto
+clear: none
+clip: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+display: table
+float: none
+height: auto
+left: auto
+letter-spacing: normal
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+right: auto
+table-layout: auto
+text-decoration: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+width: auto
+word-spacing: normal
+z-index: auto
+#reset
+
+#tree
+| div
| id=foo
| p*
| class=green
@@ -615,3 +771,355 @@ word-spacing: normal
z-index: auto
#reset
+#tree
+| div
+| p
+| p*
+#ua
+div, p { display: block; }
+#user
+#author
+div p + p { background-attachment: fixed; }
+#errors
+#expected
+background-attachment: fixed
+background-color: transparent
+background-image: none
+background-position: 0% 0%
+background-repeat: repeat
+border-spacing: 0px 0px
+border-top-color: initial
+border-right-color: initial
+border-bottom-color: initial
+border-left-color: initial
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: medium
+border-right-width: medium
+border-bottom-width: medium
+border-left-width: medium
+bottom: auto
+clear: none
+clip: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+display: block
+float: none
+height: auto
+left: auto
+letter-spacing: normal
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+right: auto
+table-layout: auto
+text-decoration: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+width: auto
+word-spacing: normal
+z-index: auto
+#reset
+
+#tree
+| div
+| p*
+| p
+#ua
+div, p { display: block; }
+#user
+#author
+div p + p { background-attachment: fixed; }
+#errors
+#expected
+background-attachment: scroll
+background-color: transparent
+background-image: none
+background-position: 0% 0%
+background-repeat: repeat
+border-spacing: 0px 0px
+border-top-color: initial
+border-right-color: initial
+border-bottom-color: initial
+border-left-color: initial
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: medium
+border-right-width: medium
+border-bottom-width: medium
+border-left-width: medium
+bottom: auto
+clear: none
+clip: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+display: block
+float: none
+height: auto
+left: auto
+letter-spacing: normal
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+right: auto
+table-layout: auto
+text-decoration: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+width: auto
+word-spacing: normal
+z-index: auto
+#reset
+
+#tree
+| div
+| p*
+| p
+#ua
+div, p { display: block; }
+#user
+#author
+div p { background-attachment: scroll; }
+div p + p { background-attachment: fixed; }
+#errors
+#expected
+background-attachment: scroll
+background-color: transparent
+background-image: none
+background-position: 0% 0%
+background-repeat: repeat
+border-spacing: 0px 0px
+border-top-color: initial
+border-right-color: initial
+border-bottom-color: initial
+border-left-color: initial
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: medium
+border-right-width: medium
+border-bottom-width: medium
+border-left-width: medium
+bottom: auto
+clear: none
+clip: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+display: block
+float: none
+height: auto
+left: auto
+letter-spacing: normal
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+right: auto
+table-layout: auto
+text-decoration: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+width: auto
+word-spacing: normal
+z-index: auto
+#reset
+
+#tree
+| div
+| p
+| p*
+#ua
+div, p { display: block; }
+p { background-position: 2px; background-repeat: no-repeat; }
+#user
+p { background-image: none; background-position: 40% 40%; background-repeat: repeat-x; }
+#author
+p { background-image: url("Sonic.png"); background-position: left top; background-repeat: repeat-y; }
+div p + p { background-image: url("Sonic2.png"); background-position: center; }
+div p + p { background-image: url("Sonic_the_Hedgehog.png"); background-position: bottom right; }
+#errors
+#expected
+background-attachment: scroll
+background-color: transparent
+background-image: url('Sonic_the_Hedgehog.png')
+background-position: 100% 100%
+background-repeat: repeat-y
+border-spacing: 0px 0px
+border-top-color: initial
+border-right-color: initial
+border-bottom-color: initial
+border-left-color: initial
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: medium
+border-right-width: medium
+border-bottom-width: medium
+border-left-width: medium
+bottom: auto
+clear: none
+clip: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+display: block
+float: none
+height: auto
+left: auto
+letter-spacing: normal
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+right: auto
+table-layout: auto
+text-decoration: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+width: auto
+word-spacing: normal
+z-index: auto
+#reset
+
+#tree
+| div
+| p
+| p*
+#ua
+div, p { display: block; }
+#user
+p { background-image: none; background-repeat: true;}
+#author
+p { background-image: url("Sonic.png"); background-position: center 20%;}
+div p + p { background-image: url("Sonic2.png"); }
+div p + p { background-image: url("Sonic_the_Hedgehog.png"); background-repeat: repeat}
+#errors
+#expected
+background-attachment: scroll
+background-color: transparent
+background-image: url('Sonic_the_Hedgehog.png')
+background-position: 50% 20%
+background-repeat: repeat
+border-spacing: 0px 0px
+border-top-color: initial
+border-right-color: initial
+border-bottom-color: initial
+border-left-color: initial
+border-top-style: none
+border-right-style: none
+border-bottom-style: none
+border-left-style: none
+border-top-width: medium
+border-right-width: medium
+border-bottom-width: medium
+border-left-width: medium
+bottom: auto
+clear: none
+clip: auto
+content: normal
+counter-increment: none
+counter-reset: none
+cursor: auto
+display: block
+float: none
+height: auto
+left: auto
+letter-spacing: normal
+margin-top: 0px
+margin-right: 0px
+margin-bottom: 0px
+margin-left: 0px
+max-height: none
+max-width: none
+min-height: 0px
+min-width: 0px
+outline-color: invert
+outline-style: none
+outline-width: 2px
+overflow: visible
+padding-top: 0px
+padding-right: 0px
+padding-bottom: 0px
+padding-left: 0px
+position: static
+right: auto
+table-layout: auto
+text-decoration: none
+top: auto
+unicode-bidi: normal
+vertical-align: baseline
+width: auto
+word-spacing: normal
+z-index: auto
+#reset