Prev Next

Pseudo-classes and Pseudo-elements

Reference for pseudo-classes and pseudo-elements supported in QueryPath

by Matt Butcher
Project Founder

Table of Contents

About the QueryPath CSS Reference

The CSS 3 Selector specification defines pseudo-classes and pseudo-elements. QueryPath implements as many of these as is possible.

For details on CSS 3 selectors, the canonical resource is the specification, currently in final draft form at http://www.w3.org/TR/2009/WD-css3-selectors-20090310/.

Supported Pseudo-classes and Pseudo-elements

There are three categories of supported pseudo-classes: Those from the CSS 3 Selector specification, those that are QueryPath-specific, and those that were defined in jQuery, and thus supported here for compatibility.

Supported standard pseudo-classes


Supported QueryPath-specific pseudo-classes


Supported non-standard jQuery pseudo-classes


Supported pseudo-elements

pseudo-elements use the double-colon (::) notation. No other notation is supported in QueryPath. (Other CSS 3 implementations may support single-colon syntax of CSS 2.1. QueryPath does not.)


Unsupported Pseudo-classes and Pseudo-elements

Several pseudo-classes and pseudo-elements require a visual user agent (UA) before they can be used. QueryPath does not provide a visual representation of XML or HTML data, and thus cannot implement these pseudo-classes and pseudo-elements.

Prev Up Next
QueryPath CSS Reference QueryPath CSS Reference CSS Examples

Documentation generated on Sun, 25 Jul 2010 16:09:01 -0500 by phpDocumentor 1.4.3