-
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
Apply dynamic css classes on <body> #2761
Comments
It's |
Thanks. No doc change needed. |
We need to discuss: all other classes are applied on |
What are the options? We could:
|
The only option we can consider at this time (as opposed to keep it as is) is to move classes to |
@dvoytenko: Dynamic CSS Classes hasn't been officially released yet (it's still behind an experiment in the latest release). Should we change this before pushing out the next prod? |
For some reason I was thinking it was stable. Yes, we should definitely make that change. |
It's stable now, but we haven't pushed a new release. 😉 |
Also adds the required script tag documentation. There are no validation errors. Fixes ampproject#2761. Fixes ampproject#2747.
https://www.ampproject.org/docs/reference/extended/amp-dynamic-css-classes.html says they are added to the "HTML element", implying
<html>
. There was some discussion that it's actually<body>
, so this needs to be confirmed one way or the other.cc @ericlindley-g
The text was updated successfully, but these errors were encountered: