Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#4193 closed defect (fixed)

test_Button: CSS not loaded correctly on IE7

Reported by: bill Owned by: liucougar
Priority: high Milestone: 0.9
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


IE7 has an intermittent problem where buttons are display:block rather than display:inline. Cougar and I traced it down to a race condition with tundra.css loading dijit.css. In the problem case dijit.css is not being loaded, or at least the dijitInline on the buttons domNode is being ignored.

Problem is probably due to the unusual way test_button.html loads the CSS (it appends to the end of <head> even though head hasn't finished loading yet), compounded by the nested include from tundra.css --> dijit.css. I know we changed the CSS loading to get rid of Safari warnings but maybe we still don't have it right.

Change History (5)

comment:1 Changed 14 years ago by liucougar

Milestone: 1.00.9
Owner: set to liucougar

refs #4103

comment:2 Changed 14 years ago by liucougar

the exact cause is unknown, but I think it may be related to the fact that the content is loaded before css loading

using document.write seems to fix this

refs #4103: document.write-ing a link element is not evil, as long as it is invoked in head

comment:3 Changed 14 years ago by liucougar

Resolution: fixed
Status: newclosed

(In [10211]) fixes #4193

comment:4 Changed 14 years ago by liucougar

(In [10212]) refs #4193: cleanup

comment:5 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.