Re: [elm-discuss] Re: mounting and switching css stylesheets

2016-07-27 Thread Peter Damoc
I haven't bothered to check in Firefox and now I feel a little silly.

Thank you kind stranger!


On Wed, Jul 27, 2016 at 5:57 PM, OvermindDL1  wrote:

> Yeah Chrome will reset CSS to the system default when style is changed.
> I've not tried but maybe try to add the new one after the old, then remove
> the old only after it is added (and you wait like 50ms after too to let the
> page re-process the new styles)?
>
>
> On Wednesday, July 27, 2016 at 8:48:32 AM UTC-6, Peter Damoc wrote:
>>
>> Context:
>> - a single page app with multiple virtual pages.
>> - each page contributes a list of styles that is added to a list of
>> common styles and is compiled into a stylesheet that is mounted in a  
>> Html.node
>> "style".
>>
>>
>> Main problem:
>> - I'm seeing flickering when the style node changes.
>>
>> Secondary problem:
>> - Chrome is telling move the style information into the header for
>> performance reasons.
>>
>> I've seen this PowerCSS  presentation
>> and I'm wondering if this double-buffering strategy is applicable in my
>> situation
>>
>> What would you advise?
>>
>>
>> --
>> There is NO FATE, we are the creators.
>> blog: http://damoc.ro/
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Elm Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to elm-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
There is NO FATE, we are the creators.
blog: http://damoc.ro/

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[elm-discuss] Re: mounting and switching css stylesheets

2016-07-27 Thread OvermindDL1
Yeah Chrome will reset CSS to the system default when style is changed. 
 I've not tried but maybe try to add the new one after the old, then remove 
the old only after it is added (and you wait like 50ms after too to let the 
page re-process the new styles)?

On Wednesday, July 27, 2016 at 8:48:32 AM UTC-6, Peter Damoc wrote:
>
> Context: 
> - a single page app with multiple virtual pages.  
> - each page contributes a list of styles that is added to a list of common 
> styles and is compiled into a stylesheet that is mounted in a  Html.node 
> "style".  
>
>
> Main problem:
> - I'm seeing flickering when the style node changes. 
>
> Secondary problem: 
> - Chrome is telling move the style information into the header for 
> performance reasons. 
>
> I've seen this PowerCSS  presentation 
> and I'm wondering if this double-buffering strategy is applicable in my 
> situation 
>
> What would you advise? 
>
>
> -- 
> There is NO FATE, we are the creators.
> blog: http://damoc.ro/
>

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.