Re: Process question re. autofocus bug status [was Re: autofocus on links is missing?]

On Fri, 24 Feb 2012 23:30:55 +0100, Ian Hickson <ian@hixie.ch> wrote:

>> As for usage (whether it's wide or not wide), could you provide source
>> of corresponding statistics you've used?
>
> I have no stats, I just haven't seen it used.

http://krijnhoetmer.nl/irc-logs/whatwg/20120221#l-498

# [15:39] <zcorpan> $ grep -aPc "\.focus\(\)" web200904
# [15:39] <zcorpan> 124167
# [15:39] <zcorpan> $ grep -aPc  
"document\.(forms|getElementsByTagName\s*\(\s*[\"']([iI][nN][pP][uU][tT]|[bB][uU][tT][tT][oO][nN]|[tT][eE][xX][tT][aA][rR][eE][aA]|[kK][eE][yY][gG][eE][nN]|[sS][eE][lL][eE][cC][tT])[\"']\s*\))\S*\.focus\(\)"  
web200904
# [15:39] <zcorpan> 2713
# [15:39] <zcorpan> $ grep -aPc  
"document\.(links|getElementsByTagName\s*\(\s*[\"'][aA][\"']\s*\))\S*\.focus\(\)"  
web200904
# [15:39] <zcorpan> 7

(The web200904 file is from dotnetdotcom.org.)

-- 
Simon Pieters
Opera Software

Received on Monday, 27 February 2012 07:39:37 UTC