premailer / css_parser

Ruby CSS Parser
Other
279 stars 110 forks source link

calculate_specificity does not allow for <style> elements to override #49

Open paloaltowil opened 10 years ago

paloaltowil commented 10 years ago

The a value is hard-coded to 0 and I do not see a mechanism to override that.

Ideally when I call Parser::add_block!, I could pass in an option that indicates that the block has an a value of 1.