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

Don't inline our main CSS text to avoid it from showing up twice in the compiled output #10121

Merged
merged 1 commit into from Jun 24, 2017

Conversation

cramforce
Copy link
Member

Fixes #10118

@erwinmombay
Copy link
Member

@cramforce you have a screenshot of the offending code? would like to understand it a bit more

@cramforce
Copy link
Member Author

@erwinmombay Don't have a screenshot, but basically we have two things in core that need the base CSS

  • initial startup
  • friendly iframe creation

CC aggressively inlines and thus the code ends up there twice.

@cramforce cramforce merged commit ec44a26 into ampproject:master Jun 24, 2017
@cramforce cramforce deleted the we-include-css-twice-WAT branch June 24, 2017 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants