Opened 14 months ago
Closed 11 months ago
#20401 closed defect (bug) (fixed)
OBJECT tag is self-nestable
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Formatting | Version: | 3.3.1 |
| Severity: | trivial | Keywords: | has-patch |
| 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)
coffee2code — 14 months ago
comment:1
coffee2code — 14 months ago
- Keywords needs-unit-tests removed
Unit test included as part of [UT661].
comment:2
coffee2code — 11 months ago
- Milestone changed from Awaiting Review to 3.5
Might as well include this much more minor patch in 3.5 if #1597 looks like it'll go in.
Note: See
TracTickets for help on using
tickets.

Aforementioned path.