[wp-trac] [WordPress Trac] #38566: Dashicon font is rejected by Firefox

WordPress Trac noreply at wordpress.org
Sun Oct 30 14:32:27 UTC 2016


#38566: Dashicon font is rejected by Firefox
--------------------------+-----------------------------
 Reporter:  Clorith       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Customize     |     Version:  4.5
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------------
Changes (by westonruter):

 * version:  trunk => 4.5
 * milestone:  Awaiting Review => Future Release


Comment:

 To clarify, it's the Firefox “sanitizer” not a customizer sanitizing
 function. This is not related to the new Custom CSS feature in 4.7 and I
 could see the Dashicons error back in 4.5 (I didn't look back further) so
 it's not a new issue. Firefox is complaining about this rule in
 `dashicons.css`:

 {{{#!css
 @font-face {
         font-family: dashicons;
         src: url(../fonts/dashicons.eot);
 }
 }}}

 Since this rule gets immediately overridden by the non-EOT rule, it's
 going to be thrown away anyway. It's not clear why Firefox is reporting an
 error here, but it's not impacting the rendering in any way.

 Aside: This is no longer needed in the customizer since IE8 is no longer
 supported and IE9 supports non-EOT formats. Granted this stylesheet is
 enqueued outside the customizer as well.

 Resolving this will require some sleuthing on Firefox idiosyncrasies.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38566#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list