Sha256: 119e64321365f250f356694e5391fae1eb79ac7f9073a86e7a30be968d9c7b9d

Contents?: true

Size: 738 Bytes

Versions: 4

Compression:

Stored size: 738 Bytes

Contents

# frozen_string_literal: true

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

4 entries across 4 versions & 1 rubygems

Version Path
watir-7.3.0 lib/watir/generator/svg/generator.rb
watir-7.2.2 lib/watir/generator/svg/generator.rb
watir-7.2.1 lib/watir/generator/svg/generator.rb
watir-7.2.0 lib/watir/generator/svg/generator.rb