Gunlaug Sørtun wrote: [...] > The hack will work if placed correctly. However, I've updated the > test-page... > > <http://www.gunlaug.no/contents/wd_chaos_20.html> > > ...to point out what seems to be a "recovery after invalid @import > rules" strategy-change in Opera 9.50. Would be bad to lose style-rules > in Opera just to fix IE6 :-) > > Now, if all valid @import rules comes before the invalid rules, then > there's no problem and Opera only needs one extra valid rule after > @imports to recover on. Not much of a deal. > > > I don't know if Opera's error-recovery behavior is acceptable and/or in > accordance with CSS specs, but I won't be surprised to find out that it is. > If someone can find the time to figure this out it would be fine, as I > have more important non-web issues to take care of at the moment. > > regards > Georg
Opera 9.5 seems not to recover from this import until the second ruleset. @import --url("chaos-060801-test6.css"); Here's a demo. http://css-class.com/test/css/imports/import-invalid-opera950.htm -- Alan http://css-class.com/ Nearly all men can stand adversity, but if you want to test a man's character, give him power - Abraham Lincoln ______________________________________________________________________ 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/