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

✨Allow link[rel=stylesheet] which points to the amp-story-1.0.css in a transformed amp document #36844

Merged
merged 7 commits into from
Nov 10, 2021

Conversation

erwinmombay
Copy link
Member

@erwinmombay erwinmombay commented Nov 8, 2021

To better improve the performance of amp-story documents we would like to allow linking to the amp-story-1.0.css in a transformed document to specifically improve LCP.

This feature will be implemented in the amp-toolbox optimizer

@amp-owners-bot amp-owners-bot bot requested a review from amaltas November 8, 2021 15:25
@amp-owners-bot
Copy link

amp-owners-bot bot commented Nov 8, 2021

Hey @ampproject/wg-caching! These files were changed:

validator/testdata/transformed_feature_tests/amp-story-css-link.html
validator/testdata/transformed_feature_tests/amp-story-css-link.out
validator/validator-main.protoascii

@erwinmombay erwinmombay changed the title Allow link[rel=stylesheet] which points to the amp-story-1.0.css in a transformed amp document ✨Allow link[rel=stylesheet] which points to the amp-story-1.0.css in a transformed amp document Nov 8, 2021
… transformed amp document

To better improve the performance of amp-story documents we would like
to allow linking to the amp-story-1.0.css to specifically improve LCP.
Copy link
Contributor

@jridgewell jridgewell left a comment

Choose a reason for hiding this comment

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

We need to add <link rel=stylesheet> support to the runtime before merging.

validator/validator-main.protoascii Outdated Show resolved Hide resolved
erwinmombay and others added 2 commits November 8, 2021 14:31
@erwinmombay
Copy link
Member Author

erwinmombay commented Nov 9, 2021

added link[rel=stylesheet] detection in #36865

@erwinmombay
Copy link
Member Author

@jridgewell merged #36865 PTAL

@erwinmombay erwinmombay merged commit 78fed1a into ampproject:main Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants