summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-02-14 09:35:32 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-02-14 09:35:32 +0000
commitb740ed09f1f1a9319a6ffa1d99d0dc8849f75173 (patch)
tree8c3dfa143f1df2405a4d3bd64320f7eedc9e0be9 /test/data
parente12825e094f3bb40336e92ea208050fe001f78ba (diff)
downloadlibcss-b740ed09f1f1a9319a6ffa1d99d0dc8849f75173.tar.gz
libcss-b740ed09f1f1a9319a6ffa1d99d0dc8849f75173.tar.bz2
Pseudo classes are now matched by callbacks to the client. This is far saner, as any node may match a pseudo class, not just the immediate target of the selection.
Munge test data to no longer expect :active to match -- there's currently no way to specify which node(s) in the tree have which pseudo classes applying to them. The pseudo classes on @page are no longer supported (namely, :left, :right, :first). These, and @page itself, probably want a dedicated API, as they are nothing to do with normal selection. Probably something like css_error css_select_page_margins(ctx, CSS_PAGE_LEFT, &computed); svn path=/trunk/libcss/; revision=6476
Diffstat (limited to 'test/data')
-rw-r--r--test/data/select/tests1.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat
index dc9f3c7..64f87b1 100644
--- a/test/data/select/tests1.dat
+++ b/test/data/select/tests1.dat
@@ -45,7 +45,7 @@ border-left-color: #00000000
display: block
#reset
-#tree all active
+#tree all
| div*
#author
div { background-color: #000; }
@@ -53,7 +53,7 @@ div:active { background-color: #bbc; }
#errors
#expected
background-attachment: scroll
-background-color: #bbbbcc00
+background-color: #00000000
background-image: none
background-position: 0% 0%
background-repeat: repeat