From 638f7b141202c4bb700540d9e9df670449256476 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 20 Jan 2011 19:13:18 +0000 Subject: Add a few more selection tests. svn path=/trunk/libcss/; revision=11426 --- test/data/select/tests1.dat | 788 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 632 insertions(+), 156 deletions(-) diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat index d136a0e..e25ac82 100644 --- a/test/data/select/tests1.dat +++ b/test/data/select/tests1.dat @@ -72,162 +72,6 @@ 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;} -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 @@ -1123,3 +967,635 @@ width: auto word-spacing: normal z-index: auto #reset + +#tree +| div +| table +| id=sonic +| class=hedgehog +| tr* +| th +| td +| tr +| th +| 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: 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: table-row +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 +| th* +| td +| tr +| th +| 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: 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: table-cell +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 +| th +| td* +| tr +| th +| 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: 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: table-cell +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 +| th +| td* +| tr +| th +| td +#ua +div {display:block;} +table {display:table; border-spacing:2px;} +tr {display:table-row;} +td,th {display:table-cell;} +#user +#author +.hedgehog tr > td {border-color:transparent;} +#sonic tr > td {border-top-color:#fff;border-right-color:#8040ff;border-bottom-color:black;border-left-color:rgb(255,0,255);} +td,th {border-top-style: none;border-right-style: hidden;border-bottom-style: dotted;border-left-style: dashed} +tr > td {border-top-width: thin;border-right-width: medium;border-bottom-width: thick;border-left-width: 2px;} +#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: #ffffffff +border-right-color: #ff8040ff +border-bottom-color: #ff000000 +border-left-color: #ffff00ff +border-top-style: none +border-right-style: hidden +border-bottom-style: dotted +border-left-style: dashed +border-top-width: thin +border-right-width: medium +border-bottom-width: thick +border-left-width: 2px +bottom: auto +clear: none +clip: auto +content: normal +counter-increment: none +counter-reset: none +cursor: auto +display: table-cell +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 +| th +| td* +| tr +| th +| td +#ua +div {display:block;} +table {display:table; border-spacing:2px;} +tr {display:table-row;} +td,th {display:table-cell;} +#user +#author +.hedgehog tr > td {border-color:transparent;} +td,th {border-top-style: solid;border-right-style: double;border-bottom-style: groove;border-left-style: ridge} +tr > td {border-top-width: 0;border-right-width: 2em;border-bottom-width: thick;border-left-width: -2px;} +#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: transparent +border-right-color: transparent +border-bottom-color: transparent +border-left-color: transparent +border-top-style: solid +border-right-style: double +border-bottom-style: groove +border-left-style: ridge +border-top-width: 0px +border-right-width: 2em +border-bottom-width: thick +border-left-width: medium +bottom: auto +clear: none +clip: auto +content: normal +counter-increment: none +counter-reset: none +cursor: auto +display: table-cell +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 +| th +| td* +| tr +| th +| td +#ua +div {display:block;} +table {display:table; border-spacing:2px;} +tr {display:table-row;} +td,th {display:table-cell;} +#user +#author +.hedgehog > tr > td {border-style:inset outset;} +#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: inset +border-right-style: outset +border-bottom-style: inset +border-left-style: outset +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-cell +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;} +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 -- cgit v1.2.3