W3C home > Mailing lists > Public > public-html@w3.org > February 2012

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

From: Simon Pieters <simonp@opera.com>
Date: Mon, 27 Feb 2012 08:38:54 +0100
To: "Marat Tanalin | tanalin.com" <mtanalin@yandex.ru>, "Ian Hickson" <ian@hixie.ch>
Cc: "HTML WG" <public-html@w3.org>
Message-ID: <op.wabt64fzidj3kv@simons-macbook-pro.local>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:30 UTC