From 63c21aca7c77b1d37cb64ad2b1fa76d6b0b92f48 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 19 Jan 2011 14:02:34 +0000 Subject: Add a few more selection tests. svn path=/trunk/libcss/; revision=11387 --- test/data/select/tests1.dat | 508 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 508 insertions(+) (limited to 'test') 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 @@ -72,6 +72,162 @@ 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 @@ -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 -- cgit v1.2.3