On Wed, Oct 28, 2015 at 2:51 AM, Max <[email protected]> wrote:
> I'm not sure if you're referring to me or someone else, but anyway...
>
> No, I've not managed to even get to the point of replacing /deep/ and
> ::shadow styles. yet. There have been so many fixes/improvements to polyup
> that I restarted my upgrade process, and decided to start simply by adding
> lint/inline lint and fixing the problems it brought up (and the problems
> the fixes brought up). I'm wishing we had done a more thorough test suite.
>
> My intention is to find the places where /deep/ is used and apply those
> style on webcomponentsready (or in the component's ready/created? callback)
> using document.querySelectorAll('html /deep/...') with an appropriate
> selector javascript. This will probably requires some attention to FOUC
> issues, so I'll probably just use visibility to hide the parent elements
> and make them visible again when the style is applied.
> ...but, yeah, probably some issues there that I have to look forward to.
>
>
Instead I might suggest putting those deep rules into a shared stylesheet
and then having components that care about them include that sheet
internally. It's okay to include the same sheet in a bunch of places.
- E
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/CAPJYB1jofd_gKm%3Dh5QBS1eP9zxL%2BF8Tc5ckex_q-aUkei-Br%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.