rflynn/css-tools — Issue #1: Can't use attribute selectors in css
Author: dcheck
Created: 2012-01-22 19:16:11+00:00
State: open

I'm getting an error when trying to parse the following:

`input[type="radio"] { vertical-align: text-bottom; }`

While not supported in every browser, css attribute selectors [are valid](http://css-tricks.com/attribute-selectors/)

Here's the trackback:

```
Traceback (most recent call last):
File "css-format.py", line 44, in
doc = cssparse.CSSDoc.parse(contents)
File "/Users/slategroup/tmp/css-tools/src/parse.py", line 210, in parse
lineno, line, repr(text[nextchar:nextchar+256])))
Exception: Line 55: input[type="radio"] { vertical-align: text-bottom; }
```