#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 13 years ago by
Milestone: | 1.0 → 0.9 |
---|---|
Owner: | set to liucougar |
comment:2 Changed 13 years ago by
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:5 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
refs #4103