- From: Scott Johnson <sjohnson@mozilla.com>
- Date: Wed, 26 Jun 2013 09:12:31 -0500
- To: Simon Pieters <simonp@opera.com>
- CC: "www-style@w3.org" <www-style@w3.org>
Ah, well, yes, that's true. ;) ~Scott Thus Spoke Simon Pieters: > On Tue, 25 Jun 2013 20:11:12 +0200, Scott Johnson > <sjohnson@mozilla.com> wrote: > >> Yes, I have a use case. >> >> mozilla mobile currently uses caretPositionFromPoint for reflow-on-zoom. >> We pull the caret position so that a double tap in a large paragraph can >> scroll to the exact area where the user double-tapped, after reflow (as >> the actual text position may change after reflowing). >> >> The problem is that if we have a double-tap event occur where there is >> some type of overlaying or covering element, we get into a problem where >> the caretPositionFromPoint returns a caret position within the overlaid >> element. It's possible this is what we want, but it would be nice if we >> could access ALL of the elements' caret positions, and then choose >> easily from these. > > It seems to me like this zooming is a feature of the browser rather > than something that an author would implement in a Web page/app. Is > that right? >
Received on Wednesday, 26 June 2013 14:13:01 UTC