Skip to content

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

Merged
cramforce merged 1 commit intoampproject:masterfrom
cramforce:we-include-css-twice-WAT
Jun 24, 2017
Merged

Don't inline our main CSS text to avoid it from showing up twice in the compiled output#10121
cramforce merged 1 commit intoampproject:masterfrom
cramforce:we-include-css-twice-WAT

Conversation

@cramforce
Copy link
Copy Markdown
Member

Fixes #10118

@erwinmombay
Copy link
Copy Markdown
Member

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

@cramforce
Copy link
Copy Markdown
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.

3 participants