Sha256: 2d5f2d3e01c6b1f235878b6d0da859ec2bc9e151fa9490138a096c941bb15098

Contents?: true

Size: 701 Bytes

Versions: 30

Compression:

Stored size: 701 Bytes

Contents

module Watir
  module Generator
    class SVG < Base

      private

      # fix collisions with HTML
      #
      # TODO: change generator so instead these classes
      # are inherited from HTML ones

      def ignored_tags
        %w(a audio canvas iframe image script source style text title track video)
      end

      def ignored_interfaces
        ignored_tags.map { |tag| "SVG#{tag.capitalize}Element" }
      end

      def ignored_attributes
        []
      end

      def generator_implementation
        'SVG'
      end

      def visitor_class
        SVG::Visitor
      end

      def extractor_class
        SVG::SpecExtractor
      end

    end # SVG
  end # Generator
end # Watir

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
watir-6.6.3 lib/watir/generator/svg/generator.rb
watir-6.6.2 lib/watir/generator/svg/generator.rb
watir-6.6.1 lib/watir/generator/svg/generator.rb
watir-6.6.0 lib/watir/generator/svg/generator.rb
watir-6.5.0 lib/watir/generator/svg/generator.rb
watir-6.4.3 lib/watir/generator/svg/generator.rb
watir-6.4.2 lib/watir/generator/svg/generator.rb
watir-6.4.1 lib/watir/generator/svg/generator.rb
watir-6.4.0 lib/watir/generator/svg/generator.rb
watir-6.4.0.rc2 lib/watir/generator/svg/generator.rb
watir-6.4.0.rc1 lib/watir/generator/svg/generator.rb
watir-6.3.0 lib/watir/generator/svg/generator.rb
watir-6.2.1 lib/watir/generator/svg/generator.rb
watir-6.2.0 lib/watir/generator/svg/generator.rb
watir-6.1.0 lib/watir/generator/svg/generator.rb
watir-6.0.3 lib/watir/generator/svg/generator.rb
watir-6.0.2 lib/watir/generator/svg/generator.rb
watir-6.0.1 lib/watir/generator/svg/generator.rb
watir-webdriver-0.9.9 lib/watir-webdriver/generator/svg/generator.rb
watir-6.0.0 lib/watir/generator/svg/generator.rb