Opened 16 years ago
Closed 15 years ago
#2090 closed bug (fixed)
.css() causes error when called on an element not in the DOM on Safari
Reported by: | nostrademons | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.2 |
Component: | core | Version: | 1.2.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In the attached test case, Firefox gives none/none/changed/changed and IE gives none/none/auto/auto, indicating that they at least returned undefined or a default value, respectively. Safari, however, gives none/none/changed/changeme and displays "Undefined value" and "Null value" in the error console, preventing further JavaScript execution.
0', assigning a default value if the property doesn't exist. This behavior causes the whole widget to break instead of functioning with the defaults (I first noticed it with UI Slider). |
Attachments (1)
Change History (2)
Changed 16 years ago by
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This appears to work as desired in 1.2.6 for the test case.
Note: See
TracTickets for help on using
tickets.
.css test case