Opened 9 years ago
Closed 8 years ago
#15719 closed defect (fixed)
[patch][cla] Fix dojo.style(node, 'opacity', '') to properly remove the style property on IE < 9
Reported by: | Thomas Bachem | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.9 |
Component: | HTML | Version: | 1.7.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Setting a style property to an empty string does remove the inline property in every browser, e.g.:
dojo.style(node, 'color', 'red'); dojo.style(node, 'color', '');
This doesn't work with opacity
on IE < 9 though, as the filter
implementation doesn't contain a check for an empty string value.
See attached test case and patch.
Attachments (3)
Change History (6)
Changed 9 years ago by
Attachment: | ie-opacity-testcase.html added |
---|
Changed 9 years ago by
Attachment: | ie-opacity.patch added |
---|
comment:1 Changed 8 years ago by
comment:2 Changed 8 years ago by
Milestone: | tbd → 1.9 |
---|---|
Priority: | undecided → high |
Summary: | [patch] Fix dojo.style(node, 'opacity', '') to properly remove the style property on IE < 9 → [patch][cla] Fix dojo.style(node, 'opacity', '') to properly remove the style property on IE < 9 |
Note: See
TracTickets for help on using
tickets.
Edited the patch some more to So that multiple calls don't result in multiple progid's