Skip to content

Loading…

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

Closed
blasten opened this Issue · 1 comment

3 participants

@blasten
Owner

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

@sorvell sorvell was assigned by blasten
@blasten blasten changed the title from ::before / ::after psudo selectors in a custom-style to [1] ::before / ::after psudo selectors in a custom-style
@blasten blasten changed the title from [1] ::before / ::after psudo selectors in a custom-style to [1.0] ::before / ::after psudo selectors in a custom-style
@sorvell sorvell added the p2 label
@pkaske pkaske referenced this issue from a commit in pkaske/polymer
@pkaske pkaske Quick and dirty fix for polymer issue #1668 9aee524
@pkaske pkaske referenced this issue from a commit in pkaske/polymer
@pkaske pkaske Quick and dirty fix for polymer issue #1668 2932860
@pkaske pkaske referenced this issue from a commit in pkaske/polymer
@pkaske pkaske Quick and dirty fix for polymer issue #1668 8f26767
@pkaske

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 sorvell referenced this issue from a commit
@sorvell sorvell Fixes #1668
Fixes #1807
Fixes #1809
c339c4d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.