https://bugzilla.wikimedia.org/show_bug.cgi?id=34459

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Krinkle <[email protected]> 2012-10-01 21:56:35 UTC ---
As far as I know font-face is allowed in @media, it is likely a browser bug.

Either way, I'll mark this as invalid because this is to be expected with the
given snippet. If a stylesheet is marked as 'media' =>'screen' it will be
wrapped in @media. If that is a problem (whatever the reason may be), don't do
that.

There is various alternatives:
* Put the font-face declaration in a separate css file and reference that file
(without 'media') in the 'styles' array, that way it'll be put before the rest
without @media
* Or if you want it all in one file (there is no reason for that as they are
combined together anway), you could manually wrap it in @media (only 2 lines of
code), remove 'media' in 'styles', and put the font-face before it.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to