# File lib/html5/html5parser/in_body_phase.rb, line 214 def startTagButton(name, attributes) if in_scope?('button') parse_error("unexpected-start-tag-implies-end-tag", {"startName" => "button", "endName" => "button"}) processEndTag('button') @parser.phase.processStartTag(name, attributes) else @tree.reconstructActiveFormattingElements @tree.insert_element(name, attributes) @tree.activeFormattingElements.push(Marker) end end