Pages

SPONSORED

CSS Expressions in IE8 and higher

Microsoft has finally decided to do away with Dynamic properties or CSS Expression from IE version 8. This means that our tricks to make certain conditions work cannot be applied any more in IE versions 8 and above.

Why was it removed?

1.   We have already discussed that it is slow and affects performance in our previous post Expressions in CSS. IE had to get rid of this feature to make the content render and process faster to avoid user inconvenience.
2.   CSS Expressions work only in IE as they are Microsoft proprietary. This makes it difficult for the developers to when it comes to developing pages which needs to be cross browser compatible. Microsoft had to bring in standard compliance.
3.   As we have expressions in css evaluating all the while, it can give way for the ajax hackers by allowing script injection attacks.CSS expressions were removed keeping in mind the security reasons.

Now we will not be able to use expressions via JavaScript as well. The methods getExpression, recalc, removeExpression, setExpression worked on IE 5 and above but is not being recognised on IE8

How do we work on IE8?

Expressions we being written to overcome CSS bugs. IE 8 will be able to interpret the properties to work in standard, interoperable way. Hence we can continue working on IE in the same way we work with other browsers.

This makes IE 8 more standard, faster and secure for the users.

No comments:

Post a Comment