We encourage skin authors to use syntax like:
'styles' => array(
'skinname/screen.css' => array( 'media' => 'screen' ),
),
Presumably because it encourages strict media typing (which is kinda nice). The problem is that @font-face constructions in screen.css are not extracted, resulting in them being wrapped in @media along with all the other rules.
Unfortunately, having @font-face inside @media doesn't work. AFAICT no warning is given and it took me several minutes to deduce the error, extract the tag into a separate file, and ask for the new file not to be @media wrapped.
Not sure what the best resolution here is but the status quo seems to be improvable on.
Version: 1.19
Severity: normal