Opened 12 years ago

Closed 12 years ago

Last modified 8 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:

Description

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.

http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Button.html

Change History (5)

comment:1 Changed 12 years ago by liucougar

Milestone: 1.00.9
Owner: set to liucougar

refs #4103

comment:2 Changed 12 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 12 years ago by liucougar

Resolution: fixed
Status: newclosed

(In [10211]) fixes #4193

comment:4 Changed 12 years ago by liucougar

(In [10212]) refs #4193: cleanup

comment:5 Changed 8 years ago by bill

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