Closed Bug 86287 Opened 24 years ago Closed 23 years ago

CSSPrimitiveValue gets undefined

Categories

(Core :: DOM: CSS Object Model, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: andorxor, Assigned: jst)

Details

Attachments

(3 files)

If CSSPrimitiveValue (and its constants like CSSPrimitiveValue.CSS_PX) are defined seems to depend on the context CSSPrimitiveValue is evaluated in. I'll attach three examples which show that a simple alert("") statement undefines CSSPrimitiveValue if it hasn't been already evaluated once. The different Mozilla versions seem to behave differently. The old Netscape6 doesn't seem to define CSSPrimitiveValue at all in this examples but behaves in more complex examples better than the current version.
Over to DOM Style. This is _very_ weird behavior.... Seeing it with Linux build 2001-06-15-21.
Status: UNCONFIRMED → NEW
Component: DOM Level 0 → DOM Style
Ever confirmed: true
QA Contact: desale → ian
Compare bug 86659, where the addition of an alert changes the DOM behavior.
This worksforme in a current build. Stephan, could you retest and resolve worksforme if you are no longer seeing the bug?
Thanks, it worksforme. Tested with release 0.9.5
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: