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

2012-06-30 Thread Tim Down
On 29 June 2012 21:46, Ian Hickson i...@hixie.ch 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

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

2012-06-30 Thread Anne van Kesteren
On Sat, Jun 30, 2012 at 1:16 PM, Tim Down timd...@gmail.com 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.

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 i...@hixie.ch 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

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 i...@hixie.ch 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

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

2012-02-15 Thread Tab Atkins Jr.
On Wed, Feb 15, 2012 at 11:26 AM, Ian Hickson i...@hixie.ch 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

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. jackalm...@gmail.comwrote: On Wed, Feb 15, 2012 at 11:26 AM, Ian Hickson i...@hixie.ch wrote: So I guess we

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

2011-07-28 Thread Aryeh Gregor
On Wed, Jul 27, 2011 at 6:55 PM, Tim Down timd...@gmail.com 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

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

2011-07-27 Thread Tim Down
On 21 July 2011 20:59, Aryeh Gregor simetrical+...@gmail.com wrote: On Wed, Jul 20, 2011 at 6:23 PM, Tim Down timd...@gmail.com 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

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

2011-07-21 Thread Aryeh Gregor
On Wed, Jul 20, 2011 at 6:23 PM, Tim Down timd...@gmail.com 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

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

2011-07-20 Thread Tim Down
On 6 January 2011 21:53, Ian Hickson i...@hixie.ch 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-20 Thread Aryeh Gregor
On Wed, Jul 20, 2011 at 6:14 AM, Tim Down timd...@gmail.com 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

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

2011-07-20 Thread Tim Down
On 20 July 2011 17:58, Aryeh Gregor simetrical+...@gmail.com wrote: On Wed, Jul 20, 2011 at 6:14 AM, Tim Down timd...@gmail.com 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

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 there pages that

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

2011-05-05 Thread Hallvord R M Steen
2011/5/3 Benjamin Poulain benjamin.poul...@nokia.com: 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

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-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

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

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

[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

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-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()