You are reading...

September 16th

Yeah, this is so much better

Changes in the filter property syntax

Unfortunately, the original filter syntax was not CSS 2.1 compliant. For example, the equals sign, the colon, and the commas (highlighted in red) are illegal in the following context:

filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80, FinishOpacity=70, Style=2);

Since our CSS parser has been re-designed to comply with standards, the old filter syntax will be ignored as it should according to the CSS Specification. Therefore, it is now required that the defined filter is fully quoted. The proper way of writing out the filter defined above (with changes needed highlighted in green) would be:

-ms-filter: “progid:DXImageTransform.Microsoft.Alpha(Opacity=80, FinishOpacity=70, Style=2)”;

Meanwhile, Firefox 3.1 will add support to actual CSS3 properties, like border-image.

The road to a standards-based web is a long march…

Go home

Leave a Reply





blog comments powered by Disqus

This is my Twitter status linked to my Facebook status. Annoying, huh?

3780 lines of HTML make up the online version of the Roxiticus Golf Club handbook Charlie work indeed. 37 mins ago