Re: Comparing conformance requirements against real-world docs

Ian Hickson wrote:
> On Sat, 30 Aug 2008, Henri Sivonen wrote:
>> To get data for assessing how well the drafted conformance requirements 
>> fit existing practice, I validated 516875 Web documents with the 
>> Validator.nu engine. [...]
>>
>> 0.4428 Attribute "language" not allowed on element "script" at this point.
> 
> I've allowed validators to downplay this error if the value is 
> "JavaScript".

Why only "JavaScript"? http://philip.html5.org/data/script-languages.txt 
indicates that a lot of people use language="javascript1.2" and 
language="javascript1.1", which (as far as I'm aware) work perfectly 
well in modern browsers.

>> 0.0239 Attribute "web:culture" not allowed on element "html" at this point.
> 
> XHTML with namespaced content leaking into text/html?

http://livecom.spaces.live.com/ and many (all?) other spaces.live.com blogs:

   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
   <html xmlns:spaces xmlns:Web class="ClientFramework" 
web:culture="en-GB">

>> 0.0239 Attribute "content" not allowed on element "input" at this point.
> 
> I wonder what this was used for. Do you have sample URLs?

By a wild coincidence, http://livecom.spaces.live.com/ and many (all?) 
other spaces.live.com blogs:

   <input type="hidden" name="Web.moz-custom" content="enabled" />

Also I see 
http://web.archive.org/web/20071012222002rn_1/www.vegsource.com/jo/qa/qacats.htm 
with:

   <input type="text" name="words" content="/jo/" size="10" maxlength="100">

>> 0.0236 Bad value (consolidated) for attribute "disabled" on element "input".
> 
> Are there values we should allow? It would be interesting to see the 
> values here.

For <input disabled>, I see:

      33 disabled
      28
       9 true
       3 1
       1 false

>> 0.0094 Attribute "type" not allowed on element "textarea" at this point.
> 
> What values are people using?

For <textarea type>, I see:

       3 text
       1 textarea
       1 read only

-- 
Philip Taylor
pjt47@cam.ac.uk

Received on Wednesday, 24 December 2008 12:12:06 UTC