Opened 14 years ago
Closed 14 years ago
#20401 closed defect (bug) (fixed)
OBJECT tag is self-nestable
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.5 | Priority: | normal |
| Severity: | trivial | Version: | 3.3.1 |
| Component: | Formatting | Keywords: | has-patch |
| Focuses: | Cc: |
Description
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 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 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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Aforementioned path.