Previous Message
Next Message

IE7b2 breaks the alternate box model hack: comment bug fixed, but not !important

Sent by Ingo Chao on 3 February 2006 15:03




Testcase
http://www.satzansatz.de/cssd/ie7b2_abmh.html

In "What’s New for CSS in Beta 2 Preview?" 
http://blogs.msdn.com/ie/archive/2006/02/02/523679.aspx
Markus Mielke said they have fixed the comment bug:

   property /**/: value;

value is now recognized by IE7b2 (like in all browsers but IE6).

But !important is still ignored, valueB overwrites valueA

   property: valueA !important;
   property: valueB;


This wild fixing of only /half/ of the bugs breaks all pages that make 
use of the alternate box model hack. 
http://www.info.com.ph/~etan/w3pantheon/style/abmh.html#tech3

Well, in "Call to action: The demise of CSS hacks and broken pages" they 
have warned. http://blogs.msdn.com/ie/archive/2005/10/12/480242.aspx

In Molly's "Star HTML and Microsoft IE7"
http://www.molly.com/2005/12/22/star-html-and-microsoft-ie7/
this comment was broadly accepted:

“If IE7 fixes all those issues and behaves according to W3C standards, 
why should the hack matter?… If IE7 is as good as they say, it should 
ignore the hack and just render everything normally while IE6 and lower 
will still use the hack.”

So fixing the /**/-bug requires fixing the !important bug.

Ingo

-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: