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

CSS Variable timing issue #95

Closed
2 of 6 tasks
katemenkhaus opened this issue Jan 9, 2017 · 1 comment
Closed
2 of 6 tasks

CSS Variable timing issue #95

katemenkhaus opened this issue Jan 9, 2017 · 1 comment

Comments

@katemenkhaus
Copy link
Contributor

Description

When theming iron-doc-viewer there seems to be a timing issue of when the css variables are being loaded. In order for the css variables to be styled in chrome the link import has to be before the custom styles.

Expected outcome

If the link import of iron-doc-viewer is after the custom styles the custom styles should still be applied.

Live Demo

https://menkhaus-ge.github.io/css-variable-test/index_styled.html
https://menkhaus-ge.github.io/css-variable-test/index_notStyled.html
https://github.com/Menkhaus-ge/css-variable-test

Browsers Affected

  • Canary
  • Chrome
  • Firefox
  • Safari 9
  • Edge
  • IE 11
@katemenkhaus
Copy link
Contributor Author

katemenkhaus commented Jan 19, 2017

seems to be the same issue here PolymerElements/paper-styles#93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant