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

[1.0] ::before / ::after psudo selectors in a custom-style #1668

Closed
blasten opened this issue May 29, 2015 · 1 comment
Closed

[1.0] ::before / ::after psudo selectors in a custom-style #1668

blasten opened this issue May 29, 2015 · 1 comment
Assignees
Labels

Comments

@blasten
Copy link
Contributor

blasten commented May 29, 2015

I came across with this issue while using ::before

<style is="custom-style">
   span::before {
     content: "->";
     color: red;
   }
</style>

The shim will create the selector span::before:not([style-scope]):not(.style-scope), but the browser is expecting span:not([style-scope]):not(.style-scope)::before

@blasten blasten changed the title ::before / ::after psudo selectors in a custom-style [1] ::before / ::after psudo selectors in a custom-style May 29, 2015
@blasten blasten changed the title [1] ::before / ::after psudo selectors in a custom-style [1.0] ::before / ::after psudo selectors in a custom-style May 29, 2015
@sorvell sorvell added the p2 label Jun 1, 2015
@trading-peter
Copy link
Contributor

I wrote a quick and dirty work-a-round-hack to fix this till it's implemented properly.
See 8f26767
Will see if it holds... This is really annoying if you work with some icon font like font awesome.

sorvell pushed a commit that referenced this issue Jun 12, 2015
Fixes #1807
Fixes #1809
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

3 participants