(Sorry, managed to not send this one from my alias either.)

----- Forwarded Message -----
From: "Botond Ballo" <bba...@mozilla.com>
To: dev-...@lists.mozilla.org
Cc: "Benoit Girard" <bgir...@mozilla.com>, "Jonas Sicking" 
<sick...@mozilla.com>, "Kartikaya Gupta" <k...@mozilla.com>
Sent: Wednesday, September 18, 2013 3:51:31 PM
Subject: [b2g] RFC: new attribute 'mozscrollgrab' for B2G address bar   
scrolling

Hello,

I'm working on making the address bar in the browser app work more like Fennec 
(bug 860812).

As part of this work, we want the <div> enclosing the address bar and the 
content iframe to have special scrolling behaviour. Specifically, we want this 
<div> (which will be overflow:scroll once my patches land) to scroll before 
content in the iframe scrolls. Once the div has scrolled as far as possible, 
the remaining scroll will be handed off to the iframe. We can call this 
behaviour "scroll grabbing", in the sense that the <div> grabs the scroll 
before it gets to the iframe.

To ensure that only apps that explicitly want this behaviour get it, I am 
proposing that we introduce a new attribute called 'mozscrollgrab', which the 
browser app would set on the <div> in question. Only elements with this 
attribute would get the scroll grabbing behaviour.

I propose that this attribute be unofficial/undocumented for now, until we are 
confident that this is the right design for us, at which point we can make it 
official/documented if we want.

Thoughts?

Thanks,
Botond
_______________________________________________
dev-b2g mailing list
dev-...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to