From c0ffd7aac2ef7c079dd117bcf5cd9f491a668153 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 30 Jun 2009 09:04:47 +0000 Subject: Enable selector tests. Update tests. svn path=/trunk/libcss/; revision=8180 --- test/INDEX | 2 +- test/data/select/tests1.dat | 251 ++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 233 insertions(+), 20 deletions(-) diff --git a/test/INDEX b/test/INDEX index 7c458a0..6bf6228 100644 --- a/test/INDEX +++ b/test/INDEX @@ -11,7 +11,7 @@ number Conversion of numbers to fixed point number #css21 Parsing (CSS2.1 specifics) css parse-auto Automated parser tests (bytecode) parse parse2-auto Automated parser tests (om & invalid) parse2 -#select-auto Automated selection engine tests select +select-auto Automated selection engine tests select # Regression tests diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat index b9be9a2..27b5453 100644 --- a/test/data/select/tests1.dat +++ b/test/data/select/tests1.dat @@ -17,6 +17,7 @@ background-color: transparent background-image: none background-position: 0% 0% background-repeat: repeat +border-spacing: 0px 0px border-top-color: #00000000 border-right-color: #00000000 border-bottom-color: #00000000 @@ -30,11 +31,45 @@ border-right-width: medium border-bottom-width: medium border-left-width: medium bottom: auto -caption-side: top clear: none clip: auto -color: #ff000000 +color: default +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: medium +overflow: visible +padding-top: 0px +padding-right: 0px +padding-bottom: 0px +padding-left: 0px +position: static +quotes: default +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 @@ -58,10 +93,11 @@ background-color: transparent background-image: none background-position: 0% 0% background-repeat: repeat -border-top-color: #bbbbcc00 -border-right-color: #bbbbcc00 -border-bottom-color: #bbbbcc00 -border-left-color: #bbbbcc00 +border-spacing: 0px 0px +border-top-color: #ffffff00 +border-right-color: #ffffff00 +border-bottom-color: #ffffff00 +border-left-color: #ffffff00 border-top-style: none border-right-style: none border-bottom-style: none @@ -71,11 +107,45 @@ border-right-width: medium border-bottom-width: medium border-left-width: medium bottom: auto -caption-side: top clear: none clip: auto -color: #bbbbcc00 +color: #ffffff00 +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: medium +overflow: visible +padding-top: 0px +padding-right: 0px +padding-bottom: 0px +padding-left: 0px +position: static +quotes: default +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 @@ -99,10 +169,11 @@ background-color: transparent background-image: none background-position: 0% 0% background-repeat: repeat -border-top-color: #bbbbcc00 -border-right-color: #bbbbcc00 -border-bottom-color: #bbbbcc00 -border-left-color: #bbbbcc00 +border-spacing: 0px 0px +border-top-color: #ffffff00 +border-right-color: #ffffff00 +border-bottom-color: #ffffff00 +border-left-color: #ffffff00 border-top-style: solid border-right-style: none border-bottom-style: none @@ -112,11 +183,45 @@ border-right-width: medium border-bottom-width: medium border-left-width: medium bottom: auto -caption-side: top clear: none clip: auto -color: #bbbbcc00 -display: block +color: #ffffff00 +content: normal +counter-increment: none +counter-reset: none +cursor: auto +display: inline +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: medium +overflow: visible +padding-top: 0px +padding-right: 0px +padding-bottom: 0px +padding-left: 0px +position: static +quotes: default +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 screen @@ -132,6 +237,7 @@ background-color: transparent background-image: none background-position: 0% 0% background-repeat: repeat +border-spacing: 0px 0px border-top-color: #00000000 border-right-color: #00000000 border-bottom-color: #00000000 @@ -145,10 +251,45 @@ border-right-width: medium border-bottom-width: medium border-left-width: medium bottom: auto -caption-side: top clear: none clip: auto +color: default +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: medium +overflow: visible +padding-top: 0px +padding-right: 0px +padding-bottom: 0px +padding-left: 0px +position: static +quotes: default +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 all @@ -163,6 +304,7 @@ background-color: #00000000 background-image: none background-position: 0% 0% background-repeat: repeat +border-spacing: 0px 0px border-top-color: #00000000 border-right-color: #00000000 border-bottom-color: #00000000 @@ -176,10 +318,45 @@ border-right-width: medium border-bottom-width: medium border-left-width: medium bottom: auto -caption-side: top clear: none clip: auto +color: default +content: normal +counter-increment: none +counter-reset: none +cursor: auto display: inline +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: medium +overflow: visible +padding-top: 0px +padding-right: 0px +padding-bottom: 0px +padding-left: 0px +position: static +quotes: default +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 @@ -190,10 +367,11 @@ p:first-child { background-color: #bbc; } #errors #expected background-attachment: scroll -background-color: #bbbbcc00 +background-color: transparent background-image: none background-position: 0% 0% background-repeat: repeat +border-spacing: 0px 0px border-top-color: #00000000 border-right-color: #00000000 border-bottom-color: #00000000 @@ -207,8 +385,43 @@ border-right-width: medium border-bottom-width: medium border-left-width: medium bottom: auto -caption-side: top clear: none clip: auto +color: default +content: normal +counter-increment: none +counter-reset: none +cursor: auto display: inline +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: medium +overflow: visible +padding-top: 0px +padding-right: 0px +padding-bottom: 0px +padding-left: 0px +position: static +quotes: default +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