identical object and embed names create array in DOM

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
14 years ago
13 years ago

People

(Reporter: rgammon, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922

On http://sansfrontieres.france2.fr/, there's an <embed> tag nested within a
<object> tag. Both are given the same name, lirevideo.

Mozilla deals with this by creating an array of lirevideo's. It could
potentially be a little smarter and disregard the outer <object> tag... bug
108094 mentioned something like this.

Not sure if this is a good idea or not :)

This is helixcommunity.org bug 3356.

Reproducible: Always
(Reporter)

Comment 1

14 years ago
... This breaks javascript on this page, which assumes the object name will be
lirevideo vs lirevideo[1]
Not a layout issue.

The problem, of course, is that both nodes ARE in the DOM.  So they should both
show up when you look for them by name...
Assignee: nobody → general
Component: Layout → DOM: Level 0
QA Contact: layout → ian
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
(Reporter)

Comment 4

13 years ago
Adding a comment to prevent this from being automatically resolved.

Might be a WONTFIX?
Ian, what's WHATWG going to say on this?
I don't think WHATWG will be defining any particular behaviour for arbitrary
deref on the Document object.
OK.  Apparently IE actually mutates the DOM (removes the embed or the object,
whichever it's not rendering).  I don't think we want to do that.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.