Closed steida closed 7 years ago
When placeholderPrefixer()
is commented, it works.
I only tested this in development (where it doesn't use insertRule
) Looks like CSSStyleSheet does not allow ::-moz-placeholder
. We need to use textContent
here I guess. See: https://github.com/rtsao/styletron/issues/69#issuecomment-271966177
Correction, it doesn't work even without placeholderPrefixer()
Working on fix. All we need it dynamically testing which selector is supported.
Hmm, we need to render everything on the server, and do try catch detection only on client.
How you test dev Fela with real project? npm link? Can you use my diff to fix? It's pretty simple.
@rofrischmann Can you open it please? This should really be fixed only for Chrome.
Hmm, the fix I suggested breaks things.
@steida exactly.
Fela 4.2.1 with fela-plugin-placeholder-prefixer 4.2.1 works just fine for me. Your workaround este/este@f1d2559#diff-708d62a603a169ef52169d279ec05623 is no longer needed.
@abelaska I know, it's removed in branch already. Fela fix was released after talk with Robin.
@steida ok
Not sure why, but compiled Este has this error: