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

Only style elements with templates #4525

Merged
merged 2 commits into from
Apr 11, 2017
Merged

Conversation

dfreedm
Copy link
Member

@dfreedm dfreedm commented Apr 11, 2017

dom-repeat and/or dom-if booting before custom-style is registered
can break the complicated loading strategy of ShadyCSS.

By only calling ShadyCSS for elements with templates, we both fix this
issue and improve performance for template-less element booting

Fixes #4521

dom-repeat and/or dom-if booting before custom-style is registered
can break the complicated loading strategy of ShadyCSS.

By only calling ShadyCSS for elements with templates, we both fix this
issue and improve performance for template-less element booting

Fixes #4521
Copy link
Contributor

@sorvell sorvell left a comment

Choose a reason for hiding this comment

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

LGTM

@dfreedm dfreedm merged commit b1fd4d0 into master Apr 11, 2017
@dfreedm dfreedm deleted the only-style-elements-with-template branch April 11, 2017 22:03
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.

dom-repeat causes mixins in custom-style not to be rewritten.
3 participants