As this is CSS3, I don’t know which, if any, browsers will support it at this time. I’ll have a play with it and see if I can make it work at all.
Alternatives:
If using a “transitional” DOCTYPE in your templates then using the target
attribute in your links will still work without (X)HTML validation error.
If using a “Strict” DOCTYPE then indicate the links to be opened in a new window with a class and then intercept them with a little DOM scripting and have the new window open that way.
Real question is: do you really need links to open in a new window at all?
After a quick test I can confirm that the CSS3 property target-new
isn’t supported by Mozilla Firefox 1.5.0.6, Safari 2 or Opera 9 on Mac.
More to the point, forcing the opening of a new window is unfriendly, innaccessible, and generally unnecessary. Just don’t do it 😉
My 2 cents…