We plan to add support for native custom properties. Because of our use of
`@apply`, it's not quite as simple as just not doing the shimming when the
native feature is available.

On Wed, Jan 27, 2016 at 9:11 AM, Chris Joel <[email protected]> wrote:

> I can only speculate, but it is likely that when we do enable use of
> native custom properties, it will be in the form of an on/off switch
> (similar to toggling between Shadow and Shady DOM).
>
> On Tue, Jan 26, 2016, 6:58 PM Eric Bidelman <[email protected]> wrote:
>
>> +Steve Orvell <[email protected]>
>>
>> I believe the shimmer runs regardless of native implementation. That's
>> b/c other features like mixins and @apply are not implemented in any
>> browser.
>>
>> We've talked about a tool to pre-him styles. Not sure where that is the
>> priority pipeline....
>>
>> On Tue, Jan 26, 2016 at 1:57 PM Michael Giuffrida <[email protected]>
>> wrote:
>>
>>> Hey Polymer folks,
>>>
>>> The latest desktop Chrome supports CSS custom variables natively, as has
>>> Firefox for a while now. This should increase performance compared with
>>> shimming variables.
>>>
>>> Is the Polymer shim aware of native implementations, or does it still
>>> spend cycles shimming them? Does this behavior change depending on how
>>> styling is done (<custom-style>s, inside/outside dom-modules, etc.)?
>>>
>>> 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/CACi5S_3kTTVdNKK34zbndvky027odYz6j36mF1fEL1sjZasTsQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/polymer-dev/CACi5S_3kTTVdNKK34zbndvky027odYz6j36mF1fEL1sjZasTsQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> 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/CACGqRCD_-sQSqtZCyrqqqjjvMKWuKBrqvnLQHXb89JZOtSSgzw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/polymer-dev/CACGqRCD_-sQSqtZCyrqqqjjvMKWuKBrqvnLQHXb89JZOtSSgzw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

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/CA%2BrMWZhASRqeUCjuoTWE-BwUeF3ZY5ROmw5ZR8caKaKiCfpUdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to