kolibrios/contrib/network/netsurf/libcss/test/data/parse2
..
au.dat
bg.dat
bgpos.dat
border.dat
comments.dat
eof.dat
font.dat
illegal-values.dat
INDEX
list.dat
malformed-declarations.dat
margin.dat
multicol.dat
outline.dat
padding.dat
README
selectors.dat
tests1.dat
unknown-properties.dat

Parser testcases
================

Format
------

#data
<css source data>
#errors
<list of expected errors, with line/col offsets> (ignored at present)
#expected
<cssom tree, as below>
#reset

Format of cssom tree
--------------------

  line        ::= rule | declaration
  rule        ::= '| ' name
  name        ::= .+
  declaration ::= '|  ' property-name ': ' property-value

Example
-------

#data
* { color: #ff0000; background-image: url("foo.png"); }
#errors
#expected
| *
|  color: #ff000000
|  background-image: url("foo.png")
#reset

TODO
----

  + Permit nesting of rules (for nested block support)