lib/watir/elements/svg_elements.rb in watir-6.13.0 vs lib/watir/elements/svg_elements.rb in watir-6.14.0
- old
+ new
@@ -1,13 +1,11 @@
# Autogenerated from SVG specification. Edits may be lost.
module Watir
class SVGElement < HTMLElement
attribute(String, :classname, :className)
- attribute(String, :dataset, :dataset)
attribute(String, :ownersvgelement, :ownerSVGElement)
attribute(String, :viewportelement, :viewportElement)
- attribute(Integer, :tabindex, :tabIndex)
attribute(String, :correspondingelement, :correspondingElement)
attribute(String, :correspondinguseelement, :correspondingUseElement)
end
class SVGElementCollection < ElementCollection
end
@@ -18,28 +16,10 @@
attribute(Integer, :zoomandpan, :zoomAndPan)
end
class ViewCollection < ElementCollection
end
- class Cursor < SVGElement
- attribute(Integer, :x, :x)
- attribute(Integer, :y, :y)
- attribute(String, :href, :href)
- end
- class CursorCollection < ElementCollection
- end
-
- class Hatchpath < SVGElement
- end
- class HatchpathCollection < ElementCollection
- end
-
- class Hatch < SVGElement
- end
- class HatchCollection < ElementCollection
- end
-
class Pattern < SVGElement
attribute(String, :patternunits, :patternUnits)
attribute(String, :patterncontentunits, :patternContentUnits)
attribute(String, :patterntransform, :patternTransform)
attribute(Integer, :x, :x)
@@ -57,34 +37,19 @@
attribute(String, :offset, :offset)
end
class StopCollection < ElementCollection
end
- class Meshpatch < SVGElement
- end
- class MeshpatchCollection < ElementCollection
- end
-
- class Meshrow < SVGElement
- end
- class MeshrowCollection < ElementCollection
- end
-
class Gradient < SVGElement
attribute(String, :gradientunits, :gradientUnits)
attribute(String, :gradienttransform, :gradientTransform)
attribute(String, :spreadmethod, :spreadMethod)
attribute(String, :href, :href)
end
class GradientCollection < ElementCollection
end
- class MeshGradient < Gradient
- end
- class MeshGradientCollection < ElementCollection
- end
-
class RadialGradient < Gradient
attribute(Integer, :cx, :cx)
attribute(Integer, :cy, :cy)
attribute(Integer, :r, :r)
attribute(Integer, :fx, :fx)
@@ -101,15 +66,10 @@
attribute(Integer, :y2, :y2)
end
class LinearGradientCollection < ElementCollection
end
- class Solidcolor < SVGElement
- end
- class SolidcolorCollection < ElementCollection
- end
-
class Marker < SVGElement
attribute(Integer, :refx, :refX)
attribute(Integer, :refy, :refY)
attribute(String, :markerunits, :markerUnits)
attribute(Integer, :markerwidth, :markerWidth)
@@ -247,16 +207,10 @@
attribute(String, :animatedpoints, :animatedPoints)
end
class PolylineCollection < ElementCollection
end
- class Mesh < Geometry
- attribute(String, :href, :href)
- end
- class MeshCollection < ElementCollection
- end
-
class Line < Geometry
attribute(Integer, :x1, :x1)
attribute(Integer, :y1, :y1)
attribute(Integer, :x2, :x2)
attribute(Integer, :y2, :y2)
@@ -308,20 +262,10 @@
def circles(*args)
CircleCollection.new(self, extract_selector(args).merge(tag_name: "circle"))
end
Watir.tag_to_class[:circle] = Circle
- # @return [Cursor]
- def cursor(*args)
- Cursor.new(self, extract_selector(args).merge(tag_name: "cursor"))
- end
- # @return [CursorCollection]
- def cursors(*args)
- CursorCollection.new(self, extract_selector(args).merge(tag_name: "cursor"))
- end
- Watir.tag_to_class[:cursor] = Cursor
-
# @return [Defs]
def defs(*args)
Defs.new(self, extract_selector(args).merge(tag_name: "defs"))
end
# @return [DefsCollection]
@@ -368,20 +312,10 @@
def gs(*args)
GCollection.new(self, extract_selector(args).merge(tag_name: "g"))
end
Watir.tag_to_class[:g] = G
- # @return [Hatchpath]
- def hatchpath(*args)
- Hatchpath.new(self, extract_selector(args).merge(tag_name: "hatchpath"))
- end
- # @return [HatchpathCollection]
- def hatchpaths(*args)
- HatchpathCollection.new(self, extract_selector(args).merge(tag_name: "hatchpath"))
- end
- Watir.tag_to_class[:hatchpath] = Hatchpath
-
# @return [Line]
def line(*args)
Line.new(self, extract_selector(args).merge(tag_name: "line"))
end
# @return [LineCollection]
@@ -408,50 +342,10 @@
def markers(*args)
MarkerCollection.new(self, extract_selector(args).merge(tag_name: "marker"))
end
Watir.tag_to_class[:marker] = Marker
- # @return [Mesh]
- def mesh(*args)
- Mesh.new(self, extract_selector(args).merge(tag_name: "mesh"))
- end
- # @return [MeshCollection]
- def meshes(*args)
- MeshCollection.new(self, extract_selector(args).merge(tag_name: "mesh"))
- end
- Watir.tag_to_class[:mesh] = Mesh
-
- # @return [MeshGradient]
- def meshgradient(*args)
- MeshGradient.new(self, extract_selector(args).merge(tag_name: "meshgradient"))
- end
- # @return [MeshGradientCollection]
- def meshgradients(*args)
- MeshGradientCollection.new(self, extract_selector(args).merge(tag_name: "meshgradient"))
- end
- Watir.tag_to_class[:meshgradient] = MeshGradient
-
- # @return [Meshpatch]
- def meshpatch(*args)
- Meshpatch.new(self, extract_selector(args).merge(tag_name: "meshpatch"))
- end
- # @return [MeshpatchCollection]
- def meshpatches(*args)
- MeshpatchCollection.new(self, extract_selector(args).merge(tag_name: "meshpatch"))
- end
- Watir.tag_to_class[:meshpatch] = Meshpatch
-
- # @return [Meshrow]
- def meshrow(*args)
- Meshrow.new(self, extract_selector(args).merge(tag_name: "meshrow"))
- end
- # @return [MeshrowCollection]
- def meshrows(*args)
- MeshrowCollection.new(self, extract_selector(args).merge(tag_name: "meshrow"))
- end
- Watir.tag_to_class[:meshrow] = Meshrow
-
# @return [Metadata]
def metadata(*args)
Metadata.new(self, extract_selector(args).merge(tag_name: "metadata"))
end
# @return [MetadataCollection]
@@ -517,19 +411,9 @@
# @return [RectCollection]
def rects(*args)
RectCollection.new(self, extract_selector(args).merge(tag_name: "rect"))
end
Watir.tag_to_class[:rect] = Rect
-
- # @return [Solidcolor]
- def solidcolor(*args)
- Solidcolor.new(self, extract_selector(args).merge(tag_name: "solidcolor"))
- end
- # @return [SolidcolorCollection]
- def solidcolors(*args)
- SolidcolorCollection.new(self, extract_selector(args).merge(tag_name: "solidcolor"))
- end
- Watir.tag_to_class[:solidcolor] = Solidcolor
# @return [Stop]
def stop(*args)
Stop.new(self, extract_selector(args).merge(tag_name: "stop"))
end