# File lib/html5/html5parser/phase.rb, line 119
    def startTagHtml(name, attributes)
      if @parser.first_start_tag == false and name == 'html'
         parse_error("non-html-root")
      end
      # XXX Need a check here to see if the first start tag token emitted is
      # this token... If it's not, invoke parse_error.
      attributes.each do |attr, value|
        unless @tree.open_elements.first.attributes.has_key?(attr)
          @tree.open_elements.first.attributes[attr] = value
        end
      end
      @parser.first_start_tag = false
    end