[wp-trac] [WordPress Trac] #20401: OBJECT tag is self-nestable
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 9 21:15:44 UTC 2012
#20401: OBJECT tag is self-nestable
--------------------------+----------------------------------------
Reporter: coffee2code | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.3.1
Severity: trivial | Keywords: has-patch needs-unit-tests
--------------------------+----------------------------------------
As #6870 advocated for the `q` tag, likewise the `object` tag is self-
nestable.
As proof of its validity, the W3C's HTML4 documentation for `object`
includes an example of the self-nesting of that tag . Down a bit from
[http://www.w3.org/TR/html40/struct/objects.html#idx-object-5 this link] ,
their example is:
{{{
<!-- First, try the Python applet -->
<OBJECT title="The Earth as seen from space"
classid="http://www.observer.mars/TheEarth.py">
<!-- Else, try the MPEG video -->
<OBJECT data="TheEarth.mpeg" type="application/mpeg">
<!-- Else, try the GIF image -->
<OBJECT data="TheEarth.gif" type="image/gif">
<!-- Else render the text -->
The <STRONG>Earth</STRONG> as seen from space.
</OBJECT>
</OBJECT>
</OBJECT>
}}}
And [http://www.w3.org/TR/html40/struct/objects.html#h-13.3.3 another
example] they used for the `param` tag (scroll back a few lines from that
link target to see the example):
{{{
<OBJECT id="obj1">
<PARAM name="param1">
<OBJECT id="obj2">
<PARAM name="param2">
</OBJECT>
</OBJECT>
}}}
A unit test patch will be forthcoming.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20401>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list