#668 closed defect (fixed)
cssText doesn't work in Opera, simple workaround needed
Reported by: | Owned by: | mumme | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Widgets | Version: | 0.2 |
Keywords: | opera css | Cc: | |
Blocked By: | Blocking: |
Description
style.cssText property doesn't work in Opera, can't set position and dimensions for FloatingPane?
Simple workaround here http://trac.dojotoolkit.org/changeset/3483, already in LinkPane?.js
if(dojo.lang.isUndefined(source.style.cssText)){ this.domNode.setAttribute("style", source.getAttribute("style")); }else{ this.domNode.style.cssText = source.style.cssText; }
instead of
this.domNode.style.cssText = source.style.cssText;
Files to be adjusted: FloatingPane?.js, TabContainer?.js, ComboBox?.js
Change History (5)
comment:1 Changed 15 years ago by
Milestone: | → 0.3release |
---|---|
Owner: | changed from anonymous to mumme |
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 15 years ago by
Priority: | normal → high |
---|---|
Resolution: | fixed |
severity: | trivial → blocker |
Status: | closed → reopened |
this workaround broke TabContainer? (others?)
note that content is no longer visible in Tabs: http://archive.dojotoolkit.org/nightly/tests/widget/test_TabContainer.html
DOM Inspector shows display="none" on the tab container.
comment:4 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
The problem was due to changes in style.js not TabContainer?.js. It should be fixed as of r3778.
Note: See
TracTickets for help on using
tickets.
Fixed as of rev 3771, thanks!
/ Fredrik