Brett Merkey wrote: >> A few days ago, while testing for coherence in a webpage, IE7 >> crashed on me. >> I've isolated the "offending" code here: >> http://www.mundoplus.tv/atnbueno/ie7crash.html >> >> After a few tests (actually, a lot of them) I've found it's >> simply more of IE lack of support for the <button> tag. No >> CSS applied to button[value] is shown, and any value for >> "value" crashes (closes down) the current IE window. So >> remember, don't style with the button[value] selector. > > Yes, the code effectively crashes my IE7 immediately. > I don't think the problem is the button tag, which I have > used extensively for many years. > > The problem in the code on that page is the lack of a space > between the two parts of the selector. Add a space and no > crash. > > Still, you are right. Pretty pathetic.
By adding aspace in the selector basically make it not an attribute selector and rather an invalid selector. After testing I find that button[value] is OK for IE7 (no crash) but the style is applied to neither button. Both button[value=""] or button[value="any value"] will cause IE7 to crash. Also other elements with a "value" attribute will have not cause IE7 to crash, ie. <input> is OK. The button element can be styled by the "name" and "type" attributes and IE7 is OK. So this is a clear problem associated with the button element and the attribute "value". A test case for Gerald Talbot's bug page. Alan http://css-class.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/