Sha256: 0a1a90ad76ee3b269dafe98e2b5dbdc9266a08eeb6a1a340bed101f892262af6

Contents?: true

Size: 423 Bytes

Versions: 19

Compression:

Stored size: 423 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

19 entries across 19 versions & 1 rubygems

Version Path
watir-6.13.0 lib/watir/elements/font.rb
watir-6.12.0 lib/watir/elements/font.rb
watir-6.11.0 lib/watir/elements/font.rb
watir-6.11.0.beta2 lib/watir/elements/font.rb
watir-6.11.0.beta1 lib/watir/elements/font.rb
watir-6.10.3 lib/watir/elements/font.rb
watir-6.10.2 lib/watir/elements/font.rb
watir-6.10.0 lib/watir/elements/font.rb
watir-6.9.1 lib/watir/elements/font.rb
watir-6.9.0 lib/watir/elements/font.rb
watir-6.8.4 lib/watir/elements/font.rb
watir-6.8.3 lib/watir/elements/font.rb
watir-6.8.2 lib/watir/elements/font.rb
watir-6.8.1 lib/watir/elements/font.rb
watir-6.8.0 lib/watir/elements/font.rb
watir-6.7.3 lib/watir/elements/font.rb
watir-6.7.2 lib/watir/elements/font.rb
watir-6.7.1 lib/watir/elements/font.rb
watir-6.7.0 lib/watir/elements/font.rb