W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2010

[whatwg] Specification of window.find()

From: <benjamin.poulain@nokia.com>
Date: Wed, 27 Oct 2010 21:07:37 +0000
Message-ID: <6A6628DC1DD90E418BBE7106BBAF58620381A6@008-AM1MPN1-021.mgdnok.nokia.com>

I would like to suggest a change for the main HTML 5 specification: 

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() which can be found on most engines 
(e.g.: https://developer.mozilla.org/en/DOM/window.find ).

I think it would be good to have it in the standard, and to define a 
standard behavior for it. WebKit and Gecko have small differences in the 
way this function is implemented.

I recently stumbled upon the way this function handle content 
invisible because of clipping: https://bugs.webkit.org/show_bug.cgi?id=15078

I think the best way to handle this case would be not to select the 
hidden strings. This would be the less disruptive for Web developers, 
and would make sense for the user interface.

In any case, I would prefer this function to be part of a standard 
instead of having a behavior specific to WebKit.

Best regards,
Received on Wednesday, 27 October 2010 14:07:37 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:01 UTC