Parent

Class/Module Index [+]

Quicksearch

HTML5::XmlElementPhase

Public Instance Methods

endTagOther(name) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb, line 142
def endTagOther(name)
  for node in @tree.open_elements.reverse
    if node.name == name
      {} while @tree.open_elements.pop != node
      break
    else
      parse_error
    end
  end
end
processCharacters(data) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb, line 153
def processCharacters(data)
  @tree.insertText(data)
end
startTagOther(name, attributes) click to toggle source
# File lib/feed_tools/vendor/html5/lib/html5/liberalxmlparser.rb, line 136
def startTagOther(name, attributes)
  element = @tree.createElement(name, attributes)
  @tree.open_elements[-1].appendChild(element)
  @tree.open_elements.push(element)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.