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

[0.8-preview] Shadey styles have incorrect order of precedence #1277

Closed
cdata opened this issue Mar 9, 2015 · 1 comment
Closed

[0.8-preview] Shadey styles have incorrect order of precedence #1277

cdata opened this issue Mar 9, 2015 · 1 comment
Labels

Comments

@cdata
Copy link
Contributor

cdata commented Mar 9, 2015

Styles targeting :host should have lower precedence than styles targeting the same element in <head>. However, when switching to shadey mode, generated stylesheets are appended (as opposed to inserted before existing stylesheets), and this throws the precedence off.

@sorvell sorvell added the 0.8 label Mar 10, 2015
sorvell added a commit that referenced this issue Mar 10, 2015
@sorvell sorvell closed this as completed Mar 10, 2015
@sorvell sorvell reopened this Mar 10, 2015
@sorvell
Copy link
Contributor

sorvell commented Mar 10, 2015

Instead of always putting shimmed styles at the top, we should put them in order of element registration. This should help address #1279

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

No branches or pull requests

2 participants