This issue is a placeholder to track what pieces of HTML5 functionality Mechanize should eventually support.
Mechanize uses Nokogiri::HTML (which is an alias for Nokogiri::HTML4) as the HTML parser. Mechanize needs to provide an option for invoking the Nokogiri::HTML5 parser on platforms where it's available.
This issue is a placeholder to track what pieces of HTML5 functionality Mechanize should eventually support.
591 points out that
Mechanize::Form#fields
are set based on searching theform
element's DOM subtree. HTML5 allows for form fields to exist outside theform
subtree when they have theform
attribute (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-form).