fn apply_node_test<D: Dom>( context: &EvaluationCtx<D>, test: &NodeTest, node: &D::Node, ) -> Result<bool, Error<D::JsError>>