Sha256: 950f2a0ec5856c96fe618a9a64d5ddc3d211f960553709572ad9ead44cc65e83

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

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

    def size
      attribute_value(:size)
    end
  end # Font

  module Container
    def font(opts = {})
      Font.new(self, opts.merge(tag_name: 'font'))
    end

    def fonts(opts = {})
      FontCollection.new(self, opts.merge(tag_name: 'font'))
    end
  end # Container
end # Watir

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-7.0.0.beta1 lib/watir/elements/font.rb