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

Prevent tree-shaking tag/ID selectors for amp-lightbox-gallery #3226

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

westonruter
Copy link
Member

@westonruter westonruter commented Sep 11, 2019

Addresses issue #4595.

This PR prevents that tree-shaking from happening, but it's not clear yet whether this element should be styled in the first place, since the docs page does not provide any Styling guidance as do other components' docs pages.

Nevertheless, it is likely that there could be other components that behave similarly, and so the tree shaker should still be extended to guard against removal of style rules for dynamically-added elements and IDs.

Build for testing: amp.zip - v1.3-alpha-20190911T183957Z-2ca646fa

@googlebot googlebot added the cla: yes Signed the Google CLA label Sep 11, 2019
@westonruter westonruter force-pushed the fix/amp-lightbox-gallery-tree-shaking branch from afd5014 to 2ca646f Compare September 11, 2019 18:41
@westonruter westonruter linked an issue Apr 16, 2020 that may be closed by this pull request
@schlessera schlessera added the WS:Core Work stream for Plugin core label Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Signed the Google CLA WS:Core Work stream for Plugin core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants