lib/galakei/docomo_css/stylesheet.rb in galakei-0.13.5 vs lib/galakei/docomo_css/stylesheet.rb in galakei-0.13.6

- old
+ new

@@ -10,9 +10,11 @@ pseudo_styles = [] @parsed_stylesheet.each_rule_set do |ruleset| ruleset.each_selector do |selector, declarations_string, specificity| if selector =~ /a:(link|focus|visited)/ pseudo_styles << "#{selector} { #{declarations_string} }" + elsif selector =~ /:/ + Rails.logger.warn("pseudostyle not supported: #{selector}") else embed_style(doc, ruleset, selector) end end end