Sha256: 60cc2dc13cfe93562366324af0ca4eedfc08b3457fd0dcca3c7d09f90dc63e57

Contents?: true

Size: 747 Bytes

Versions: 1

Compression:

Stored size: 747 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 unknown)
      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

1 entries across 1 versions & 1 rubygems

Version Path
watir-6.10.1 lib/watir/generator/svg/generator.rb