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

Update class/ID/tagname docs #6302

Merged
merged 2 commits into from Nov 23, 2016
Merged

Update class/ID/tagname docs #6302

merged 2 commits into from Nov 23, 2016

Conversation

dvoytenko
Copy link
Contributor

No description provided.


Internal AMP class names prefixed with `-amp-` and `i-amp-` are disallowed in AMP HTML.

Consult AMP documentation for meaning of class names prefixed `amp-`. The use of these classes is allowed and meant to allow customization of some features of AMP runtime and extensions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefixed with amp-

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


Consult AMP documentation for specific extensions before using `amp-` and `AMP` IDs to avoid conflict with the features provided by these extensions, such as `amp-access`.

All other authored class names are allowed in AMP HTML markup.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/class names/IDs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ericlindley-g
Copy link
Contributor

LGTM—thanks!

@dvoytenko dvoytenko merged commit 96ddb93 into ampproject:master Nov 23, 2016
@dvoytenko dvoytenko deleted the docs4 branch November 23, 2016 01:35
Lith pushed a commit to Lith/amphtml that referenced this pull request Dec 22, 2016
* Update class/ID/tagname docs

* review fixes
Lith pushed a commit to Lith/amphtml that referenced this pull request Dec 22, 2016
* Update class/ID/tagname docs

* review fixes
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

Successfully merging this pull request may close these issues.

None yet

4 participants