W3C home > Mailing lists > Public > public-html@w3.org > December 2007

Re: Fwd: Add an @type attribute on code

From: Charles McCathieNevile <chaals@opera.com>
Date: Sat, 08 Dec 2007 19:58:59 +0100
To: "Garrett Smith" <dhtmlkitchen@gmail.com>, "HTML Issue Tracking WG" <public-html@w3.org>
Message-ID: <op.t205ollswxe0ny@widsith.lan>

On Sat, 08 Dec 2007 03:48:17 +0100, Garrett Smith <dhtmlkitchen@gmail.com>  
wrote:

> On 12/7/07, Olivier GENDRIN <olivier.gendrin@gmail.com> wrote:

>> I wondered this night that code should have a kind of @type attribute.
>> It would be a hook for specialised search engines or for specific code
>> color rendering displays in UA.
>>
> What about:
>
> <script type="text/monkeyscript" disabled="disabled">
> // your script text
> </script>
...
> This does not, unfortunately, address the current security problems
> with inserting an executable, yet untrusted script onto a page.

And combined with the fact that current browsers may not all understand  
the disabled attribute, and instead run the sscript, this seems like a  
fatal flaw...

cheers

Chaals

-- 
Charles McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals              Try Opera 9.5 beta
Received on Saturday, 8 December 2007 18:59:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:51 UTC