Skip to content

HTML5 support #592

@flavorjones

Description

@flavorjones

This issue is a placeholder to track what pieces of HTML5 functionality Mechanize should eventually support.

  1. 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.
  2. Is there a way to fill in fields that aren't inside a form tag and click on elements that aren't links? #591 points out that Mechanize::Form#fields are set based on searching the form element's DOM subtree. HTML5 allows for form fields to exist outside the form subtree when they have the form attribute (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-form).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions