| 13 | namespace css { |
| 14 | |
| 15 | void Query::addFromStyle(const Style* style) |
| 16 | { |
| 17 | for (Style::const_iterator it = style->begin(), end = style->end(); |
| 18 | it != end; ++it) { |
| 19 | addRuleValue(it->first, style); |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | void Query::addRuleValue(const std::string& ruleName, const Style* style) |
| 24 | { |