The new find bar shifting down content

Gavin Sharp gavin at gavinsharp.com
Sat Aug 24 16:16:15 UTC 2013


On Sat, Aug 24, 2013 at 8:37 AM, Ehsan Akhgari <ehsan.akhgari at gmail.com>wrote:

> On Sat, Aug 24, 2013 at 10:59 AM, Gavin Sharp <gavin at gavinsharp.com>wrote:
>
>> As I understand it, "Don't shift content" is easy, but "don't obscure
>> found content", which I am assuming we would also need as part of that
>> solution, is more complicated in that setup. We would likely need some
>> Gecko support for obtaining the viewport-relative position of text
>> selections.
>>
>> Roc/Markus, do you have any thoughts on the complexity of that, or
>> alternate solutions?
>>
>
> Isn't that information already available through Range.getClientRects()?
>

Perhaps! Has anyone tried to implement a Chrome-like solution, or is anyone
willing to?

Gavin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/firefox-dev/attachments/20130824/90912560/attachment.html>


More information about the firefox-dev mailing list