The webkit syntax is an strict subset of the modern one, so this should
be doable, and is the simplest.
If my reading of the WebKit code is correct it should also be the way
WebKit deals with this (except they restrict -webkit-image-set() syntax
artificially).