Opened 14 years ago

Closed 14 years ago

Last modified 12 years ago

#668 closed defect (fixed)

cssText doesn't work in Opera, simple workaround needed

Reported by: amonduul <steeleye.winzo@…> 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 14 years ago by anonymous

Milestone: 0.3release
Owner: changed from anonymous to mumme

comment:2 Changed 14 years ago by mumme@…

Resolution: fixed
Status: newclosed

Fixed as of rev 3771, thanks!

/ Fredrik

comment:3 Changed 14 years ago by anonymous

Priority: normalhigh
Resolution: fixed
severity: trivialblocker
Status: closedreopened

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 14 years ago by sjmiles

Resolution: fixed
Status: reopenedclosed

The problem was due to changes in style.js not TabContainer?.js. It should be fixed as of r3778.

comment:5 Changed 12 years ago by (none)

Milestone: 0.3release

Milestone 0.3release deleted

Note: See TracTickets for help on using tickets.