class Watir::Generator::SVG

Private Instance Methods

extractor_class() click to toggle source
# File lib/watir/generator/svg/generator.rb, line 31
def extractor_class
  SVG::SpecExtractor
end
generator_implementation() click to toggle source
# File lib/watir/generator/svg/generator.rb, line 23
def generator_implementation
  'SVG'
end
ignored_attributes() click to toggle source
# File lib/watir/generator/svg/generator.rb, line 19
def ignored_attributes
  []
end
ignored_interfaces() click to toggle source
# File lib/watir/generator/svg/generator.rb, line 15
def ignored_interfaces
  ignored_tags.map { |tag| "SVG#{tag.capitalize}Element" }
end
ignored_tags() click to toggle source

fix collisions with HTML

TODO: change generator so instead these classes are inherited from HTML ones

# File lib/watir/generator/svg/generator.rb, line 11
def ignored_tags
  %w[a audio canvas iframe image script source style text title track video unknown]
end
visitor_class() click to toggle source
# File lib/watir/generator/svg/generator.rb, line 27
def visitor_class
  SVG::Visitor
end