Closed
Bug 77456
Opened 24 years ago
Closed 23 years ago
JavaScript is not animating objects
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
mozilla1.0.1
People
(Reporter: psych3, Assigned: jst)
References
()
Details
(Keywords: regression, Whiteboard: [DHTML PERF])
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.8.1+)
Gecko/20010323
BuildID: Mozilla 0.8.1+ autocomplete nightly
First the page rendrs as meant to on NS6.1 but on this build and all of the
nightlyies for the past three weeks the following occurs. Aniamted gifs dont
render correctly and dont animate. The flash movie doesnt load and the
javascript doesnt active. IN IE5+ and NS6.1 this page works correctly
Reproducible: Always
Steps to Reproduce:
1. View the url with NS6 or IE5+
2. Then view it with this build or any of the recent nightlies.
3.
Actual Results: As the description explains
Expected Results: Rendered the page correctly and the DHTML should be working.
Comment 1•24 years ago
|
||
1) Mozilla does not come with flash
2) Animated gifs are a known problem being worked on.
3) Could you go into a bit more detail about what's wrong with the Jsvascript?
I have the flash plugin installed in mozilla and do not have a problem accesing
other pages which have flash on them. I cannot be more specific with the
javascript problems becuase the page just sits there and doesnt throw errors.
Id very much like to be more specific about this, but really cant pnpoint a
cuase of the problem. In NS6 and IE5+ the page runs just fine and is coded by
W3C standards as much as possible. eg theres some corss-browser sniffing for
browser width and height etc, but apart from those sorts of issues the page
should theroetically render and display correctly.
Comment 3•24 years ago
|
||
1) The flash movie loads fine for me
2) Known issue
3) I get errors in the console :
* else if (line1Lyr.left = (x_array[index]/x_array[x_array.length-1]*pageWidth)) {
it should be "==" and not "=".
* Line 164 : Can't convert timer2 to an integer
The relevant code is probably this : timer2= setInterval("showIt()", delay1);
* Error: uncaught exception: [Exception... "Parameter is not a number" code:
"1005" nsresult: "0x805303ed (NS_ERROR_DOM_NOT_NUMBER_ERR)" location:
"file:///C:/Documents%20and%20Settings/fabian/Mozilla/testcases/dhtmlnirvana1.htm
Line: 164"]
Apart from that, everything seems fine. Could you tell us what was working on
NS6 and not in Mozilla? I don't have access to another browser than Moz right now.
Thanks.
Comment 4•24 years ago
|
||
Ok I retried this and I can still load the flash plugin without a problem. The
animated gifs are still broken, but that's known. As for the javascript, could
you please tell us what exactly doesn't work?
When mousing over "News", I get "Recoded to be w3c compliant" even though
clicking on it does nothing so far (neither on IE nor on Mozilla).
When mousing over "Jim Dandy", I get "IE-only".
Please be more specific as to which part of the site doesn't work, thanks for
helping us debugging it! (because obviously the author is making a lot of effort
to support us)
Severity: major → normal
Ok im the actual author of that page and yes I am attempting to support mozilla
via both my web sites and through some upcoming articles at webreference.com
So lets go through the bugs again.
Ok on the aniamted gifs, glad you guys are on to it.
After a bit more testing this is what I found to be happening with the flash
movie loading. If I go directly to http://dhtmlnirvana.com/ then the flash
movie loads fine, but if i go to http://dhtmlnirvana.com/oneproject/ first (the
flash movie loads here and mozilla doesnt have a problem with this page) and
then go to http://dhtmlnirvana.com/ then the flash movie doesnt load at all.
Posibbly a cache issue of some form?
On the js issue I get a stalled page at dhtmlnirvana.com. For example if you
view it in IE5+ or NS6 the lines move, but in mozilla the lines stay static
(thats the issue I am struggling with in that it works fine in NS6 but not on
mozilla). In other words none of the animation routines trigger with recent
mozilla builds. Does this help any? Would my system specs help any further?
Let me know
Comment 6•24 years ago
|
||
On Linux:
Going straight to http://dhtmlnirvana.com/ loads the flash for me, as does
/oneproject/ - however going from /oneproject/ to / causes the background on /
to continually flash in different colours and not load the flash presentation.
On / I don't see any lines moving at all.
OS: Windows 2000 → All
Comment 8•24 years ago
|
||
OK here's my opinion on this. We should split the flash bug into another one,
that would go to Plugins. We'll concentrate in this bug on the DOM problems.
Unfortunately I'll not be able to write any testcase for it anytime soon :(
Could use some help.
psych3@primus.com.au (for lack of a better name), could you please split up the
flash bug?
Thanks alot.
For the DOM part of this bug: The way the DOM is handled has been vastly
rewritten last week. Could you please re-test again? Using build 2001051308 the
lines in the graphic in the middle of the page animate exactly as in IE5.
Thanks again.
Yes I can split up the flash bug give me a few days as I have found quiet a
number of other bugs in recent nightlies and .9 milestone. Im just waiting for
a good windows build and then download and recheck everything in case its all
well now. Anyway I will do the flash bug split. BTW my name is Eddie Traversa.
Comment 11•23 years ago
|
||
OK let's carry on as Fabian suggests, making this a DOM bug by updating summary.
You say it worked in Netscape 6... regression keyword, plus mozilla0.9.2 nomination.
This needs further triage... Edie: can you examine Fabian's comments about the
possible JavaScript error, and see if that fixes the issue, and report back
ASAP, thanks.
Keywords: mozilla0.9.2,
regression
Summary: Renders animated gifs terribly, flash doesnt load javascript is broken → JavaScript is not animating objects
Reporter | ||
Comment 12•23 years ago
|
||
Ok Ive rechecked the page with both NS6 and mozilla build 2001052104 In NS6 the
lines animate identical to IE, with mozilla however they do not animate they
are stuck. Ive checked the javascript console in both NS6 and mozilla for any
potential scripting errors at my end and I get a clean bill of health here.
On a brighter note, I am working of a cleaner js code base for another site and
mozilla runs fine here except for some rendering problems on gifs in external
html files http://dhtmlnirvana.com/jazz/ Ill check through the bug base and see
if this has allready been filed if not ill post another bug.
Eddie Traversa
thats a considerable improvement over last months builds as this site crashed
mozilla outright so I think you are headed in the right direction here.
Assignee | ||
Comment 13•23 years ago
|
||
There's just no way I can dig into this code any time soon, if someone creates a
minimized testcase and tells me what the problem is I might get to this sooner.
Hardware: PC → All
Target Milestone: --- → mozilla1.0
Reporter | ||
Comment 14•23 years ago
|
||
But thats the problem, if you create standalone examples then the examples run
fine. Its when you integrate everything into a complex DHTML page that mozilla
falters. For example, a lot of the opacity stuff works (with a workaround) as
standalone examples, but when you integrate it into a full dhtml page then
mozilla / NS6 has some serious performance issues that make for an unpleasant
experience for people browsing that page.
Assignee | ||
Comment 15•23 years ago
|
||
Is this purely a performance problem then?
Reporter | ||
Comment 16•23 years ago
|
||
it may well be, i just tried opening the JS debug console and when that opens
the lines move a little, which suggests its something other than js issues does
it not?
Assignee | ||
Comment 17•23 years ago
|
||
Is the updates on the page based on JS timers? If so, could you try increasing
the delay's in the code to see if that makes things work better?
Reporter | ||
Comment 18•23 years ago
|
||
Ok ater some testing heres whats happening, I can slow down the timers but they
have to be slowed considerably the lines will move in Mozilla. I can also
unhook another animation sequence that is in an endless loop and that also sees
the lines animating.
The same animation techniques, ie, the path animations are used at
http://dhtmlnirvana.com/oneproject/ where the circles animate based on a path
animation. The differnce here is that everything at One Project is based on
timers, and the delay between one animation starting and commencing is
considerable compared to http://dhtmlnirvana.com/
The above suggests to me that it is not a DOM related or JS related issue but
rather a performance issue.
Assignee | ||
Comment 19•23 years ago
|
||
Hyatt, this page might be interesting to quantify if you start looking at style
code performance on DHTML pages.
Whiteboard: [DHTML PERF]
Comment 21•23 years ago
|
||
Mozilla 0.9.1 doesn't show my page as intended either:
http://clickworkers.arc.nasa.gov/training/crater-marking.html
shows animations (starbursty points, red circles drawing themselves) in 0.7
(2001010816) but not 0.9.1 (2001060712).
The animated GIF by itself works fine:
http://clickworkers.arc.nasa.gov/graphics/new-circle.gif
But when it's inline in a page, set by JavaScript, it's not animating.
(This isn't an ideal test case, since by design the last frame
of new-circle.gif looks just like the still image it replaces
it with, old-circle.gif).
Comment 22•23 years ago
|
||
Re my last comment: I've decided that the bug I discovered is most likely
separate from this one, so I've posted a new bug report, Bug #86572, with a test
case attached.
Comment 23•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 24•23 years ago
|
||
Marking as dup of bug 21762, as this bug doesn't demonstrate any specific
problem. Please see my post in npm.dom for more information.
*** This bug has been marked as a duplicate of 21762 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•