Re: [whatwg] [canvas] Path object

> On Oct 2, 2012, at 4:58 PM, Elliott Sprehn <esprehn@gmail.com> wrote:
>
>> What of the fact that this breaks existing pages with <input
>> id="Path"> that access it as just Path? Historically this has been a
>> non-starter for new APIs.

On Wed, 03 Oct 2012 05:12:46 +0200, Maciej Stachowiak <mjs@apple.com>  
wrote:

> Can we get data on prevalence of such pages?

Data set:  
http://www.paciellogroup.com/blog/2012/04/html5-accessibility-chops-data-for-the-masses/

$ grep -aPc "\s(?i:(id|name))\s*=\s*(\"|')?Path((\"|')|(\s|>|/))"  
stevef-all
0
$ grep -aPc "\s(?i:(id|name))\s*=\s*(\"|')?Audio((\"|')|(\s|>|/))"  
stevef-all
2
$ grep -aPc "\s(?i:(id|name))\s*=\s*(\"|')?URL((\"|')|(\s|>|/))" stevef-all
18

Data set: http://dotnetdotcom.org/

$ grep -aPc "\s(?i:(id|name))\s*=\s*(\"|')?Path((\"|')|(\s|>|/))" web200904
85
$ grep -aPc "\s(?i:(id|name))\s*=\s*(\"|')?Audio((\"|')|(\s|>|/))"  
web200904
27
$ grep -aPc "\s(?i:(id|name))\s*=\s*(\"|')?URL((\"|')|(\s|>|/))" web200904
1357

(I don't have data on how many of these also do something like <form  
onsubmit="return validate(URL)"> etc.)

-- 
Simon Pieters
Opera Software

Received on Wednesday, 3 October 2012 12:21:55 UTC