# File lib/feed_tools/vendor/html5/lib/html5/html5parser/root_element_phase.rb, line 34 def insert_html_element element = @tree.createElement('html', {}) @tree.open_elements << element @tree.document.appendChild(element) @parser.phase = @parser.phases[:beforeHead] end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/root_element_phase.rb, line 18 def processCharacters(data) insert_html_element @parser.phase.processCharacters(data) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/root_element_phase.rb, line 11 def processComment(data) @tree.insert_comment(data, @tree.document) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/root_element_phase.rb, line 29 def processEndTag(name) insert_html_element @parser.phase.processEndTag(name) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/root_element_phase.rb, line 15 def processSpaceCharacters(data) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/root_element_phase.rb, line 23 def processStartTag(name, attributes) @parser.first_start_tag = true if name == 'html' insert_html_element @parser.phase.processStartTag(name, attributes) end
Generated with the Darkfish Rdoc Generator 2.