mechanize
mechanize copied to clipboard
HTML5 support
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.
- #591 points out that
Mechanize::Form#fieldsare set based on searching theformelement's DOM subtree. HTML5 allows for form fields to exist outside theformsubtree when they have theformattribute (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-form).