Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML5 support #592

Open
flavorjones opened this issue Feb 19, 2022 · 0 comments
Open

HTML5 support #592

flavorjones opened this issue Feb 19, 2022 · 0 comments

Comments

@flavorjones
Copy link
Member

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant