Phase
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 66 def endTagIgnore(name) parse_error("unexpected-end-tag-in-table-body", {"name" => name}) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 71 def endTagOther(name) @parser.phases[:inTable].processEndTag(name) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 55 def endTagTable(name) if in_scope?('tbody', true) or in_scope?('thead', true) or in_scope?('tfoot', true) clearStackToTableBodyContext endTagTableRowGroup(@tree.open_elements.last.name) @parser.phase.processEndTag(name) else # inner_html case parse_error end end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 44 def endTagTableRowGroup(name) if in_scope?(name, true) clearStackToTableBodyContext @tree.open_elements.pop @parser.phase = @parser.phases[:inTable] else parse_error("unexpected-end-tag-in-table-body", {"name" => name}) end end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 12 def processCharacters(data) @parser.phases[:inTable].processCharacters(data) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 40 def startTagOther(name, attributes) @parser.phases[:inTable].processStartTag(name, attributes) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 22 def startTagTableCell(name, attributes) parse_error("unexpected-cell-in-table-body", {"name" => name}) startTagTr('tr', {}) @parser.phase.processStartTag(name, attributes) end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 28 def startTagTableOther(name, attributes) # XXX AT Any ideas on how to share this with endTagTable? if in_scope?('tbody', true) or in_scope?('thead', true) or in_scope?('tfoot', true) clearStackToTableBodyContext endTagTableRowGroup(@tree.open_elements.last.name) @parser.phase.processStartTag(name, attributes) else # inner_html case parse_error end end
# File lib/feed_tools/vendor/html5/lib/html5/html5parser/in_table_body_phase.rb, line 77 def clearStackToTableBodyContext until ]tbody tfoot thead html].include?(name = @tree.open_elements.last.name) parse_error("unexpected-implied-end-tag-in-table", {"name" => @tree.open_elements.last.name}) @tree.open_elements.pop end end
Generated with the Darkfish Rdoc Generator 2.