RFC: Navigation transitions

2015-04-21 Thread Christopher Lord
Hi people, I've spent the last week or so articulating some thoughts on navigation transitions. This is something I've thought about before (as I'm sure a lot of us have), but seeing Google's proposal encouraged me to get it written down. I'm not a huge fan of all aspects of their proposal, so I'v

Re: RFC: Navigation transitions

2015-04-21 Thread Anne van Kesteren
On Tue, Apr 21, 2015 at 10:02 AM, Christopher Lord wrote: > http://chrislord.net/?p=273&preview=1&_ppp=0afe20d87f I haven't reviewed it completely, but it seems at the very least you should use media queries rather than require separate stylesheets. -- https://annevankesteren.nl/ _

Re: RFC: Navigation transitions

2015-04-21 Thread Christopher Lord
That sounds like a nice idea, though I wonder how you'd specify the duration of the application of the stylesheet via a media query? On Tue, Apr 21, 2015 at 8:50 PM, Anne van Kesteren wrote: > On Tue, Apr 21, 2015 at 10:02 AM, Christopher Lord > wrote: > > http://chrislord.net/?p=273&preview=1&

Re: RFC: Navigation transitions

2015-04-22 Thread Anne van Kesteren
On Tue, Apr 21, 2015 at 5:50 PM, Christopher Lord wrote: > That sounds like a nice idea, though I wonder how you'd specify the duration > of the application of the stylesheet via a media query? I would put it in the stylesheet somehow I think. Putting yet more style in markup as this proposal doe

Re: RFC: Navigation transitions

2015-04-22 Thread Ting-Yu Chou
On Wed, Apr 22, 2015 at 1:02 AM, Christopher Lord wrote: > down. I'm not a huge fan of all aspects of their proposal, so I've made my > own: http://chrislord.net/?p=273&preview=1&_ppp=0afe20d87f > Seems the link is outdated? ___ dev-platform mailing li

Re: RFC: Navigation transitions

2015-04-23 Thread Christopher Lord
Seems it has, sorry about that - here's a new one: http://chrislord.net/?p=273&preview=1&_ppp=d17048fbc3 I plan on publishing this (on my blog) today. The proposal and shim source is also visible permanently in git: https://gitlab.com/Cwiiis/gaia-navigator On Thu, Apr 23, 2015 at 5:23 AM, Ting-Yu

Re: RFC: Navigation transitions

2015-04-27 Thread Jonas Sicking
This is awesome!! I completely agree that the Google proposal is much too complicated for an initial take on solving transitions. I agree with Anne that this should be doable by adding CSS rules to a normal stylesheet rather than using a special linking mechanism. If that sounds good to you, then

Re: RFC: Navigation transitions

2015-04-28 Thread Christopher Lord
On Tue, Apr 28, 2015 at 4:26 AM, Jonas Sicking wrote: > This is awesome!! I completely agree that the Google proposal is much > too complicated for an initial take on solving transitions. > > I agree with Anne that this should be doable by adding CSS rules to a > normal stylesheet rather than usi

Re: RFC: Navigation transitions

2015-04-28 Thread Jonas Sicking
On Tue, Apr 28, 2015 at 6:49 AM, Christopher Lord wrote: > > > On Tue, Apr 28, 2015 at 4:26 AM, Jonas Sicking wrote: >> >> This is awesome!! I completely agree that the Google proposal is much >> too complicated for an initial take on solving transitions. >> >> I agree with Anne that this should

Re: RFC: Navigation transitions

2015-04-28 Thread Martin Thomson
On Tue, Apr 21, 2015 at 10:02 AM, Christopher Lord wrote: > I'd appreciate any feedback (even if it's "You're an idiot and this is not > how we go about this") before taking this any further. Doesn't this increase the effective page transition latency by adding the animation duration to the page

Re: RFC: Navigation transitions

2015-04-28 Thread Samuel Foster
It would be good to know how this plays with the visibility api? When does the outgoing document become "hidden" - at the end of the animation? And likewise for the incoming document. If visibility state is being used for say stopping some media being played, it makes sense to flip the state before

Re: RFC: Navigation transitions

2015-04-30 Thread Borja Salguero
> CC: Ting-Yu Chou mailto:tc...@mozilla.com>>, "dev-g...@lists.mozilla.org<mailto:dev-g...@lists.mozilla.org>" mailto:dev-g...@lists.mozilla.org>>, "dev-platform@lists.mozilla.org<mailto:dev-platform@lists.mozilla.org>" mailto:dev-platform@lists.mozilla.or