# File lib/html5/html5parser/in_body_phase.rb, line 107 def startTagBody(name, attributes) parse_error("unexpected-start-tag", {"name" => "body"}) if @tree.open_elements.length == 1 || @tree.open_elements[1].name != 'body' assert @parser.inner_html else attributes.each do |attr, value| unless @tree.open_elements[1].attributes.has_key?(attr) @tree.open_elements[1].attributes[attr] = value end end end end