sshhhhh… IE has brought back the ‘filter’ property (without the prefix) in IE8

I personally don’t have an issue with Microsofts property prefix being left off the filter property; either way, they don’t validate so I don’t see it as an issue. If anything I would prefer it if they left the prefix off as this would mean we would could retain some level of backwards compatibility.

What’s funny though is that this property currently works without this prefix – check my .

Comments are closed.

Leave your own response
  1. Paul O'Brien said on:

    Hi James , the test case is incorrect and you have omitted to include the quotes around the -ms filter property. If the quotes are included then it works fine in RC1.

    http://www.pmob.co.uk/temp/ie8-opacity2.htm

    filter:Alpha(Opacity=40);
    -ms-filter: “Alpha(Opacity=40)”;

    Whether this is by design or not remains to be seen :)

  2. said on:

    Thanks for the correction, Paul.

    Indeed it does appear that this syntax is ‘by-design’, as Microsoft released a whitepaper a month or so after my post which details the change. Whitepaper

  3. Paul O'Brien said on:

    Thanks for the link James it all makes sense now :) Keep up the good work.

  4. Stomme poes said on:

    Test page still works with current IE8 without the ms prefix. I’m starting to think I don’t need it at all. I had just gone back to “fix” a bunch of pages but they work in IE8 without any extra -ms declarations.