- From: Simon Pieters <simonp@opera.com>
- Date: Wed, 26 Jun 2013 00:37:19 +0200
- To: "www-style@w3.org" <www-style@w3.org>, "Scott Johnson" <sjohnson@mozilla.com>
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? -- Simon Pieters Opera Software
Received on Tuesday, 25 June 2013 22:35:37 UTC