We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given this invalid AMP markup:
<amp-form> <form method="GET" id="a_string" class="a_string" action="https://example.com" target="_blank"> <input type=text value="test" name="hello"> </form> </amp-form>
The amp-form is invalid and gets removed, being replaced with its children:
amp-form
<form method="GET" id="a_string" class="a_string" action="https://example.com" target="_blank"> <input type="text" value="test" name="hello"> </form>
However, as part of this process the amp-form component script is not being detected as being required for the page.
Originally reported at https://wordpress.org/support/topic/custom-element-scripts-being-removed/
When amp-form > form is on the page, the amp-form component script should be added.
amp-form > form
Do not alter or remove anything below. The following sections will be managed by moderators only.
The text was updated successfully, but these errors were encountered:
QA:
amp-form-0.1.js
Sorry, something went wrong.
Build for testing: amp.zip (v1.5.2-RC1-20200403T193031Z-3102c5dea)
schlessera
westonruter
Successfully merging a pull request may close this issue.
Bug Description
Given this invalid AMP markup:
The
amp-form
is invalid and gets removed, being replaced with its children:However, as part of this process the
amp-form
component script is not being detected as being required for the page.Originally reported at https://wordpress.org/support/topic/custom-element-scripts-being-removed/
Expected Behaviour
When
amp-form > form
is on the page, theamp-form
component script should be added.Additional context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: