Re: [whatwg] Specification of window.find()

2012-06-30 Thread Anne van Kesteren
On Sat, Jun 30, 2012 at 1:16 PM, Tim Down wrote: > What's the procedure for proposing a new API to address the same use > cases I've described earlier in the thread? I would favour an addition > to Range. http://wiki.whatwg.org/wiki/FAQ#Is_there_a_process_for_adding_new_features_to_a_specificatio

Re: [whatwg] Specification of window.find()

2012-06-30 Thread Tim Down
On 29 June 2012 21:46, Ian Hickson wrote: > Given the lack of interest in the feature, I have removed it from the spec > and recommend to implementors that they drop support for the API. What's the procedure for proposing a new API to address the same use cases I've described earlier in the thre

Re: [whatwg] Specification of window.find()

2012-06-29 Thread Ian Hickson
On Wed, 15 Feb 2012, Tab Atkins Jr. wrote: > On Wed, Feb 15, 2012 at 11:26 AM, Ian Hickson wrote: > > So I guess we have to make a decision for the platform here. > > > > Do we want: > > > >  - To spec window.find() in all its historical glory, and have it > >   implemented everywhere? > > > >  -

Re: [whatwg] Specification of window.find()

2012-02-15 Thread Rick Waldron
+1 to TJ's mention of find for use in the Selector API: http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0277.html Rick On Wed, Feb 15, 2012 at 2:49 PM, Tab Atkins Jr. wrote: > On Wed, Feb 15, 2012 at 11:26 AM, Ian Hickson wrote: > > So I guess we have to make a decision for th

Re: [whatwg] Specification of window.find()

2012-02-15 Thread Tab Atkins Jr.
On Wed, Feb 15, 2012 at 11:26 AM, Ian Hickson wrote: > So I guess we have to make a decision for the platform here. > > Do we want: > >  - To spec window.find() in all its historical glory, and have it >   implemented everywhere? > >  - To spec a subset of window.find() that just does the use case

Re: [whatwg] Specification of window.find()

2012-02-15 Thread Ian Hickson
On Wed, 20 Jul 2011, Tim Down wrote: > On 6 January 2011 21:53, Ian Hickson wrote: > > On Wed, 27 Oct 2010, benjamin.poul...@nokia.com wrote: > >> > >> I would like to suggest a change for the main HTML 5 specification: > >> http://www.whatwg.org/specs/web-apps/current-work/ > >> > >> The problem

Re: [whatwg] Specification of window.find()

2011-07-28 Thread Aryeh Gregor
On Wed, Jul 27, 2011 at 6:55 PM, Tim Down wrote: > There's also the perennial problem of dealing with non-visible text > (c.f. Selection.toString(), innerText), which some browsers handle (a > quick tests suggests WebKit searches non-visible text and Firefox > doesn't). True. Of course, that's a

Re: [whatwg] Specification of window.find()

2011-07-27 Thread Tim Down
On 21 July 2011 20:59, Aryeh Gregor wrote: > On Wed, Jul 20, 2011 at 6:23 PM, Tim Down wrote: >> Yes, but it's significantly better than the alternative, which is to >> write your own code to search for text that spans nodes. > > It shouldn't be *too* hard to write that code.  First do the search

Re: [whatwg] Specification of window.find()

2011-07-21 Thread Aryeh Gregor
On Wed, Jul 20, 2011 at 6:23 PM, Tim Down wrote: > Yes, but it's significantly better than the alternative, which is to > write your own code to search for text that spans nodes. It shouldn't be *too* hard to write that code. First do the search in textContent and get a list of the offsets of al

Re: [whatwg] Specification of window.find()

2011-07-20 Thread Tim Down
On 20 July 2011 17:58, Aryeh Gregor wrote: > On Wed, Jul 20, 2011 at 6:14 AM, Tim Down wrote: >> It's useful for custom search features. I've recommended it a few >> times on Stack Overflow for people wanting to highlight or somehow >> style all occurrences of a piece of text that may span nodes

Re: [whatwg] Specification of window.find()

2011-07-20 Thread Aryeh Gregor
On Wed, Jul 20, 2011 at 6:14 AM, Tim Down wrote: > It's useful for custom search features. I've recommended it a few > times on Stack Overflow for people wanting to highlight or somehow > style all occurrences of a piece of text that may span nodes (it's > this part that is the compelling feature)

Re: [whatwg] Specification of window.find()

2011-07-20 Thread Tim Down
On 6 January 2011 21:53, Ian Hickson wrote: > On Wed, 27 Oct 2010, benjamin.poul...@nokia.com wrote: >> >> I would like to suggest a change for the main HTML 5 specification: >> http://www.whatwg.org/specs/web-apps/current-work/ >> >> The problem I have is with the Window object specification >> (

Re: [whatwg] Specification of window.find()

2011-07-19 Thread Ian Hickson
On Tue, 3 May 2011, Benjamin Poulain wrote: > On 05/03/2011 01:42 AM, ext Ian Hickson wrote: > > > I do not know the original use case but I can think of a few: -on > > > mobile devices which have a find dialog but no user interface to > > > access it, make the find dialog appear > > > > Are the

Re: [whatwg] Specification of window.find()

2011-05-05 Thread Hallvord R M Steen
2011/5/3 Benjamin Poulain : > I don't really have an interest in defending the feature. > > I was just hoping to get a specification for the API to get a bit more > consistency between engines. > > Since you do not seem interested in the feature, I guess we can keep it as a > WebKit/Gecko extensio

Re: [whatwg] Specification of window.find()

2011-05-03 Thread Benjamin Poulain
On 05/03/2011 01:42 AM, ext Ian Hickson wrote: I do not know the original use case but I can think of a few: -on mobile devices which have a find dialog but no user interface to access it, make the find dialog appear Are there pages that do this today? Or indeed any UAs that have a find dialog

Re: [whatwg] Specification of window.find()

2011-05-02 Thread Ian Hickson
On Fri, 7 Jan 2011, Benjamin Poulain wrote: > On 01/06/2011 10:53 PM, ext Ian Hickson wrote: > > On Wed, 27 Oct 2010, benjamin.poul...@nokia.com wrote: > > > I would like to suggest a change for the main HTML 5 specification: > > > http://www.whatwg.org/specs/web-apps/current-work/ > > > > > > The

Re: [whatwg] Specification of window.find()

2011-01-07 Thread Benjamin Poulain
On 01/06/2011 10:53 PM, ext Ian Hickson wrote: On Wed, 27 Oct 2010, benjamin.poul...@nokia.com wrote: I would like to suggest a change for the main HTML 5 specification: http://www.whatwg.org/specs/web-apps/current-work/ The problem I have is with the Window object specification (http://www.wha

Re: [whatwg] Specification of window.find()

2011-01-06 Thread Ian Hickson
On Wed, 27 Oct 2010, benjamin.poul...@nokia.com wrote: > > I would like to suggest a change for the main HTML 5 specification: > http://www.whatwg.org/specs/web-apps/current-work/ > > The problem I have is with the Window object specification > (http://www.whatwg.org/specs/web-apps/current-work

Re: [whatwg] Specification of window.find()

2010-11-09 Thread Benjamin Poulain
On 11/08/2010 07:57 PM, ext Ian Hickson wrote: On Mon, 8 Nov 2010, Benjamin Poulain wrote: Is writing on this list the correct process make comments about the specification? Yes. What is the best way to see this moving forward? Patience. :-) Thanks for the responses. I will wait for you

Re: [whatwg] Specification of window.find()

2010-11-08 Thread Ian Hickson
On Mon, 8 Nov 2010, Benjamin Poulain wrote: > > Is writing on this list the correct process make comments about the > specification? Yes. > What is the best way to see this moving forward? Patience. :-) There are currently 1163 pending e-mails, because I am currently prioritising dealing with

[whatwg] Specification of window.find()

2010-11-08 Thread Benjamin Poulain
Hi, I never received an answer for this issue. Is writing on this list the correct process make comments about the specification? What is the best way to see this moving forward? Benjamin On 10/27/2010 11:07 PM, ext benjamin.poul...@nokia.com wrote: Hi, I would like to suggest a change for

[whatwg] Specification of window.find()

2010-10-27 Thread benjamin.poulain
Hi, I would like to suggest a change for the main HTML 5 specification: http://www.whatwg.org/specs/web-apps/current-work/ The problem I have is with the Window object specification (http://www.whatwg.org/specs/web-apps/current-work/#the-window-object ). It does not mention the method find() wh