lib/watir/non_control_elements.rb in watir-2.0.4 vs lib/watir/non_control_elements.rb in watir-3.0.0.rc1

- old
+ new

@@ -63,11 +63,18 @@ Inses.new(self, how, what) end end end + class FieldSet < NonControlElement + Watir::Container.module_eval do + alias_method :fieldset, :field_set + alias_method :fieldsets, :field_sets + end + end + %w[Pre P Div Span Map Area Li Ul H1 H2 H3 H4 H5 H6 - Dl Dt Dd Strong Em Del Font Meta Ol].each do |elem| + Dl Dt Dd Strong Em Del Ol Body Meta Font Frameset].each do |elem| module_eval %Q{ class #{elem} < NonControlElement; end } end