JavaScript-based CssHackz were already fun to write, but I also wanted to prove it's not something hard to add to a modern browser. So I spent a few minutes adding it to Firefox. The code is for the 3.0.x branch and I did not test it on the trunk, but it works beautifully and everything is handled at parse time, not impacting later performance. Reminder, this adds knowledge of cases like:

@if-implemented { display: inline-block; }
/* if |display: inline-block| is implemented */
   p { background-color: green; color: yellow; }
@else-implemented;
/* if not implemented */
   p {background-color: red; }
@endif-implemented;

You can add multiple declarations in the @if-implemented block, and the condition is true if at least one of the declarations is locally valid; I know it could be better if for instance the condition is true if all the declarations are valid, but that's all I have for you in 10 minutes' time, sorry :-)

The patch is here.