Sha256: 1d35ec5a5bd48b5fbced388155669ccd6f8fc977fff20129275fe4c651884497

Contents?: true

Size: 421 Bytes

Versions: 13

Compression:

Stored size: 421 Bytes

Contents

module Watir
  class Font < HTMLElement
    #
    # size of font
    #
    # @return [Integer]
    #

    def size
      attribute_value(:size)
    end
  end # Font

  module Container
    def font(*args)
      Font.new(self, extract_selector(args).merge(tag_name: 'font'))
    end

    def fonts(*args)
      FontCollection.new(self, extract_selector(args).merge(tag_name: 'font'))
    end
  end # Container
end # Watir

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
watir-6.19.1 lib/watir/elements/font.rb
watir-6.19.0 lib/watir/elements/font.rb
watir-6.18.0 lib/watir/elements/font.rb
watir-6.17.0 lib/watir/elements/font.rb
watir-6.16.5 lib/watir/elements/font.rb
watir-6.16.4 lib/watir/elements/font.rb
watir-6.16.3 lib/watir/elements/font.rb
watir-6.16.2 lib/watir/elements/font.rb
watir-6.16.1 lib/watir/elements/font.rb
watir-6.16.0 lib/watir/elements/font.rb
watir-6.15.1 lib/watir/elements/font.rb
watir-6.15.0 lib/watir/elements/font.rb
watir-6.14.0 lib/watir/elements/font.rb