Closed
Bug 96568
Opened 23 years ago
Closed 22 years ago
Changing Object Tag's data attribute through JavaScript doesn't change content.
Categories
(Core :: Layout, defect, P3)
Core
Layout
Tracking
()
mozilla1.3alpha
People
(Reporter: lcsj, Assigned: peterlubczynski-bugs)
References
()
Details
(Keywords: testcase, Whiteboard: [PL2:P3][Object][Should act like IMG tag])
Attachments
(1 file)
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID: 20010629 (0.9.2)
http://infokr.mytripod.co.kr has two test page
Roll over test
1. Img Tag
<img src="images/btn_left_off.gif" id=btn_left onmouseover="img_act
('btn_left')" onmouseout="img_inact('btn_left')">
<img src="images/btn_right_off.gif" id=btn_right onmouseover="img_act
('btn_right')" onmouseout="img_inact('btn_right')">
2. Object Tag
<object data="images/btn_left_off.gif" id=btn_left
onmouseover="img_act('btn_left')" onmouseout="img_inact
('btn_left')"></object>
<object data="images/btn_right_off.gif" id=btn_right
onmouseover="img_act('btn_right')" onmouseout="img_inact
('btn_right')"></object>
what is the problem
Reproducible: Always
Steps to Reproduce:
1.Imge Tag click well
2.Object Tag click Bug
3.
Actual Results: Object Tag not acting.
no change image..and crashes.
Expected Results: Img Tag well
email to me
lcsj@lge.com
Updated•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: "<img" Tag well doing but "<object" Tag Bug → Changing Object Tag's data attribute through JavaScript doesn't change content.
Comment 1•23 years ago
|
||
OK, the Page in question does have an error in the JS code. (It changes the
"src" attribute instead of the "data".) But even when I tried changing the
script, I still get the problem the reporter sees.
Apparently changing the OBJECTs data attribute on the fly through JavaScript
doesn't work. The data stays the same. (JavaScript reports back that the data
attribute is different, but nothing happens.)
Changing summary to be a little more understandable. Also, this might be related
to bug 96580, but that deals with actual code level changes not on-the-fly
changes using JS
I'll post the testcase I was using.
Confirming since I see this on Win98 2001082203
Comment 2•23 years ago
|
||
Reporter | ||
Comment 3•23 years ago
|
||
Thanks for Mike Yong
I change the source : "<object data" --> "<object src"
I also saw problem.
Comment 4•23 years ago
|
||
This also happens if the OBJECT represents another HTML file, however using an
IFRAME tag to get the same effect does work!
Since the DOM is updated is it simply the case that page is not being updated?
-> layout
Assignee: pchen → attinasi
Component: XP Apps → Layout
QA Contact: sairuh → petersen
Comment 6•23 years ago
|
||
bug 96580 is probably teh same, but it is confusing to read so I'm not duping. I
believe that there is another dup out there too - cc'ing peter L since he
brought this to my attention some weeks ago.
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•23 years ago
|
||
yup, my bug...and a dup but I like this one much better
The OBJECT tag operates on three basic types: images, documents, and plugins
(applets)
Doing this for images or even document (as long as IFRAME supports it) probably
won't be that bad. However, plugins may be kind of difficult as the instance
would probably need to be destroyed and recreated.
Assignee: attinasi → peterlubczynski
Status: ASSIGNED → NEW
Keywords: testcase
OS: Windows 2000 → All
Priority: -- → P3
Hardware: PC → All
Target Milestone: --- → mozilla0.9.6
Assignee | ||
Updated•23 years ago
|
Whiteboard: [Should act like IMG tag]
Target Milestone: mozilla0.9.6 → mozilla1.0
Comment 8•23 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1
(you can query for this string to delete spam or retrieve the list of bugs I've
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 9•23 years ago
|
||
1.2
Whiteboard: [Should act like IMG tag] → [Object][Should act like IMG tag]
Target Milestone: mozilla1.0.1 → mozilla1.2alpha
Comment 10•22 years ago
|
||
this is similar to 95548
Whiteboard: [Object][Should act like IMG tag] → [PL2:P3][Object][Should act like IMG tag]
Assignee | ||
Comment 11•22 years ago
|
||
*** Bug 96580 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → mozilla1.2beta
Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.2beta → mozilla1.3alpha
Assignee | ||
Comment 12•22 years ago
|
||
*** This bug has been marked as a duplicate of 95548 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•