# File lib/html5/html5parser/in_frameset_phase.rb, line 34 def endTagFrameset(name) if @tree.open_elements.last.name == 'html' # inner_html case parse_error("unexpected-frameset-in-frameset-innerhtml") else @tree.open_elements.pop end if (not @parser.inner_html and @tree.open_elements.last.name != 'frameset') # If we're not in inner_html mode and the the current node is not a # "frameset" element (anymore) then switch. @parser.phase = @parser.phases[:afterFrameset] end end