This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8329 - should object/@code be omitted from list of obsolete attributes?
Summary: should object/@code be omitted from list of obsolete attributes?
Status: CLOSED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML5 spec (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://dev.w3.org/html5/spec/obsolete...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-18 11:28 UTC by Michael[tm] Smith
Modified: 2010-10-04 14:55 UTC (History)
4 users (show)

See Also:


Attachments

Description Michael[tm] Smith 2009-11-18 11:28:36 UTC
The "Non-conforming features" section of the spec lists "code on object elements" as an obsolete attribute. But as far as I can tell, the code attribute -- while widely used on the applet element -- was never valid on the object element in any version of HTML and does not seem to be used in any significant amount of existing Web content. See, for example, http://dev.opera.com/articles/view/mama-plug-ins/#object

So, I'm wondering whether  the  "code on object elements" line should be removed from that section (so that, e.g., conformance-checker developers don't feel any need to do any special reporting for that case).
Comment 1 Michael[tm] Smith 2009-11-18 11:30:53 UTC
some further data:

<Philip`> I see several <object codetype>s in dotbot data
<Philip`> and zero <object code>s
<Philip`> (By "several" I mean about a dozen sites)
Comment 2 Michael[tm] Smith 2009-11-18 11:42:41 UTC
OK, further data which instead suggests that there is a (small) case for including "code on object elements" as obsolete

<Philip`> http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cbody%3E%0A%3Cobject%20id%3Do%3E%3C%2Fobject%3E%3Cscript%3Edocument.getElementById%28%27o%27%29.code%3D1%3C%2Fscript%3E - hmm, browsers support it
<Philip`> http://google.com/codesearch?q=%3Cobject%5B%5E%3E%5D%2A%5Cscode%3D - some people use it

so, I will move this to resolved/invalid