lib/watir/elements/font.rb

Summary

Maintainability
A
0 mins
Test Coverage
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