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

Fix bugs in child tag validation #64

Closed
sidkshatriya opened this issue May 19, 2016 · 1 comment
Closed

Fix bugs in child tag validation #64

sidkshatriya opened this issue May 19, 2016 · 1 comment
Assignees
Labels

Comments

@sidkshatriya
Copy link
Contributor

  • Child tag validation code is being called from wrong location
  • number of child tags is not being compared properly with number of mandatory child tags

This came to light when run test on:
https://github.com/ampproject/amphtml/blob/27ee29ffc3d809fcc8143044d22df9d176ad8169/extensions/amp-accordion/0.1/test/validator-amp-accordion.html

And comparing output against:
https://github.com/ampproject/amphtml/blob/27ee29ffc3d809fcc8143044d22df9d176ad8169/extensions/amp-accordion/0.1/test/validator-amp-accordion.out

Fix this bug and add this test to the full-html tests directory

@sidkshatriya
Copy link
Contributor Author

This is fixed. Test has also been added (see pull request). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant