# File lib/html5/filters/validator.rb, line 655
  def check_attribute_values(token)
    tag_name = token.fetch(:name, "")
    for attr_name, attr_value in token.fetch(:data, [])
      attr_name = attr_name.downcase
      method = "validate_attribute_value_#{tag_name.to_s.underscore}_#{attr_name.to_s.underscore}"
      if respond_to?(method)
        send(method, token, tag_name, attr_name, attr_value) do |t|
          yield t
        end
      else
        method = "validate_attribute_value_#{attr_name.to_s.underscore}"
        if respond_to?(method)
          send(method, token, tag_name, attr_name, attr_value) do |t|
            yield t
          end
        end
      end
    end
  end