...

View Full Version : IE8 and CSS clip



Kor
06-01-2009, 01:57 PM
As you might know, IE6 and IE7 have a separate syntax for CSS clip attribute:

Standard CSS:


.myclass{
clip:rect(0,286px,168px,251px);
}

IE6 and IE7 do not like the commas :


clip:rect(0 286px 168px 251px)


My question is: Does IE8 keep the IE6 and IE7 behavior? Or it follows, finally the standards? I don't have (nor I don't want to) IE8 installed, so that... :)

drhowarddrfine
06-01-2009, 03:29 PM
IE8 claims to support 'clip' now. IE6/7 never did.

Kor
06-01-2009, 04:05 PM
Thank your for the answer.


IE8 claims to support 'clip' now. IE6/7 never did.
Oh, but they did. As I said, IE6 and IE7 support their own clip CSS attribute, same as standard, except for the commas between values.

I needed to know if IE8 supports turned onto the standard now or kept the "old IE like" CSS clip behavior.

Apostropartheid
06-01-2009, 05:32 PM
It's standards-compliant now.
http://msdn.microsoft.com/en-us/library/ms530748(VS.85).aspx



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum