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
Add common case variant of x-ua-compatible in validator #5163
Conversation
/to @cramforce, @Gregable |
For some context, html5-boilerplate has the lowercase version of |
This should definitely go in!! |
Instead of duplicating the tagspec, you could do value_regex_casei: "^X-UA-Compatible$". |
Chatted with @powdercloud, the regex will solve this problem but cause others. It's a little hard to explain in the comment thread, but it has to do with how we choose which tagspec to use for generating error messages. Changing this to a regexp will cause worse error messages in the case of actual errors. Let's commit this change for now, and we may be able to improve the matching of tagspecs to error messages later. |
* master: (59 commits) remove toggleExperiment (ampproject#5192) Validator Updates (ampproject#5274) Update amp-form docs to document custom validations. (ampproject#5270) cron job from @erwinmombay to update size.txt (ampproject#5272) Attempt to move execution of gulp tasks into script. (ampproject#5157) Require a button instead of a link for better accessibility by default. (ampproject#5255) Fix URL Replacements bug (ampproject#5201) Remove the no longer used gladeExp param. (ampproject#5119) Add common case variant of x-ua-compatible in validator (ampproject#5163) Corrected code block rendering (ampproject#5237) Bump `amp-slidescroll` 100% on prod. (ampproject#5253) version bump / relnotes for amphtml-validator NPM release (ampproject#5252) Assert that a node is in DOM before ampdoc can be queried (ampproject#5242) Prefix transform in viewer.html to fix example on older iOS devices. (ampproject#5251) Support amp-ad for LOKA Research.inc (ampproject#4832) <amp-video> Switching from `canplay` to `loadstart` event (ampproject#5228) Viewport migrated to ampdoc scope (ampproject#5182) AMP and Yandex.Metrica (ampproject#4565) Exposing amp-lite in getMode and not autoplaying videos in lite mode (ampproject#5180) Check the --format and --html_format command line arguments. (ampproject#5215) ...
No description provided.