From b740ed09f1f1a9319a6ffa1d99d0dc8849f75173 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 14 Feb 2009 09:35:32 +0000 Subject: 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 --- test/data/select/tests1.dat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/data/select') 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 -- cgit v1.2.3