csslint-0.6 - command line CSS tool
csslint-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...]
csslint-0.6(1) User Commands csslint-0.6(1)
NAME
csslint-0.6 - command line CSS tool
SYNOPSIS
csslint-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...]
DESCRIPTION
csslint-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.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+-----------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+-----------------------+
|Availability | library/libcroco |
+---------------+-----------------------+
|Stability | Pass-through volatile |
+---------------+-----------------------+
SEE ALSO
libcroco-0.6(3lib), attributes(7),
NOTES
Original manpage written by Gael CHAMOULAUD (strider) <freespi-
ders.org>. Updated by Brian Cameron, Sun Microsystems, Inc., 2009.
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://down-
load.gnome.org/sources/libcroco/0.6/libcroco-0.6.13.tar.xz.
Further information about this software can be found on the open source
community website at https://wiki.gnome.org/Projects/Libcroco.
Solaris 11.4 7 Apr 2017 csslint-0.6(1)