Closed Bug 312888 Opened 19 years ago Closed 19 years ago

Error: Error in parsing value for property 'height'. Declaration dropped.

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: arudmik, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 This web app used to work on Firefox 1.0.7 (Mac OSX) and it does work well on Firefox (Windows). Using Firefox 1.5 b2 we are getting Javascript parsing exception. After using Firefox for a while, Javascript stops working and we need to close the browser. Please request temporary password to access application for debugging purposes. Reproducible: Always Steps to Reproduce: 1.On Home Page, click Edit button 2.See the error messages in Java Console 3. Actual Results: Error: Error in parsing value for property 'height'. Declaration dropped. Error: Unknown property 'font-color'. Declaration dropped. Expected Results: No error messages Please contact arudmik@profoundlearning.com for temporary username and password to access a test site.
That is a CSS error, it just happens to be displayed in the JavaScript console. Fix your style sheets. What do you mean by "Javascript stops working and we need to close the browser."
This problem does not occur with Firefox 1.0.7 nor does it occur with Mozilla 1.7.12. We are using a Javacript HTML editor from InnovaStudio.com. Our application relies on DOM programming and uses AJAX for server communications. These Java console messages do not occur in Mozilla 1.7.12 and Firefox 1.0.7. Ignoring these messages I can use our Web application for a while then all of a sudden clicking on buttons that invoke Javascript stop working and I just have to quite the browser. I can use our application using Firefox 1.0.7 for hours and not experience this problem. We do not know why Javascript functions stop working. This only happens on Mac OS X 10.3.9.
The error messages occur when I invoke a Javascript function - get the following error message in Java Console Error: Error in parsing value for property 'height'. Declaration dropped. Source File: http://pls.profoundlearning.com/community/wiki/workspace/edit.do Line: 0 We are manipulating DOM objects in Javascript - it seems that the Javascript parser is rejecting the attribute "height". Even though this works correctly in early FireFox releases, Mozilla, IE and Safari.
This is not javascript error. It is a CSS error. An error in your stylesheet. Moz 1.7/Fx 1.0 didn't report CSS errors. Fx 1.5 does. The console should have been renamed to something like "Error Console", but this doesn't make this bug valid - it's a problem with your stylesheet, Firefox just reports it to you.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Er, in your case, not in stylesheet but in the string that is assigned to .style.* (hence 'line 0' - see bug 319171)
You need to log in before you can comment on or make changes to this bug.