Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Servo fork of libcss from the NetSurf project
C C++ Other
branch: master

This branch is 6 commits behind servo:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
build
docs
examples
include/libcss
src
test
.gitignore
COPYING
Makefile.config
Makefile.in
README
configure
libcss.pc.in

README

LibCSS -- a CSS parser and selection engine
===========================================

Overview
--------

  LibCSS is a CSS parser and selection engine. It aims to parse the forward
  compatible CSS grammar.

Requirements
------------

  LibCSS requires the following tools:

    + A C99 capable C compiler
    + GNU make or compatible
    + Pkg-config
    + Perl (for the testcases)

  LibCSS also requires the following libraries to be installed:

    +  LibParserUtils
    +  LibWapcaplet

Compilation
-----------

  If necessary, modify the toolchain settings in the Makefile.
  Invoke make:
  		$ make

Verification
------------

  To verify that the parser is working, it is necessary to specify a 
  different makefile target than that used for normal compilation, thus:
  
  		$ make test

API documentation
-----------------

  Currently, there is none. However, the code is well commented and the 
  public API may be found in the "include" directory. The testcase sources 
  may also be of use in working out how to use it.

Something went wrong with that request. Please try again.