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

template/element polyfill styling need !important #191

Closed
ebidel opened this issue Jun 25, 2013 · 1 comment
Closed

template/element polyfill styling need !important #191

ebidel opened this issue Jun 25, 2013 · 1 comment
Labels

Comments

@ebidel
Copy link
Contributor

ebidel commented Jun 25, 2013

platform.js injects this into the head of the page:

template, element {
  display: none;
}

However, selectors later on can override the display property, rendering these elements:

div > * {
  display: inline-block;
}

The injection should use:

template, element {
  display: none !important;
}
@ebidel
Copy link
Contributor Author

ebidel commented Jun 25, 2013

Fixed in googlearchive/platform@abd3c8c

@ebidel ebidel closed this as completed Jun 25, 2013
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

1 participant