Parent

Class/Module Index [+]

Quicksearch

HTML5::XmlRootPhase

Public Instance Methods

endTagOther(name) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb, line 124
def endTagOther(name)
  super
  @tree.open_elements.pop
end
startTagOther(name, attributes) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb, line 117
def startTagOther(name, attributes)
  @tree.open_elements.push(@tree.document)
  element = @tree.createElement(name, attributes)
  @tree.open_elements[-1].appendChild(element)
  @tree.open_elements.push(element)
  @parser.phase = XmlElementPhase.new(@parser,@tree)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.