Skip to content

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

Merged
erwinmombay merged 7 commits intoampproject:mainfrom
erwinmombay:link-stylesheet
Nov 10, 2021
Merged

✨Allow link[rel=stylesheet] which points to the amp-story-1.0.css in a transformed amp document#36844
erwinmombay merged 7 commits intoampproject:mainfrom
erwinmombay:link-stylesheet

Conversation

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

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
Copy Markdown
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.

erwinmombay and others added 2 commits November 8, 2021 14:31
@erwinmombay
Copy link
Copy Markdown
Member Author

erwinmombay commented Nov 9, 2021

added link[rel=stylesheet] detection in #36865

@erwinmombay
Copy link
Copy Markdown
Member Author

@jridgewell merged #36865 PTAL

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