implement css4 matching and fix a bug
add some more css4 style tests