csslint-0.6(1) User Commands csslint-0.6(1)NAMEcsslint-0.6 - command line CSS tool
SYNOPSIScsslint-0.6 [--help] [--version]
csslint-0.6 [--dump-location] [file...]
csslint-0.6 [--evaluate] [--author-sheet path] [--ua-sheet path]
[--user-sheet path] [--xml path] [--xpath expression] [file...]
DESCRIPTIONcsslint-0.6 parses one or more CSS (Cascading Style Sheet) files, spec‐
ified on the command line. It displays various types of output depend‐
ing on the options specified. It is useful for detecting errors in the
CSS code and in the CSS parser itself.
Except when the --dump-location option is used, csslint-0.6 parses a
CSS file and builds a CSS object model.
OPTIONS
The following options are supported:
--author-sheet path Specify the path to an author sheet. This
option is only useful with the --evaluate
option.
--dump-location Dumps parsing location information for selec‐
tors and property declarations.
-e, --evaluate Display the CSS properties associated to the
XML nodes referred to by an xpath expression.
The xpath expression must be specified using
the --xpath option and at least one type of
stylesheet by using the --author-sheet, --ua-
sheet, and --user-sheet options. An XML file
can be specified with the --xml option.
--help Display usage information.
--ua-sheet path Specify the path to an ua sheet. This option
is only useful with the --evaluate option.
--user-sheet path Specify the path to an user sheet. This option
is only useful with the --evaluate option.
-v, --version Display version information.
--xml path Specify the path to an XML file. This option
is only useful with the --evaluate option.
--xpath expression Specify the xpath expression to a. This option
is only useful with the --evaluate option.
OPERANDS
The following operands are supported:
file The name of one or more CSS files to be parsed.
FILES
The following files are used by this application:
/usr/bin/csslint-0.6 Executable for CSS Lint.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │library/libcroco │
├─────────────────────────────┼─────────────────────────────┤
│Interface stability │Volatile │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOcroco-0.6-config(1), libcroco-0.6(3), attributes(5),
NOTES
Original manpage written by Gael CHAMOULAUD (strider) freespiders.org>.
Updated by Brian Cameron, Sun Microsystems, Inc., 2009.
SunOS 5.11 13 Mar 2009 csslint-0.6(1)