lib/watir/elements/font.rb in watir-6.6.3 vs lib/watir/elements/font.rb in watir-6.7.0
- old
+ new
@@ -1,5 +1,19 @@
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