Commit graph

9 commits

Author SHA1 Message Date
Simon Sapin
9b22acf2f3 Factor out parsing of various types of rules. 2013-08-10 13:22:30 +01:00
Simon Sapin
ff1f4e62ec Add a license (MPL2) and readme. 2013-08-09 16:49:07 +01:00
Simon Sapin
bde1fcc7e9 Parse :nth-child() using an+b parsing from rust-cssparser. 2013-08-09 16:21:28 +01:00
Simon Sapin
1195759e79 Makefile: rebuild when rust-cssparser changes. 2013-08-09 16:17:50 +01:00
Simon Sapin
cc302053ed Add selector specificity. 2013-08-09 11:54:29 +01:00
Simon Sapin
af2f90fe74 Stop the madness and use cssparser as an external lib / crate.
See mozilla-servo/rust-cssparser@bb35329bd6
and mozilla/rust#7899
2013-08-09 11:54:01 +01:00
Simon Sapin
3f6a557578 Mostly complete, untested selector parser. 2013-08-08 23:51:14 +01:00
Simon Sapin
9512d13cbb Parse @namespace rules. 2013-08-08 18:38:03 +01:00
Simon Sapin
10827f160b Initial pass at a stylesheet and selector parser 2013-08-08 17:13:48 +01:00