-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Validator roll-up #1682
Validator roll-up #1682
Conversation
Both -latest.js and -<version>.js will validate.
This implements #1616 The new "heights" attribute is part of the layout=responsive ecosystem. It's developed in #1331 The rules are very similar to sizes attribute: 1. If layout is not specified and heights attribute is specified - implied layout is responsive 2. heights attribute can only be specified for elements with layout=responsive - input or implied 3. The format of the heights attribute is the same as sizes with a single exception that % are allowed as values (not sure we actually validate content of sizes attribute). Notes: 2.) done, but we don't do this currently for sizes - should we? 3.) n/a we don't validate sizes either.
meaningless tag of the form: <link src="...">
No longer require data-show-if-href and data-dismiss-href. Since they're data- attribs, they're still allowed.
Also clean up some protoascii comments while in here.
We found a Contributor License Agreement for you (the sender of this pull request) and all commit authors, but as best as we can tell these commits were authored by someone else. If that's the case, please add them to this pull request and have them confirm that they're okay with these commits being contributed to Google. If we're mistaken and you did author these commits, just reply here to confirm. |
@googlebot I confirm. |
1 similar comment
@googlebot I confirm. |
Support -latest.js scripts
Support 'heights' attribute.
Tighten rules around
<link>
attributes to improve some error messages.Css parser refactoring.
Actually require
<link rel=canonical ...>
and<html amp>
Allow hreflang attributes on link tags (#1664)